addtransport

package
v0.0.0-...-d0adc60 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Index

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 NewJSONRPCHandler(endpoints addendpoint.Set, logger log.Logger) *jsonrpc.Server

func NewThriftClient

func NewThriftClient(client *addthrift.AddServiceClient) addservice.Service

func NewThriftServer

func NewThriftServer(endpoints addendpoint.Set) addthrift.AddService

Types

This section is empty.

Jump to

Keyboard shortcuts

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