package
Version:
v0.0.0-...-8293e18
Opens a new window with list of versions in this module.
Published: May 18, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Conf struct {
Server *Server `yaml:"server"`
Data *Data `yaml:"data"`
}
type Data struct {
Mongo *Mongo `yaml:"mongo"`
}
type Http struct {
Addr string `yaml:"addr"`
}
type Mongo struct {
Uri string `yaml:"uri"`
AuthSource string `yaml:"auth_source"`
Username string `yaml:"username"`
Password string `yaml:"password"`
}
type Server struct {
Http *Http `yaml:"http"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.