kit

package
v0.0.0-...-201036b Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeLoginEndpoint

func MakeLoginEndpoint(server pb.UserServer) endpoint.Endpoint

func NoDecodeRequestFunc

func NoDecodeRequestFunc(ctx context.Context, i interface{}) (request interface{}, err error)

func NoDecodeResponseFunc

func NoDecodeResponseFunc(ctx context.Context, i interface{}) (response interface{}, err error)

func NoEncodeRequestFunc

func NoEncodeRequestFunc(ctx context.Context, i interface{}) (request interface{}, err error)

func NoEncodeResponseFunc

func NoEncodeResponseFunc(ctx context.Context, i interface{}) (response interface{}, err error)

Types

type UserHandler

type UserHandler struct {
	LoginHandler grpctransport.Handler
}

func (UserHandler) Login

func (us UserHandler) Login(ctx context.Context, req *pb.LoginReq) (*pb.LoginRes, error)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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