Documentation ¶ Index ¶ type Config type Type Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Name string `yml:"name,omitempty" json:"name,omitempty"` Type Type `yml:"type,omitempty" json:"type,omitempty"` // 服务类型 Addrs []string `yml:"addrs,omitempty" json:"addrs,omitempty"` } Config 配置 type Type ¶ type Type string Type 服务类型 const ( TypeGin Type = "gin" ) 常量 Source Files ¶ View all Source files svc.go Directories ¶ Show internal Expand all Path Synopsis gin scfgw Click to show internal directories. Click to hide internal directories.