Directories ¶
Path | Synopsis |
---|---|
Package app defines an application framework used to create application.
|
Package app defines an application framework used to create application. |
Package auth encrypt and compare password string.
|
Package auth encrypt and compare password string. |
cli
|
|
Package core implements some core functions used by apimachinery.
|
Package core implements some core functions used by apimachinery. |
Package db provide useful functions to create mysql instance.
|
Package db provide useful functions to create mysql instance. |
Package errors provides simple error handling primitives.
|
Package errors provides simple error handling primitives. |
Package fields implements a simple field system, parsing and matching selectors with sets of fields.
|
Package fields implements a simple field system, parsing and matching selectors with sets of fields. |
forked
|
|
Package labels implements a simple label system, parsing and matching selectors with sets of labels.
|
Package labels implements a simple label system, parsing and matching selectors with sets of labels. |
Package log is a log package used by TKE team.
|
Package log is a log package used by TKE team. |
distribution
Package distribution implements a logger which compatible to logrus/std log/prometheus.
|
Package distribution implements a logger which compatible to logrus/std log/prometheus. |
logrus
Package logrus adds a hook to the logrus logger hooks.
|
Package logrus adds a hook to the logrus logger hooks. |
meta
|
|
v1
Package v1 contains API types that are common to all versions.
|
Package v1 contains API types that are common to all versions. |
Package runtime defines some functions used to encode/decode object.
|
Package runtime defines some functions used to encode/decode object. |
Package scheme defines some useful function for group version.
|
Package scheme defines some useful function for group version. |
Package selection defiens some operators to use.
|
Package selection defiens some operators to use. |
Package shutdown Providing shutdown callbacks for graceful app shutdown Installation To install run: go get github.com/dairongpeng/leona/pkg/shutdown Example - posix signals Graceful shutdown will listen for posix SIGINT and SIGTERM signals.
|
Package shutdown Providing shutdown callbacks for graceful app shutdown Installation To install run: go get github.com/dairongpeng/leona/pkg/shutdown Example - posix signals Graceful shutdown will listen for posix SIGINT and SIGTERM signals. |
shutdownmanagers/posixsignal
Package posixsignal provides a listener for a posix signal.
|
Package posixsignal provides a listener for a posix signal. |
Package storage defines redis storage.
|
Package storage defines redis storage. |
Package time implements a new time with specified time format.
|
Package time implements a new time with specified time format. |
This program ensures source code files have copyright license headers.
|
This program ensures source code files have copyright license headers. |
util
|
|
homedir
Package homedir returns the home directory of any operating system.
|
Package homedir returns the home directory of any operating system. |
idutil
Package idutil is a tool set used to generate multiple id string.
|
Package idutil is a tool set used to generate multiple id string. |
sets
Package sets has auto-generated set types.
|
Package sets has auto-generated set types. |
wait
Package wait provides tools for polling or listening for changes to a condition.
|
Package wait provides tools for polling or listening for changes to a condition. |
Package validation defines apimachinery user-defined validations.
|
Package validation defines apimachinery user-defined validations. |
field
Package field implements field path functions when do validation.
|
Package field implements field path functions when do validation. |
Package validator defines leona custom binding validators used by gin.
|
Package validator defines leona custom binding validators used by gin. |
Package version supplies version information collected at build time to apimachinery components.
|
Package version supplies version information collected at build time to apimachinery components. |
verflag
Package verflag defines utility functions to handle command line flags related to version of LEONA.
|
Package verflag defines utility functions to handle command line flags related to version of LEONA. |
Click to show internal directories.
Click to hide internal directories.