Directories ¶
Path | Synopsis |
---|---|
example
|
|
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/gin/binding/example
Package example is a generated protocol buffer package.
|
Package example is a generated protocol buffer package. |
net/http/gin/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 同步,错误取消功能. |
tool
|
|
Click to show internal directories.
Click to hide internal directories.