Documentation ¶
Index ¶
- Variables
- func NewGRPCClient(conn *grpc.ClientConn, tracer stdopentracing.Tracer, logger log.Logger) service.Service
- func NewGRPCServer(endpoints u_endpoint.Set, tracer stdopentracing.Tracer, logger log.Logger) pb.UserRpcServiceServer
- func NewHTTPHandler(endpoints p_endpoint.Set, tracer stdopentracing.Tracer, logger log.Logger) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBadRouting .. ErrBadRouting = errors.New("inconsistent mapping between route and handler (programmer error)") )
Functions ¶
func NewGRPCClient ¶
func NewGRPCClient(conn *grpc.ClientConn, tracer stdopentracing.Tracer, logger log.Logger) service.Service
NewGRPCClient ...
func NewGRPCServer ¶
func NewGRPCServer(endpoints u_endpoint.Set, tracer stdopentracing.Tracer, logger log.Logger) pb.UserRpcServiceServer
NewGRPCServer ...
func NewHTTPHandler ¶
func NewHTTPHandler(endpoints p_endpoint.Set, tracer stdopentracing.Tracer, logger log.Logger) http.Handler
NewHTTPHandler returns an HTTP handler that makes a set of endpoints available on predefined paths.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.