├── .gitignore ├── LICENSE ├── README.md ├── client ├── istio_grpc │ ├── buffer.go │ ├── codec.go │ ├── error.go │ ├── grpc.go │ ├── grpc_pool.go │ ├── message.go │ ├── options.go │ ├── request.go │ └── stream.go └── istio_http │ ├── README.md │ ├── buffer.go │ ├── codec.go │ ├── http.go │ ├── message.go │ ├── request.go │ └── stream.go ├── go.mod ├── micro ├── auth │ ├── README.md │ ├── auth.go │ └── conf │ │ ├── auth_key │ │ ├── auth_key.pub │ │ ├── casbin_model.conf │ │ └── casbin_policy.csv ├── chain │ ├── chain.go │ ├── chain_test.go │ └── options.go └── cors │ ├── cors.go │ └── options.go ├── server ├── istio_grpc │ ├── buffer.go │ ├── codec.go │ ├── debug.go │ ├── error.go │ ├── extractor.go │ ├── grpc.go │ ├── handler.go │ ├── options.go │ ├── request.go │ ├── server.go │ ├── stream.go │ ├── subscriber.go │ └── util.go └── istio_http │ ├── README.md │ ├── codec.go │ ├── extractor.go │ ├── extractor_test.go │ ├── handler.go │ ├── http.go │ ├── options.go │ ├── request.go │ ├── server.go │ ├── subscriber.go │ ├── util.go │ └── util_test.go ├── web ├── README.md ├── example │ └── main.go ├── options.go ├── service.go ├── service_test.go └── web.go └── wrapper └── select └── chain ├── chain.go ├── chain_test.go └── options.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/README.md -------------------------------------------------------------------------------- /client/istio_grpc/buffer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/buffer.go -------------------------------------------------------------------------------- /client/istio_grpc/codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/codec.go -------------------------------------------------------------------------------- /client/istio_grpc/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/error.go -------------------------------------------------------------------------------- /client/istio_grpc/grpc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/grpc.go -------------------------------------------------------------------------------- /client/istio_grpc/grpc_pool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/grpc_pool.go -------------------------------------------------------------------------------- /client/istio_grpc/message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/message.go -------------------------------------------------------------------------------- /client/istio_grpc/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/options.go -------------------------------------------------------------------------------- /client/istio_grpc/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/request.go -------------------------------------------------------------------------------- /client/istio_grpc/stream.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_grpc/stream.go -------------------------------------------------------------------------------- /client/istio_http/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_http/README.md -------------------------------------------------------------------------------- /client/istio_http/buffer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_http/buffer.go -------------------------------------------------------------------------------- /client/istio_http/codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_http/codec.go -------------------------------------------------------------------------------- /client/istio_http/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_http/http.go -------------------------------------------------------------------------------- /client/istio_http/message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_http/message.go -------------------------------------------------------------------------------- /client/istio_http/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_http/request.go -------------------------------------------------------------------------------- /client/istio_http/stream.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/client/istio_http/stream.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/go.mod -------------------------------------------------------------------------------- /micro/auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/auth/README.md -------------------------------------------------------------------------------- /micro/auth/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/auth/auth.go -------------------------------------------------------------------------------- /micro/auth/conf/auth_key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/auth/conf/auth_key -------------------------------------------------------------------------------- /micro/auth/conf/auth_key.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/auth/conf/auth_key.pub -------------------------------------------------------------------------------- /micro/auth/conf/casbin_model.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/auth/conf/casbin_model.conf -------------------------------------------------------------------------------- /micro/auth/conf/casbin_policy.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/auth/conf/casbin_policy.csv -------------------------------------------------------------------------------- /micro/chain/chain.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/chain/chain.go -------------------------------------------------------------------------------- /micro/chain/chain_test.go: -------------------------------------------------------------------------------- 1 | package chain 2 | -------------------------------------------------------------------------------- /micro/chain/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/chain/options.go -------------------------------------------------------------------------------- /micro/cors/cors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/cors/cors.go -------------------------------------------------------------------------------- /micro/cors/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/micro/cors/options.go -------------------------------------------------------------------------------- /server/istio_grpc/buffer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/buffer.go -------------------------------------------------------------------------------- /server/istio_grpc/codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/codec.go -------------------------------------------------------------------------------- /server/istio_grpc/debug.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/debug.go -------------------------------------------------------------------------------- /server/istio_grpc/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/error.go -------------------------------------------------------------------------------- /server/istio_grpc/extractor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/extractor.go -------------------------------------------------------------------------------- /server/istio_grpc/grpc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/grpc.go -------------------------------------------------------------------------------- /server/istio_grpc/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/handler.go -------------------------------------------------------------------------------- /server/istio_grpc/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/options.go -------------------------------------------------------------------------------- /server/istio_grpc/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/request.go -------------------------------------------------------------------------------- /server/istio_grpc/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/server.go -------------------------------------------------------------------------------- /server/istio_grpc/stream.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/stream.go -------------------------------------------------------------------------------- /server/istio_grpc/subscriber.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/subscriber.go -------------------------------------------------------------------------------- /server/istio_grpc/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_grpc/util.go -------------------------------------------------------------------------------- /server/istio_http/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/README.md -------------------------------------------------------------------------------- /server/istio_http/codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/codec.go -------------------------------------------------------------------------------- /server/istio_http/extractor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/extractor.go -------------------------------------------------------------------------------- /server/istio_http/extractor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/extractor_test.go -------------------------------------------------------------------------------- /server/istio_http/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/handler.go -------------------------------------------------------------------------------- /server/istio_http/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/http.go -------------------------------------------------------------------------------- /server/istio_http/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/options.go -------------------------------------------------------------------------------- /server/istio_http/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/request.go -------------------------------------------------------------------------------- /server/istio_http/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/server.go -------------------------------------------------------------------------------- /server/istio_http/subscriber.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/subscriber.go -------------------------------------------------------------------------------- /server/istio_http/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/util.go -------------------------------------------------------------------------------- /server/istio_http/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/server/istio_http/util_test.go -------------------------------------------------------------------------------- /web/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/web/README.md -------------------------------------------------------------------------------- /web/example/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/web/example/main.go -------------------------------------------------------------------------------- /web/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/web/options.go -------------------------------------------------------------------------------- /web/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/web/service.go -------------------------------------------------------------------------------- /web/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/web/service_test.go -------------------------------------------------------------------------------- /web/web.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/web/web.go -------------------------------------------------------------------------------- /wrapper/select/chain/chain.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/wrapper/select/chain/chain.go -------------------------------------------------------------------------------- /wrapper/select/chain/chain_test.go: -------------------------------------------------------------------------------- 1 | package chain 2 | -------------------------------------------------------------------------------- /wrapper/select/chain/options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hb-go/micro-plugins/HEAD/wrapper/select/chain/options.go --------------------------------------------------------------------------------