Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheConnection ¶
type Config ¶
type Config struct { Server ServerConfig `yaml:"Server"` DB DBConfig `yaml:"DB"` }
using driver yaml
type ConfigManager ¶
type ConfigManager interface {
Read() *MainConfig
}
func New ¶
func New() ConfigManager
type MainConfig ¶
type MainConfig struct { DBConnectionString DatabaseConnectionString `json:"db_connection"` RestPort string `json:"rest_port"` CacheConnection CacheConnection `json:"cache_connection"` AppConfig AppConfig `json:"app_config"` }
Click to show internal directories.
Click to hide internal directories.