Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = Resource{}
Functions ¶
This section is empty.
Types ¶
type GzconfigStruct ¶
type GzconfigStruct struct { // 是否为代码生成器生成 Generator bool Mode string Active string Name string Server struct { Host string Port string } Banner struct { Mode string // off on 隐藏、打印banner 默认on Text string // 自定义banner } Build struct { Goos string Goarch string } }
var GzConfig *GzconfigStruct
声明
func GetConfig ¶
func GetConfig() *GzconfigStruct
type Resource ¶
type Resource struct {
Gz GzconfigStruct
}
Click to show internal directories.
Click to hide internal directories.