Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gen-gorm-model
command
|
|
|
mb-apiserver
command
|
|
|
mb-apiserver/app/options
nolint: err113
|
nolint: err113 |
|
examples
|
|
|
client/health
command
|
|
|
client/interceptor
command
|
|
|
client/post
command
|
|
|
client/reqprocess
command
|
|
|
client/user
command
|
|
|
errorsx
command
|
|
|
gin
command
|
|
|
gin/middleware
command
|
|
|
logpattern
command
|
|
|
performance/nethttppprof
command
|
|
|
performance/runtimepprof
command
|
|
|
validation/gin
command
|
|
|
validation/goplayground
command
|
|
|
validation/manual
command
|
|
|
validation/middleware
command
|
|
|
internal
|
|
|
apiserver/biz
Package biz is the place where you can implements more complex business logic.
|
Package biz is the place where you can implements more complex business logic. |
|
apiserver/store
nolint: dupl
|
nolint: dupl |
|
pkg/contextx
Package contextx 提供了对上下文(context)的扩展功能,允许在 context 中存储和提取用户相关的信息,如用户ID、用户名和访问令牌。
|
Package contextx 提供了对上下文(context)的扩展功能,允许在 context 中存储和提取用户相关的信息,如用户ID、用户名和访问令牌。 |
|
pkg/known
Package known 定义了一些供整个项目使用的常量.
|
Package known 定义了一些供整个项目使用的常量. |
|
pkg
|
|
|
api/apiserver/v1
Package v1 is a reverse proxy.
|
Package v1 is a reverse proxy. |
|
cli/genericclioptions
Package genericclioptions contains flags which can be added to you command, bound, completed, and produce useful helper functions.
|
Package genericclioptions contains flags which can be added to you command, bound, completed, and produce useful helper functions. |
|
db
Package db provide useful functions to create mysql instance.
|
Package db provide useful functions to create mysql instance. |
|
distlock
Package distlock provides an interface for distributed locking mechanisms.
|
Package distlock provides an interface for distributed locking mechanisms. |
|
distlock/examples/mysql
command
|
|
|
distlock/examples/noop
command
|
|
|
distlock/examples/postgresql
command
|
|
|
distlock/examples/redis
command
|
|
|
log
Package log is a log package used by onex project.
|
Package log is a log package used by onex project. |
|
options
Package options is the public flags and options used by a generic api server.
|
Package options is the public flags and options used by a generic api server. |
|
store/where
Package where is used to handle GORM's Where query conditions.
|
Package where is used to handle GORM's Where query conditions. |
|
util/lint
Package lint tests Go code for policy and style violations, as well as detecting suspicious constructs that are typically bugs.
|
Package lint tests Go code for policy and style violations, as well as detecting suspicious constructs that are typically bugs. |
|
util/lint/hash
Package hash defines an Analyzer that detects correct use of hash.Hash.
|
Package hash defines an Analyzer that detects correct use of hash.Hash. |
|
util/lint/pass
Package pass useful functionality for implementing passes.
|
Package pass useful functionality for implementing passes. |
|
util/version
Package version provides utilities for version number comparisons
|
Package version provides utilities for version number comparisons |
|
third_party
|
|
Click to show internal directories.
Click to hide internal directories.