grpc

package
v0.0.0-...-fc3792f Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(svc *service.Service) *warden.Server

New new a grpc server.

Types

type UserServer

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

func (*UserServer) Info

func (s *UserServer) Info(ctx context.Context, req *api.MidReq) (res *api.InfoReply, err error)

func (*UserServer) Profile

func (s *UserServer) Profile(ctx context.Context, req *api.MidReq) (res *api.ProfileReply, err error)

Jump to

Keyboard shortcuts

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