user

package
v0.0.0-...-08c2887 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const SN = "com.example.srv.user"

定义services名称

Variables

This section is empty.

Functions

func Run

func Run()

运行

Types

type UserHandler

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

func (*UserHandler) Login

func (u *UserHandler) Login(ctx context.Context, req *pb.LoginRequest, rsp *pb.LoginResponse) error

func (*UserHandler) UserInfo

func (u *UserHandler) UserInfo(ctx context.Context, req *pb.UserInfoRequest, rsp *pb.UserInfoResponse) error

Directories

Path Synopsis
Package user is a generated protocol buffer package.
Package user is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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