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
|
|
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
|
|
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-gen-project
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. |
Click to show internal directories.
Click to hide internal directories.