Back to godoc.org
github.com/bilibili/kratos

Directory github.com/bilibili/kratos

v0.3.3
Latest Go to latest
Published: Jan 20, 2020 | License: MIT | Module: github.com/bilibili/kratos
Path Synopsis
example/blademaster/middleware/auth
example/protobuf
pkg/cache
pkg/cache/memcache
pkg/cache/memcache/test Package proto is a generated protocol buffer package.
pkg/cache/redis Package redis is a client for the Redis database.
pkg/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.
pkg/conf/env Package env get env & app config, all the public field must after init() finished and flag.Parse().
pkg/conf/flagvar
pkg/conf/paladin
pkg/conf/paladin/apollo
pkg/conf/paladin/apollo/internal/mockserver
pkg/container/group Package group provides a sample lazy load container.
pkg/container/pool
pkg/container/queue/aqm
pkg/database/hbase
pkg/database/sql
pkg/database/tidb
pkg/ecode
pkg/ecode/types
pkg/log Package log 是kratos日志库.
pkg/log/internal/core Package core houses zap's shared internal buffer pool.
pkg/log/internal/filewriter
pkg/naming
pkg/naming/discovery
pkg/naming/etcd
pkg/naming/zookeeper
pkg/net/criticality
pkg/net/http/blademaster
pkg/net/http/blademaster/binding
pkg/net/http/blademaster/binding/example Package example is a generated protocol buffer package.
pkg/net/http/blademaster/render Package render is a generated protocol buffer package.
pkg/net/ip
pkg/net/metadata
pkg/net/netutil
pkg/net/netutil/breaker
pkg/net/rpc/warden
pkg/net/rpc/warden/balancer/p2c
pkg/net/rpc/warden/balancer/wrr
pkg/net/rpc/warden/internal/benchmark/bench/client
pkg/net/rpc/warden/internal/benchmark/bench/proto Package grpc is a generated protocol buffer package.
pkg/net/rpc/warden/internal/benchmark/bench/server
pkg/net/rpc/warden/internal/benchmark/helloworld/client
pkg/net/rpc/warden/internal/benchmark/helloworld/server
pkg/net/rpc/warden/internal/encoding/json
pkg/net/rpc/warden/internal/examples/client
pkg/net/rpc/warden/internal/examples/grpcDebug
pkg/net/rpc/warden/internal/examples/server
pkg/net/rpc/warden/internal/metadata
pkg/net/rpc/warden/internal/proto/testproto Package testproto is a generated protocol buffer package.
pkg/net/rpc/warden/internal/status
pkg/net/rpc/warden/ratelimiter
pkg/net/rpc/warden/resolver
pkg/net/rpc/warden/resolver/direct
pkg/net/rpc/warden/resolver/test
pkg/net/trace
pkg/net/trace/mocktrace
pkg/net/trace/proto
pkg/net/trace/zipkin
pkg/ratelimit
pkg/ratelimit/bbr
pkg/stat/metric
pkg/stat/sys/cpu
pkg/str
pkg/sync/errgroup Package errgroup provides synchronization, error propagation, and Context errgroup 包为一组子任务的 goroutine 提供了 goroutine 同步,错误取消功能.
pkg/sync/pipeline
pkg/sync/pipeline/fanout
pkg/testing/lich
pkg/time
tool/kratos
tool/kratos-gen-bts
tool/kratos-gen-mc
tool/kratos-gen-project You can use the "packr clean" command to clean up this, and any other packr generated files.
tool/kratos-gen-project/packrd You can use the "packr2 clean" command to clean up this, and any other packr generated files.
tool/kratos-protoc
tool/pkg
tool/protobuf/pkg/extensions/gogoproto
tool/protobuf/pkg/gen
tool/protobuf/pkg/generator
tool/protobuf/pkg/naming
tool/protobuf/pkg/project
tool/protobuf/pkg/tag
tool/protobuf/pkg/typemap
tool/protobuf/pkg/utils
tool/protobuf/protoc-gen-bm
tool/protobuf/protoc-gen-bm/generator
tool/protobuf/protoc-gen-bswagger
tool/protobuf/protoc-gen-ecode
tool/protobuf/protoc-gen-ecode/generator
tool/testcli
tool/testgen