Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Name is the name of the compiled software. Name string // Version is the version of the compiled software. Version string )
go build -ldflags "-X main.Version=x.y.z"
Functions ¶
func ServiceRun ¶
func ServiceRun()
Types ¶
type ZapLogger ¶
type ZapLogger struct { Sync func() error // contains filtered or unexported fields }
func NewKratosLogger ¶
func NewKratosLogger(level zap.AtomicLevel, opts ...zap.Option) *ZapLogger
Click to show internal directories.
Click to hide internal directories.