Code improvements, move back from shared repo

This commit is contained in:
Jacob Gunther
2023-01-02 03:23:41 -06:00
parent 5104fa754f
commit 65676c1683
10 changed files with 697 additions and 70 deletions

View File

@@ -8,10 +8,11 @@ import (
)
type Config struct {
Host string `yaml:"host"`
Port uint16 `yaml:"port"`
Redis string `yaml:"redis"`
Cache struct {
Environment string `yaml:"environment"`
Host string `yaml:"host"`
Port uint16 `yaml:"port"`
Redis string `yaml:"redis"`
Cache struct {
Enable bool `yaml:"enable"`
JavaCacheDuration time.Duration `yaml:"java_cache_duration"`
BedrockCacheDuration time.Duration `yaml:"bedrock_cache_duration"`