Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kratos
module
|
|
|
protoc-gen-go-errors
module
|
|
|
protoc-gen-go-http
module
|
|
|
contrib
|
|
|
config/apollo
module
|
|
|
config/consul
module
|
|
|
config/etcd
module
|
|
|
config/kubernetes
module
|
|
|
config/nacos
module
|
|
|
config/polaris
module
|
|
|
encoding/msgpack
module
|
|
|
errortracker/sentry
module
|
|
|
log/aliyun
module
|
|
|
log/fluent
module
|
|
|
log/logrus
module
|
|
|
log/tencent
module
|
|
|
log/zap
module
|
|
|
log/zerolog
module
|
|
|
metrics/datadog
module
|
|
|
metrics/prometheus
module
|
|
|
middleware/validate
module
|
|
|
opensergo
module
|
|
|
polaris
module
|
|
|
registry/consul
module
|
|
|
registry/discovery
module
|
|
|
registry/etcd
module
|
|
|
registry/eureka
module
|
|
|
registry/kubernetes
module
|
|
|
registry/nacos
module
|
|
|
registry/polaris
module
|
|
|
registry/servicecomb
module
|
|
|
registry/zookeeper
module
|
|
|
transport/mcp
module
|
|
|
example
|
|
|
examples
module
|
|
|
middleware
|
|
|
logging
module
|
|
|
metadata
module
|
|
|
metrics
module
|
|
|
recovery
module
|
|
|
tracing
module
|
|
|
validate
module
|
|
|
pkg
|
|
|
cache/memcache/test
Package proto is a generated protocol buffer package.
|
Package proto is a generated protocol buffer package. |
|
cache/redis
Package redis is a client for the Redis database.
|
Package redis is a client for the Redis database. |
|
conf/dsn
Package dsn implements dsn parse with struct bind DSN 格式类似 URI, DSN 结构如下图 network:[//[username[:password]@]address[:port][,address[:port]]][/path][?query][#fragment] 与 URI 的主要区别在于 scheme 被替换为 network, host 被替换为 address 并且支持多个 address.
|
Package dsn implements dsn parse with struct bind DSN 格式类似 URI, DSN 结构如下图 network:[//[username[:password]@]address[:port][,address[:port]]][/path][?query][#fragment] 与 URI 的主要区别在于 scheme 被替换为 network, host 被替换为 address 并且支持多个 address. |
|
conf/env
Package env get env & app config, all the public field must after init() finished and flag.Parse().
|
Package env get env & app config, all the public field must after init() finished and flag.Parse(). |
|
container/group
Package group provides a sample lazy load container.
|
Package group provides a sample lazy load container. |
|
log
Package log 是kratos日志库.
|
Package log 是kratos日志库. |
|
log/internal/core
Package core houses zap's shared internal buffer pool.
|
Package core houses zap's shared internal buffer pool. |
|
net/http/blademaster/binding/example
Package example is a generated protocol buffer package.
|
Package example is a generated protocol buffer package. |
|
net/http/blademaster/render
Package render is a generated protocol buffer package.
|
Package render is a generated protocol buffer package. |
|
net/rpc/warden/internal/benchmark/bench/proto
Package grpc is a generated protocol buffer package.
|
Package grpc is a generated protocol buffer package. |
|
net/rpc/warden/internal/proto/testproto
Package testproto is a generated protocol buffer package.
|
Package testproto is a generated protocol buffer package. |
|
sync/errgroup
Package errgroup provides synchronization, error propagation, and Context errgroup 包为一组子任务的 goroutine 提供了 goroutine 同步,错误取消功能.
|
Package errgroup provides synchronization, error propagation, and Context errgroup 包为一组子任务的 goroutine 提供了 goroutine 同步,错误取消功能. |
|
registry
|
|
|
consul
module
|
|
|
etcd
module
|
|
|
nacos
module
|
|
|
zookeeper
module
|
|
|
tool
|
|
|
kratos
command
|
|
|
kratos-gen-bts
command
|
|
|
kratos-gen-mc
command
|
|
|
kratos-gen-project
command
You can use the "packr clean" command to clean up this, and any other packr generated files.
|
You can use the "packr clean" command to clean up this, and any other packr generated files. |
|
kratos-gen-project/packrd
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
|
You can use the "packr2 clean" command to clean up this, and any other packr generated files. |
|
kratos-protoc
command
|
|
|
protobuf/protoc-gen-bm
command
|
|
|
protobuf/protoc-gen-bswagger
command
|
|
|
protobuf/protoc-gen-ecode
command
|
|
|
testcli
command
|
|
|
testgen
command
|
Click to show internal directories.
Click to hide internal directories.
