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 ¶
func RegisterProxyServiceServer ¶
func RegisterProxyServiceServer(mux *runtime.ServeMux, conn *grpc.ClientConn) error
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, controllers *api_data.Controllers) error
Types ¶
type UserServiceServer ¶
type UserServiceServer struct { // Required to have revese compatability user_v1.UnimplementedUserServiceServer // contains filtered or unexported fields }
func (*UserServiceServer) AddUser ¶
func (s *UserServiceServer) AddUser(ctx context.Context, request *user_v1.AddUserRequest) (*user_v1.AddUserResponse, error)
func (*UserServiceServer) GetUser ¶
func (s *UserServiceServer) GetUser(ctx context.Context, request *user_v1.GetUserRequest) (*user_v1.GetUserResponse, error)
Click to show internal directories.
Click to hide internal directories.