transport

package
v0.0.0-...-bfcc399 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeUserListRequest

func DecodeUserListRequest(_ context.Context, r *http.Request) (interface{}, error)

UserList

func MakeGRPCClient

func MakeGRPCClient(conn *grpc.ClientConn, otTracer opentracing.Tracer, zipkinTracer *zipkin.Tracer,
	logger log.Logger) endpoints.UserSerivcer

func MakeGRPCServer

func MakeGRPCServer(eps *endpoints.Endponits, otTracer opentracing.Tracer, zipkinTracer *zipkin.Tracer,
	logger log.Logger) userPb.UsersvcServer

func MakeHTTPHandler

func MakeHTTPHandler(eps *endpoints.Endponits, otTracer opentracing.Tracer,
	logger log.Logger, opts []kitTransport.ServerOption) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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