Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConfig `mapstructure:"server" json:"server" yaml:"server"` LoggerConfig logger.LoggerConfig `mapstructure:"logger" json:"logger" yaml:"logger"` Persister PersisterConfig `mapstructure:"persister" json:"persister" yaml:"persister"` }
type HttpConfig ¶
type PersisterConfig ¶
type PersisterConfig struct { Storage string `mapstructure:"storage" json:"storage" yaml:"storage"` Mongo PersisterMongo `mapstructure:"mongo" json:"mongo" yaml:"mongo"` }
type PersisterMongo ¶
type PersisterMongo struct {
URL string `mapstructure:"url" json:"url" yaml:"url"`
}
type ServerConfig ¶
type ServerConfig struct {
Http HttpConfig `mapstructure:"http" json:"http" yaml:"http"`
}
Click to show internal directories.
Click to hide internal directories.