api_user_v1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EMPTY_NAME_ERROR     = errors.New("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

This section is empty.

Types

type UserServiceServer

type UserServiceServer struct {

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

func New

func New() *UserServiceServer

func (*UserServiceServer) AddUser

func (*UserServiceServer) GetUser

func (*UserServiceServer) RegisterGrpc

func (s *UserServiceServer) RegisterGrpc(sr grpc.ServiceRegistrar) error

RegisterGrpc - HealthServiceServer's method to registrate gRPC service server handlers

func (*UserServiceServer) RegisterGrpcProxy

func (s *UserServiceServer) RegisterGrpcProxy(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterGrpcProxy - HealthServiceServer's method to registrate gRPC proxy service server handlers

Jump to

Keyboard shortcuts

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