Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountServiceConfig ¶
type AccountServiceConfig struct {
URL string `yaml:"url"`
}
type Config ¶
type Config struct { Server ServerConfig `yaml:"server"` AccountService AccountServiceConfig `yaml:"AccountService"` JWT JWTConfig `yaml:"jwt"` }
Config of auth service
func ReadConfig ¶
ReadConfig read and decode config file
type ServerConfig ¶
type ServerConfig struct {
Port int `yaml:"port"`
}
Click to show internal directories.
Click to hide internal directories.