api_user_v2

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NIL_REQUEST_ERROR      = errors.New("request is empty")
	EMPTY_FIRST_NAME_ERROR = errors.New("first name shouldn't be empty")
	EMPTY_LAST_NAME_ERROR  = errors.New("last name shouldn't be empty")
	EMPTY_PASSWORD_ERROR   = errors.New("password shouldn't be empty")
)
View Source
var (
	WRONG_USER_ID_ERROR = errors.New("wrong user id")
)

Functions

func RegisterProxyServiceServer

func RegisterProxyServiceServer(mux *runtime.ServeMux, conn *grpc.ClientConn) error

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar) error

Types

type UserServiceServer

type UserServiceServer struct {

	// Required to have revese compatability
	user_v2.UnimplementedUserServiceServer
	// contains filtered or unexported fields
}

func (*UserServiceServer) AddUser

func (*UserServiceServer) GetUser

Jump to

Keyboard shortcuts

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