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 (s *UserServiceServer) AddUser(ctx context.Context, request *user_v2.AddUserRequest) (*user_v2.AddUserResponse, error)
func (*UserServiceServer) GetUser ¶
func (s *UserServiceServer) GetUser(ctx context.Context, request *user_v2.GetUserRequest) (*user_v2.GetUserResponse, error)
Click to show internal directories.
Click to hide internal directories.