Back to godoc.org

Directory github.com/go-kratos/kratos/pkg

v0.5.0
Latest Go to latest

The latest major version is .

Published: Apr 30, 2020 | License: MIT | Module: github.com/go-kratos/kratos
Path Synopsis
cache
cache/memcache
cache/memcache/test Package proto is a generated protocol buffer package.
cache/redis 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.
conf/env Package env get env & app config, all the public field must after init() finished and flag.Parse().
conf/flagvar
conf/paladin
conf/paladin/apollo
conf/paladin/apollo/internal/mockserver
container/group Package group provides a sample lazy load container.
container/pool
container/queue/aqm
database/hbase
database/sql
database/tidb
ecode
ecode/types
log Package log 是kratos日志库.
log/internal/core Package core houses zap's shared internal buffer pool.
log/internal/filewriter
naming
naming/discovery
naming/etcd
naming/zookeeper
net/criticality
net/http/blademaster
net/http/blademaster/binding
net/http/blademaster/binding/example Package example is a generated protocol buffer package.
net/http/blademaster/render Package render is a generated protocol buffer package.
net/ip
net/metadata
net/netutil
net/netutil/breaker
net/rpc/warden
net/rpc/warden/balancer/p2c
net/rpc/warden/balancer/wrr
net/rpc/warden/internal/benchmark/bench/client
net/rpc/warden/internal/benchmark/bench/proto Package grpc is a generated protocol buffer package.
net/rpc/warden/internal/benchmark/bench/server
net/rpc/warden/internal/benchmark/helloworld/client
net/rpc/warden/internal/benchmark/helloworld/server
net/rpc/warden/internal/encoding/json
net/rpc/warden/internal/examples/client
net/rpc/warden/internal/examples/grpcDebug
net/rpc/warden/internal/examples/server
net/rpc/warden/internal/metadata
net/rpc/warden/internal/proto/testproto Package testproto is a generated protocol buffer package.
net/rpc/warden/internal/status
net/rpc/warden/ratelimiter
net/rpc/warden/resolver
net/rpc/warden/resolver/direct
net/rpc/warden/resolver/test
net/trace
net/trace/mocktrace
net/trace/proto
net/trace/zipkin
ratelimit
ratelimit/bbr
stat/metric
stat/sys/cpu
str
sync/errgroup Package errgroup provides synchronization, error propagation, and Context errgroup 包为一组子任务的 goroutine 提供了 goroutine 同步,错误取消功能.
sync/pipeline
sync/pipeline/fanout
testing/lich
time