entrypoint

package
v1.0.56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 21 Imported by: 0

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

func (*ZapLogger) Log

func (l *ZapLogger) Log(level log.Level, keyvals ...interface{}) error

Log Implementation of logger interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL