Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Domain = "lug" CatchSigpipe = true Block = true Trace = false Addr = ":8080" Project = "lug" Level = "debug" Mode = "dev" Signal os.Signal = syscall.Signal(0) )
默认的全局配置
View Source
var ( RunMode_name = map[int32]string{ 0: "dev", 1: "test", 2: "stag", 3: "prod", 4: "release", 5: "unknown", } RunMode_value = map[string]int32{ "dev": 0, "test": 1, "stag": 2, "prod": 3, "release": 4, "unknown": 5, } )
Enum value maps for RunMode.
View Source
var File_runmode_proto protoreflect.FileDescriptor
Functions ¶
func DefaultFlags ¶
Types ¶
type RunMode ¶
type RunMode int32
func (RunMode) Descriptor ¶
func (RunMode) Descriptor() protoreflect.EnumDescriptor
func (RunMode) EnumDescriptor
deprecated
func (RunMode) Number ¶
func (x RunMode) Number() protoreflect.EnumNumber
func (RunMode) Type ¶
func (RunMode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.