Documentation ¶
Index ¶
- func MakeThriftConcatEndpoint(client *addthrift.AddServiceClient) endpoint.Endpoint
- func MakeThriftSumEndpoint(client *addthrift.AddServiceClient) endpoint.Endpoint
- func NewGRPCClient(conn *grpc.ClientConn, otTracer stdopentracing.Tracer, ...) addservice.Service
- func NewGRPCServer(endpoints addendpoint.Set, otTracer stdopentracing.Tracer, ...) pb.AddServer
- func NewHTTPClient(instance string, otTracer stdopentracing.Tracer, ...) (addservice.Service, error)
- func NewHTTPHandler(endpoints addendpoint.Set, otTracer stdopentracing.Tracer, ...) http.Handler
- func NewJSONRPCClient(instance string, tracer stdopentracing.Tracer, logger log.Logger) (addservice.Service, error)
- func NewJSONRPCHandler(endpoints addendpoint.Set, logger log.Logger) *jsonrpc.Server
- func NewThriftClient(client *addthrift.AddServiceClient) addservice.Service
- func NewThriftServer(endpoints addendpoint.Set) addthrift.AddService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeThriftConcatEndpoint ¶
func MakeThriftConcatEndpoint(client *addthrift.AddServiceClient) endpoint.Endpoint
func MakeThriftSumEndpoint ¶
func MakeThriftSumEndpoint(client *addthrift.AddServiceClient) endpoint.Endpoint
func NewGRPCClient ¶
func NewGRPCClient(conn *grpc.ClientConn, otTracer stdopentracing.Tracer, zipkinTracer *stdzipkin.Tracer, logger log.Logger) addservice.Service
func NewGRPCServer ¶
func NewGRPCServer(endpoints addendpoint.Set, otTracer stdopentracing.Tracer, zipkinTracer *stdzipkin.Tracer, logger log.Logger) pb.AddServer
func NewHTTPClient ¶
func NewHTTPClient(instance string, otTracer stdopentracing.Tracer, zipkinTracer *stdzipkin.Tracer, logger log.Logger) (addservice.Service, error)
NewHTTPClient ...
func NewHTTPHandler ¶
func NewHTTPHandler(endpoints addendpoint.Set, otTracer stdopentracing.Tracer, zipkinTracer *stdzipkin.Tracer, logger log.Logger) http.Handler
NewHTTPHandler ...
func NewJSONRPCClient ¶
func NewJSONRPCClient(instance string, tracer stdopentracing.Tracer, logger log.Logger) (addservice.Service, error)
func NewJSONRPCHandler ¶
func NewThriftClient ¶
func NewThriftClient(client *addthrift.AddServiceClient) addservice.Service
func NewThriftServer ¶
func NewThriftServer(endpoints addendpoint.Set) addthrift.AddService
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.