Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultGRPCFlagsPrefix ¶
func SetDefaultGRPCFlagsPrefix(val string)
func SetDefaultGRPCPort ¶
func SetDefaultGRPCPort(val string)
func SetDefaultGRPCRunnable ¶
func SetDefaultGRPCRunnable(val bool)
Types ¶
type GRPC ¶
type GRPC struct { Name string `json:"name" yaml:"name"` Runnable bool `json:"runnable" yaml:"runnable"` Port string `json:"port" yaml:"port"` // CustomBindFlagsFunc defines custom bind flags behaviour for structure, if CustomBindFlagsFunc is nil, default bind flags behaviour will be used CustomBindFlagsFunc func(fs *bootflag.FlagSet) `json:"-" yaml:"-"` // CustomParseFunc defines custom parse behaviour for structure, if CustomParseFunc is nil, default parse behaviour will be used CustomParseFunc func() (err error) `json:"-" yaml:"-"` }
func (*GRPC) GetIntPort ¶
Click to show internal directories.
Click to hide internal directories.