src/

directory
v0.0.0-...-26b160e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: Apache-2.0

Directories

Path Synopsis
Package auth is an interface for authentication and authorization.
Package auth is an interface for authentication and authorization.
proto
Package go_micro_os_auth is a generated protocol buffer package.
Package go_micro_os_auth is a generated protocol buffer package.
common
broker
@Time : 2019/6/5 16:28 @Author : kenny zhu @File : broker @Software: GoLand @Others: @Time : 2019/6/5 16:25 @Author : kenny zhu @File : options @Software: GoLand @Others:
@Time : 2019/6/5 16:28 @Author : kenny zhu @File : broker @Software: GoLand @Others: @Time : 2019/6/5 16:25 @Author : kenny zhu @File : options @Software: GoLand @Others:
log/log
@Time : 2018/8/16 12:46 @Author : kenny zhu @File : interface.go @Software: GoLand @Others: Default operations.
@Time : 2018/8/16 12:46 @Author : kenny zhu @File : interface.go @Software: GoLand @Others: Default operations.
log/log/proto
Package go_micro_os_log is a generated protocol buffer package.
Package go_micro_os_log is a generated protocol buffer package.
metrics
@Time : 2019/5/10 10:16 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/5/9 17:56 @Author : kenny zhu @File : prometheus.go @Software: GoLand @Others: gin prometheus process @Time : 2019/5/10 10:25 @Author : kenny zhu @File : prometheus_rabbitmq.go @Software: GoLand @Others: 参考 https://github.com/kbudde/rabbitmq_exporter 代码实现对整个rabbitmq监控。
@Time : 2019/5/10 10:16 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/5/9 17:56 @Author : kenny zhu @File : prometheus.go @Software: GoLand @Others: gin prometheus process @Time : 2019/5/10 10:25 @Author : kenny zhu @File : prometheus_rabbitmq.go @Software: GoLand @Others: 参考 https://github.com/kbudde/rabbitmq_exporter 代码实现对整个rabbitmq监控。
monitor
@Time : 2019/4/23 15:48 @Author : kenny zhu @File : common.go @Software: GoLand @Others: @Time : 2019/4/23 15:27 @Author : kenny zhu @File : monitor.go @Software: GoLand @Others: @Time : 2019/4/23 15:37 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/4/23 15:42 @Author : kenny zhu @File : os.go @Software: GoLand @Others:
@Time : 2019/4/23 15:48 @Author : kenny zhu @File : common.go @Software: GoLand @Others: @Time : 2019/4/23 15:27 @Author : kenny zhu @File : monitor.go @Software: GoLand @Others: @Time : 2019/4/23 15:37 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/4/23 15:42 @Author : kenny zhu @File : os.go @Software: GoLand @Others:
rabbitmq
@Time : 2019/4/28 11:06 @Author : kenny zhu @File : auth.go @Software: GoLand @Others: @Time : 2019/4/28 10:50 @Author : kenny zhu @File : channel.go @Software: GoLand @Others: @Time : 2019/4/28 10:52 @Author : kenny zhu @File : connection.go @Software: GoLand @Others: @Time : 2019/4/28 10:44 @Author : kenny zhu @File : context.go @Software: GoLand @Others: @Time : 2019/4/28 10:43 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/4/28 10:39 @Author : kenny zhu @File : rabbitmq.go @Software: GoLand @Others:
@Time : 2019/4/28 11:06 @Author : kenny zhu @File : auth.go @Software: GoLand @Others: @Time : 2019/4/28 10:50 @Author : kenny zhu @File : channel.go @Software: GoLand @Others: @Time : 2019/4/28 10:52 @Author : kenny zhu @File : connection.go @Software: GoLand @Others: @Time : 2019/4/28 10:44 @Author : kenny zhu @File : context.go @Software: GoLand @Others: @Time : 2019/4/28 10:43 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/4/28 10:39 @Author : kenny zhu @File : rabbitmq.go @Software: GoLand @Others:
rcache
@Time : 2019/6/21 10:22 @Author : kenny zhu @File : options @Software: GoLand @Others: @Time : 2019/6/21 10:22 @Author : kenny zhu @File : rcache @Software: GoLand @Others:
@Time : 2019/6/21 10:22 @Author : kenny zhu @File : options @Software: GoLand @Others: @Time : 2019/6/21 10:22 @Author : kenny zhu @File : rcache @Software: GoLand @Others:
registry
@Time : 2019/6/4 16:18 @Author : kenny zhu @File : interface @Software: GoLand @Others: Package etcdv3 provides an etcd version 3 registry @Time : 2019/6/4 16:41 @Author : kenny zhu @File : interface @Software: GoLand @Others: @Time : 2019/6/4 16:21 @Author : kenny zhu @File : options @Software: GoLand @Others: @Time : 2019/6/4 16:22 @Author : kenny zhu @File : registry @Software: GoLand @Others: @Time : 2019/6/4 16:43 @Author : kenny zhu @File : watcher @Software: GoLand @Others:
@Time : 2019/6/4 16:18 @Author : kenny zhu @File : interface @Software: GoLand @Others: Package etcdv3 provides an etcd version 3 registry @Time : 2019/6/4 16:41 @Author : kenny zhu @File : interface @Software: GoLand @Others: @Time : 2019/6/4 16:21 @Author : kenny zhu @File : options @Software: GoLand @Others: @Time : 2019/6/4 16:22 @Author : kenny zhu @File : registry @Software: GoLand @Others: @Time : 2019/6/4 16:43 @Author : kenny zhu @File : watcher @Software: GoLand @Others:
selector
@Time : 2019/6/19 14:17 @Author : kenny zhu @File : default @Software: GoLand @Others: @Time : 2019/6/19 14:22 @Author : kenny zhu @File : filter @Software: GoLand @Others: @Time : 2019/6/19 14:13 @Author : kenny zhu @File : options @Software: GoLand @Others: @Time : 2019/6/19 14:12 @Author : kenny zhu @File : selector @Software: GoLand @Others: @Time : 2019/6/19 14:15 @Author : kenny zhu @File : strategy @Software: GoLand @Others:
@Time : 2019/6/19 14:17 @Author : kenny zhu @File : default @Software: GoLand @Others: @Time : 2019/6/19 14:22 @Author : kenny zhu @File : filter @Software: GoLand @Others: @Time : 2019/6/19 14:13 @Author : kenny zhu @File : options @Software: GoLand @Others: @Time : 2019/6/19 14:12 @Author : kenny zhu @File : selector @Software: GoLand @Others: @Time : 2019/6/19 14:15 @Author : kenny zhu @File : strategy @Software: GoLand @Others:
service-wrapper
@Time : 2019/5/13 10:37 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/5/13 10:46 @Author : kenny zhu @File : service.go @Software: GoLand @Others: @Time : 2019/5/13 10:36 @Author : kenny zhu @File : wrapper.go @Software: GoLand @Others:
@Time : 2019/5/13 10:37 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/5/13 10:46 @Author : kenny zhu @File : service.go @Software: GoLand @Others: @Time : 2019/5/13 10:36 @Author : kenny zhu @File : wrapper.go @Software: GoLand @Others:
testModules
@Time : 2019/4/28 14:37 @Author : kenny zhu @File : test_broker.go @Software: GoLand @Others: @Time : 2019/6/10 12:00 @Author : kenny zhu @File : test_ping @Software: GoLand @Others: @Time : 2019/6/19 10:46 @Author : kenny zhu @File : test_readonly @Software: GoLand @Others: todo: 数据进一步控制: 身份验证:用 runtime.Caller 验证调用堆栈,仅允许指定函数调用。
@Time : 2019/4/28 14:37 @Author : kenny zhu @File : test_broker.go @Software: GoLand @Others: @Time : 2019/6/10 12:00 @Author : kenny zhu @File : test_ping @Software: GoLand @Others: @Time : 2019/6/19 10:46 @Author : kenny zhu @File : test_readonly @Software: GoLand @Others: todo: 数据进一步控制: 身份验证:用 runtime.Caller 验证调用堆栈,仅允许指定函数调用。
util/addr
@Time : 2019/5/13 11:00 @Author : kenny zhu @File : addr.go @Software: GoLand @Others:
@Time : 2019/5/13 11:00 @Author : kenny zhu @File : addr.go @Software: GoLand @Others:
util/debug
@Time : 2019/5/22 11:57 @Author : kenny zhu @File : debug @Software: GoLand @Others:
@Time : 2019/5/22 11:57 @Author : kenny zhu @File : debug @Software: GoLand @Others:
util/net
@Time : 2019/6/10 11:57 @Author : kenny zhu @File : ping @Software: GoLand @Others:
@Time : 2019/6/10 11:57 @Author : kenny zhu @File : ping @Software: GoLand @Others:
web
@Time : 2019/4/19 16:24 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/4/19 16:28 @Author : kenny zhu @File : roundShardTripper.go @Software: GoLand @Others: @Time : 2019/4/19 16:23 @Author : kenny zhu @File : web.go @Software: GoLand @Others:
@Time : 2019/4/19 16:24 @Author : kenny zhu @File : options.go @Software: GoLand @Others: @Time : 2019/4/19 16:28 @Author : kenny zhu @File : roundShardTripper.go @Software: GoLand @Others: @Time : 2019/4/19 16:23 @Author : kenny zhu @File : web.go @Software: GoLand @Others:
Package config is an interface for dynamic configuration.
Package config is an interface for dynamic configuration.
proto
Package go_micro_os_config is a generated protocol buffer package.
Package go_micro_os_config is a generated protocol buffer package.
api
api/conf
@Time : 2018/8/21 11:32 @Author : kenny zhu @File : conf.go @Software: GoLand @Others: @Time : 2018/8/21 11:28 @Author : kenny zhu @File : json.go @Software: GoLand @Others:
@Time : 2018/8/21 11:32 @Author : kenny zhu @File : conf.go @Software: GoLand @Others: @Time : 2018/8/21 11:28 @Author : kenny zhu @File : json.go @Software: GoLand @Others:
api/gin/modules
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
api/iris
@Time : 2018/8/21 10:55 @Author : kenny zhu @File : iris.go @Software: GoLand @Others:
@Time : 2018/8/21 10:55 @Author : kenny zhu @File : iris.go @Software: GoLand @Others:
api/iris/modules
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
api/modules
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
handler
Every handler runs in a goroutine.
Every handler runs in a goroutine.
models
@Time : 2018/8/15 19:05 @Author : kenny zhu @File : base.go @Software: GoLand @Others: model base operation @refer:github.com/go-tango/wego/blob/master/models/base.go.
@Time : 2018/8/15 19:05 @Author : kenny zhu @File : base.go @Software: GoLand @Others: model base operation @refer:github.com/go-tango/wego/blob/master/models/base.go.
models/maps
@Time : 2018/9/26 16:21 @Author : kenny zhu @File : sample_impl.go @Software: GoLand @Others: 此文件需要用proteus工具生成对应的micro server文件...
@Time : 2018/9/26 16:21 @Author : kenny zhu @File : sample_impl.go @Software: GoLand @Others: 此文件需要用proteus工具生成对应的micro server文件...
proto/api
Package go_micro_api is a generated protocol buffer package.
Package go_micro_api is a generated protocol buffer package.
proto/example
Package go_micro_srv_dbservice is a generated protocol buffer package.
Package go_micro_srv_dbservice is a generated protocol buffer package.
proto/usercenter
Package models is a generated protocol buffer package.
Package models is a generated protocol buffer package.
redis
@Time : 2018/9/4 12:41 @Author : kenny zhu @File : base.go @Software: GoLand @Others: https://godoc.org/github.com/gomodule/redigo/redis#pkg-examples
@Time : 2018/9/4 12:41 @Author : kenny zhu @File : base.go @Software: GoLand @Others: https://godoc.org/github.com/gomodule/redigo/redis#pkg-examples
router
@Time : 2018/8/24 14:22 @Author : kenny zhu @File : selector_byid.go @Software: GoLand @Others: Implements multi-database for route services...
@Time : 2018/8/24 14:22 @Author : kenny zhu @File : selector_byid.go @Software: GoLand @Others: Implements multi-database for route services...
tools/example
Package example is a generated protocol buffer package.
Package example is a generated protocol buffer package.
tools/example/cli
@Time : 2018/10/10 16:41 @Author : kenny zhu @File : main.go @Software: GoLand @Others:
@Time : 2018/10/10 16:41 @Author : kenny zhu @File : main.go @Software: GoLand @Others:
@Time : 2018/8/27 20:16 @Author : kenny zhu @File : common.go @Software: GoLand @Others: Package discovery is an interface for scalable service discovery.
@Time : 2018/8/27 20:16 @Author : kenny zhu @File : common.go @Software: GoLand @Others: Package discovery is an interface for scalable service discovery.
Package event is an interface for event sourcing.
Package event is an interface for event sourcing.
proto
Package go_micro_os_event is a generated protocol buffer package.
Package go_micro_os_event is a generated protocol buffer package.
examples
db
kv
log
gateservice
conf
@Time : 2018/8/21 11:32 @Author : kenny zhu @File : conf.go @Software: GoLand @Others: @Time : 2018/8/21 11:28 @Author : kenny zhu @File : json.go @Software: GoLand @Others:
@Time : 2018/8/21 11:32 @Author : kenny zhu @File : conf.go @Software: GoLand @Others: @Time : 2018/8/21 11:28 @Author : kenny zhu @File : json.go @Software: GoLand @Others:
iris
@Time : 2018/8/21 10:55 @Author : kenny zhu @File : iris.go @Software: GoLand @Others:
@Time : 2018/8/21 10:55 @Author : kenny zhu @File : iris.go @Software: GoLand @Others:
iris/modules
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
@Time : 2018/8/21 11:19 @Author : kenny zhu @File : examples.go @Software: GoLand @Others: @Time : 2018/8/21 11:04 @Author : kenny zhu @File : init.go @Software: GoLand @Others: @Time : 2018/8/21 11:05 @Author : kenny zhu @File : modules.go @Software: GoLand @Others:
kv
Package kv is an interface for key-value storage.
Package kv is an interface for key-value storage.
proto
Package go_micro_os_kv is a generated protocol buffer package.
Package go_micro_os_kv is a generated protocol buffer package.
log
@Time : 2018/8/16 12:46 @Author : kenny zhu @File : interface.go @Software: GoLand @Others: Package log is an interface for structured logging.
@Time : 2018/8/16 12:46 @Author : kenny zhu @File : interface.go @Software: GoLand @Others: Package log is an interface for structured logging.
proto
Package go_micro_os_log is a generated protocol buffer package.
Package go_micro_os_log is a generated protocol buffer package.
Package metrics is an interface for instrumentation.
Package metrics is an interface for instrumentation.
Package monitor is an interface for monitoring.
Package monitor is an interface for monitoring.
proto
Package go_micro_os_monitor is a generated protocol buffer package.
Package go_micro_os_monitor is a generated protocol buffer package.
web
Package web is a web dashboard
Package web is a web dashboard
common route for subscribe and publish Package router is an interface for global service routing.
common route for subscribe and publish Package router is an interface for global service routing.
proto
Package go_micro_os_router is a generated protocol buffer package.
Package go_micro_os_router is a generated protocol buffer package.
Package sync is an interface for synchronization.
Package sync is an interface for synchronization.
testclients
dbservice/api
@Time : 2018/8/28 15:23 @Author : kenny zhu @File : iris_api.go @Software: GoLand @Others:
@Time : 2018/8/28 15:23 @Author : kenny zhu @File : iris_api.go @Software: GoLand @Others:
tools
proteus
Proteus /proʊtiəs/ is a tool to generate protocol buffers version 3 compatible `.proto` files from your Go structs, types and functions.
Proteus /proʊtiəs/ is a tool to generate protocol buffers version 3 compatible `.proto` files from your Go structs, types and functions.
proteus/example
Package example is a generated protocol buffer package.
Package example is a generated protocol buffer package.
proteus/example/categories
Package categories is a generated protocol buffer package.
Package categories is a generated protocol buffer package.
proteus/rpc
@Time : 2018/10/12 10:58 @Author : kenny zhu @File : micro_rpc.go @Software: GoLand @Others:
@Time : 2018/10/12 10:58 @Author : kenny zhu @File : micro_rpc.go @Software: GoLand @Others:
Package trace is an interface for tracing.
Package trace is an interface for tracing.
proto
Package go_micro_os_trace is a generated protocol buffer package.
Package go_micro_os_trace is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL