handle

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

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

Go to latest
Published: May 19, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserSrvHandler

type UserSrvHandler struct {
	// contains filtered or unexported fields
}

func NewUserSrvHandler

func NewUserSrvHandler(s micro.Service) (*UserSrvHandler, error)

func (*UserSrvHandler) Auth

func (h *UserSrvHandler) Auth(ctx context.Context, req *pbUser.User, resp *pbUser.Token) error

func (*UserSrvHandler) Broker

func (h *UserSrvHandler) Broker() broker.Broker

func (*UserSrvHandler) Close

func (h *UserSrvHandler) Close()

func (*UserSrvHandler) Create

func (h *UserSrvHandler) Create(ctx context.Context, req *pbUser.User, resp *pbUser.Response) error

func (*UserSrvHandler) Get

func (h *UserSrvHandler) Get(ctx context.Context, req *pbUser.User, resp *pbUser.Response) error

func (*UserSrvHandler) GetAll

func (h *UserSrvHandler) GetAll(ctx context.Context, req *pbUser.Request, resp *pbUser.Response) error

func (*UserSrvHandler) ValidateToken

func (h *UserSrvHandler) ValidateToken(ctx context.Context, req *pbUser.Token, resp *pbUser.Token) error

Jump to

Keyboard shortcuts

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