Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Mongo service.Mongo `yaml:"Mongo"` // mongoDB配置 Server ServerConfig `yaml:"Server"` // iris配置 }
Config 配置文件
type ServerConfig ¶
type ServerConfig struct { Host string `yaml:"Host"` // 服务器监听地址 Port string `yaml:"Port"` // 服务器监听端口 }
ServerConfig 服务器配置
Click to show internal directories.
Click to hide internal directories.