Documentation
¶
Index ¶
- Variables
- func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)
- type GetUserIDFromJWTRequest
- func (m *GetUserIDFromJWTRequest) CloneMessageVT() proto.Message
- func (m *GetUserIDFromJWTRequest) CloneVT() *GetUserIDFromJWTRequest
- func (*GetUserIDFromJWTRequest) Descriptor() ([]byte, []int)deprecated
- func (this *GetUserIDFromJWTRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetUserIDFromJWTRequest) EqualVT(that *GetUserIDFromJWTRequest) bool
- func (x *GetUserIDFromJWTRequest) GetJwt() string
- func (m *GetUserIDFromJWTRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetUserIDFromJWTRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *GetUserIDFromJWTRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetUserIDFromJWTRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *GetUserIDFromJWTRequest) MarshalVT() (dAtA []byte, err error)
- func (m *GetUserIDFromJWTRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*GetUserIDFromJWTRequest) ProtoMessage()
- func (x *GetUserIDFromJWTRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserIDFromJWTRequest) Reset()
- func (m *GetUserIDFromJWTRequest) SizeVT() (n int)
- func (x *GetUserIDFromJWTRequest) String() string
- func (m *GetUserIDFromJWTRequest) UnmarshalVT(dAtA []byte) error
- func (m *GetUserIDFromJWTRequest) UnmarshalVTUnsafe(dAtA []byte) error
- type GetUserIDFromJWTResponse
- func (m *GetUserIDFromJWTResponse) CloneMessageVT() proto.Message
- func (m *GetUserIDFromJWTResponse) CloneVT() *GetUserIDFromJWTResponse
- func (*GetUserIDFromJWTResponse) Descriptor() ([]byte, []int)deprecated
- func (this *GetUserIDFromJWTResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetUserIDFromJWTResponse) EqualVT(that *GetUserIDFromJWTResponse) bool
- func (x *GetUserIDFromJWTResponse) GetUserId() int32
- func (m *GetUserIDFromJWTResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetUserIDFromJWTResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *GetUserIDFromJWTResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetUserIDFromJWTResponse) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *GetUserIDFromJWTResponse) MarshalVT() (dAtA []byte, err error)
- func (m *GetUserIDFromJWTResponse) MarshalVTStrict() (dAtA []byte, err error)
- func (*GetUserIDFromJWTResponse) ProtoMessage()
- func (x *GetUserIDFromJWTResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserIDFromJWTResponse) Reset()
- func (m *GetUserIDFromJWTResponse) SizeVT() (n int)
- func (x *GetUserIDFromJWTResponse) String() string
- func (m *GetUserIDFromJWTResponse) UnmarshalVT(dAtA []byte) error
- func (m *GetUserIDFromJWTResponse) UnmarshalVTUnsafe(dAtA []byte) error
- type SigninRequest
- func (m *SigninRequest) CloneMessageVT() proto.Message
- func (m *SigninRequest) CloneVT() *SigninRequest
- func (*SigninRequest) Descriptor() ([]byte, []int)deprecated
- func (this *SigninRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SigninRequest) EqualVT(that *SigninRequest) bool
- func (x *SigninRequest) GetEmail() string
- func (x *SigninRequest) GetIdentifier() isSigninRequest_Identifier
- func (x *SigninRequest) GetPassword() string
- func (x *SigninRequest) GetUsername() string
- func (m *SigninRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SigninRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *SigninRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SigninRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *SigninRequest) MarshalVT() (dAtA []byte, err error)
- func (m *SigninRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*SigninRequest) ProtoMessage()
- func (x *SigninRequest) ProtoReflect() protoreflect.Message
- func (x *SigninRequest) Reset()
- func (m *SigninRequest) SizeVT() (n int)
- func (x *SigninRequest) String() string
- func (m *SigninRequest) UnmarshalVT(dAtA []byte) error
- func (m *SigninRequest) UnmarshalVTUnsafe(dAtA []byte) error
- type SigninRequest_Email
- func (m *SigninRequest_Email) CloneVT() isSigninRequest_Identifier
- func (this *SigninRequest_Email) EqualVT(thatIface isSigninRequest_Identifier) bool
- func (m *SigninRequest_Email) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SigninRequest_Email) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *SigninRequest_Email) MarshalToVT(dAtA []byte) (int, error)
- func (m *SigninRequest_Email) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *SigninRequest_Email) SizeVT() (n int)
- type SigninRequest_Username
- func (m *SigninRequest_Username) CloneVT() isSigninRequest_Identifier
- func (this *SigninRequest_Username) EqualVT(thatIface isSigninRequest_Identifier) bool
- func (m *SigninRequest_Username) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SigninRequest_Username) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *SigninRequest_Username) MarshalToVT(dAtA []byte) (int, error)
- func (m *SigninRequest_Username) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *SigninRequest_Username) SizeVT() (n int)
- type SigninResponse
- func (m *SigninResponse) CloneMessageVT() proto.Message
- func (m *SigninResponse) CloneVT() *SigninResponse
- func (*SigninResponse) Descriptor() ([]byte, []int)deprecated
- func (this *SigninResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SigninResponse) EqualVT(that *SigninResponse) bool
- func (x *SigninResponse) GetJwt() string
- func (m *SigninResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SigninResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *SigninResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SigninResponse) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *SigninResponse) MarshalVT() (dAtA []byte, err error)
- func (m *SigninResponse) MarshalVTStrict() (dAtA []byte, err error)
- func (*SigninResponse) ProtoMessage()
- func (x *SigninResponse) ProtoReflect() protoreflect.Message
- func (x *SigninResponse) Reset()
- func (m *SigninResponse) SizeVT() (n int)
- func (x *SigninResponse) String() string
- func (m *SigninResponse) UnmarshalVT(dAtA []byte) error
- func (m *SigninResponse) UnmarshalVTUnsafe(dAtA []byte) error
- type SignupRequest
- func (m *SignupRequest) CloneMessageVT() proto.Message
- func (m *SignupRequest) CloneVT() *SignupRequest
- func (*SignupRequest) Descriptor() ([]byte, []int)deprecated
- func (this *SignupRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *SignupRequest) EqualVT(that *SignupRequest) bool
- func (x *SignupRequest) GetEmail() string
- func (x *SignupRequest) GetName() string
- func (x *SignupRequest) GetPassword() string
- func (x *SignupRequest) GetUsername() string
- func (m *SignupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SignupRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *SignupRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SignupRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *SignupRequest) MarshalVT() (dAtA []byte, err error)
- func (m *SignupRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*SignupRequest) ProtoMessage()
- func (x *SignupRequest) ProtoReflect() protoreflect.Message
- func (x *SignupRequest) Reset()
- func (m *SignupRequest) SizeVT() (n int)
- func (x *SignupRequest) String() string
- func (m *SignupRequest) UnmarshalVT(dAtA []byte) error
- func (m *SignupRequest) UnmarshalVTUnsafe(dAtA []byte) error
- type UnimplementedUsersServiceServer
- func (UnimplementedUsersServiceServer) GetUserIDFromJWT(context.Context, *GetUserIDFromJWTRequest) (*GetUserIDFromJWTResponse, error)
- func (UnimplementedUsersServiceServer) Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedUsersServiceServer) Signin(context.Context, *SigninRequest) (*SigninResponse, error)
- func (UnimplementedUsersServiceServer) Signup(context.Context, *SignupRequest) (*SigninResponse, error)
- type UnsafeUsersServiceServer
- type UsersServiceClient
- type UsersServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_cmd_server_grpc_api_proto_service_proto protoreflect.FileDescriptor
var UsersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "microservices.users.UsersService", HandlerType: (*UsersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _UsersService_Ping_Handler, }, { MethodName: "Signup", Handler: _UsersService_Signup_Handler, }, { MethodName: "Signin", Handler: _UsersService_Signin_Handler, }, { MethodName: "GetUserIDFromJWT", Handler: _UsersService_GetUserIDFromJWT_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cmd/server/grpc/api/proto/service.proto", }
UsersService_ServiceDesc is the grpc.ServiceDesc for UsersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUsersServiceServer ¶
func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)
Types ¶
type GetUserIDFromJWTRequest ¶
type GetUserIDFromJWTRequest struct { Jwt string `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"` // contains filtered or unexported fields }
func (*GetUserIDFromJWTRequest) CloneMessageVT ¶
func (m *GetUserIDFromJWTRequest) CloneMessageVT() proto.Message
func (*GetUserIDFromJWTRequest) CloneVT ¶
func (m *GetUserIDFromJWTRequest) CloneVT() *GetUserIDFromJWTRequest
func (*GetUserIDFromJWTRequest) Descriptor
deprecated
func (*GetUserIDFromJWTRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserIDFromJWTRequest.ProtoReflect.Descriptor instead.
func (*GetUserIDFromJWTRequest) EqualMessageVT ¶
func (this *GetUserIDFromJWTRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*GetUserIDFromJWTRequest) EqualVT ¶
func (this *GetUserIDFromJWTRequest) EqualVT(that *GetUserIDFromJWTRequest) bool
func (*GetUserIDFromJWTRequest) GetJwt ¶
func (x *GetUserIDFromJWTRequest) GetJwt() string
func (*GetUserIDFromJWTRequest) MarshalToSizedBufferVT ¶
func (m *GetUserIDFromJWTRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetUserIDFromJWTRequest) MarshalToSizedBufferVTStrict ¶
func (m *GetUserIDFromJWTRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*GetUserIDFromJWTRequest) MarshalToVT ¶
func (m *GetUserIDFromJWTRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetUserIDFromJWTRequest) MarshalToVTStrict ¶
func (m *GetUserIDFromJWTRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*GetUserIDFromJWTRequest) MarshalVT ¶
func (m *GetUserIDFromJWTRequest) MarshalVT() (dAtA []byte, err error)
func (*GetUserIDFromJWTRequest) MarshalVTStrict ¶
func (m *GetUserIDFromJWTRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*GetUserIDFromJWTRequest) ProtoMessage ¶
func (*GetUserIDFromJWTRequest) ProtoMessage()
func (*GetUserIDFromJWTRequest) ProtoReflect ¶
func (x *GetUserIDFromJWTRequest) ProtoReflect() protoreflect.Message
func (*GetUserIDFromJWTRequest) Reset ¶
func (x *GetUserIDFromJWTRequest) Reset()
func (*GetUserIDFromJWTRequest) SizeVT ¶
func (m *GetUserIDFromJWTRequest) SizeVT() (n int)
func (*GetUserIDFromJWTRequest) String ¶
func (x *GetUserIDFromJWTRequest) String() string
func (*GetUserIDFromJWTRequest) UnmarshalVT ¶
func (m *GetUserIDFromJWTRequest) UnmarshalVT(dAtA []byte) error
func (*GetUserIDFromJWTRequest) UnmarshalVTUnsafe ¶
func (m *GetUserIDFromJWTRequest) UnmarshalVTUnsafe(dAtA []byte) error
type GetUserIDFromJWTResponse ¶
type GetUserIDFromJWTResponse struct { UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserIDFromJWTResponse) CloneMessageVT ¶
func (m *GetUserIDFromJWTResponse) CloneMessageVT() proto.Message
func (*GetUserIDFromJWTResponse) CloneVT ¶
func (m *GetUserIDFromJWTResponse) CloneVT() *GetUserIDFromJWTResponse
func (*GetUserIDFromJWTResponse) Descriptor
deprecated
func (*GetUserIDFromJWTResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserIDFromJWTResponse.ProtoReflect.Descriptor instead.
func (*GetUserIDFromJWTResponse) EqualMessageVT ¶
func (this *GetUserIDFromJWTResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*GetUserIDFromJWTResponse) EqualVT ¶
func (this *GetUserIDFromJWTResponse) EqualVT(that *GetUserIDFromJWTResponse) bool
func (*GetUserIDFromJWTResponse) GetUserId ¶
func (x *GetUserIDFromJWTResponse) GetUserId() int32
func (*GetUserIDFromJWTResponse) MarshalToSizedBufferVT ¶
func (m *GetUserIDFromJWTResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetUserIDFromJWTResponse) MarshalToSizedBufferVTStrict ¶
func (m *GetUserIDFromJWTResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*GetUserIDFromJWTResponse) MarshalToVT ¶
func (m *GetUserIDFromJWTResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetUserIDFromJWTResponse) MarshalToVTStrict ¶
func (m *GetUserIDFromJWTResponse) MarshalToVTStrict(dAtA []byte) (int, error)
func (*GetUserIDFromJWTResponse) MarshalVT ¶
func (m *GetUserIDFromJWTResponse) MarshalVT() (dAtA []byte, err error)
func (*GetUserIDFromJWTResponse) MarshalVTStrict ¶
func (m *GetUserIDFromJWTResponse) MarshalVTStrict() (dAtA []byte, err error)
func (*GetUserIDFromJWTResponse) ProtoMessage ¶
func (*GetUserIDFromJWTResponse) ProtoMessage()
func (*GetUserIDFromJWTResponse) ProtoReflect ¶
func (x *GetUserIDFromJWTResponse) ProtoReflect() protoreflect.Message
func (*GetUserIDFromJWTResponse) Reset ¶
func (x *GetUserIDFromJWTResponse) Reset()
func (*GetUserIDFromJWTResponse) SizeVT ¶
func (m *GetUserIDFromJWTResponse) SizeVT() (n int)
func (*GetUserIDFromJWTResponse) String ¶
func (x *GetUserIDFromJWTResponse) String() string
func (*GetUserIDFromJWTResponse) UnmarshalVT ¶
func (m *GetUserIDFromJWTResponse) UnmarshalVT(dAtA []byte) error
func (*GetUserIDFromJWTResponse) UnmarshalVTUnsafe ¶
func (m *GetUserIDFromJWTResponse) UnmarshalVTUnsafe(dAtA []byte) error
type SigninRequest ¶
type SigninRequest struct { // Types that are valid to be assigned to Identifier: // // *SigninRequest_Email // *SigninRequest_Username Identifier isSigninRequest_Identifier `protobuf_oneof:"identifier"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*SigninRequest) CloneMessageVT ¶
func (m *SigninRequest) CloneMessageVT() proto.Message
func (*SigninRequest) CloneVT ¶
func (m *SigninRequest) CloneVT() *SigninRequest
func (*SigninRequest) Descriptor
deprecated
func (*SigninRequest) Descriptor() ([]byte, []int)
Deprecated: Use SigninRequest.ProtoReflect.Descriptor instead.
func (*SigninRequest) EqualMessageVT ¶
func (this *SigninRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*SigninRequest) EqualVT ¶
func (this *SigninRequest) EqualVT(that *SigninRequest) bool
func (*SigninRequest) GetEmail ¶
func (x *SigninRequest) GetEmail() string
func (*SigninRequest) GetIdentifier ¶
func (x *SigninRequest) GetIdentifier() isSigninRequest_Identifier
func (*SigninRequest) GetPassword ¶
func (x *SigninRequest) GetPassword() string
func (*SigninRequest) GetUsername ¶
func (x *SigninRequest) GetUsername() string
func (*SigninRequest) MarshalToSizedBufferVT ¶
func (m *SigninRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SigninRequest) MarshalToSizedBufferVTStrict ¶
func (m *SigninRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*SigninRequest) MarshalToVT ¶
func (m *SigninRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SigninRequest) MarshalToVTStrict ¶
func (m *SigninRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*SigninRequest) MarshalVT ¶
func (m *SigninRequest) MarshalVT() (dAtA []byte, err error)
func (*SigninRequest) MarshalVTStrict ¶
func (m *SigninRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*SigninRequest) ProtoMessage ¶
func (*SigninRequest) ProtoMessage()
func (*SigninRequest) ProtoReflect ¶
func (x *SigninRequest) ProtoReflect() protoreflect.Message
func (*SigninRequest) Reset ¶
func (x *SigninRequest) Reset()
func (*SigninRequest) SizeVT ¶
func (m *SigninRequest) SizeVT() (n int)
func (*SigninRequest) String ¶
func (x *SigninRequest) String() string
func (*SigninRequest) UnmarshalVT ¶
func (m *SigninRequest) UnmarshalVT(dAtA []byte) error
func (*SigninRequest) UnmarshalVTUnsafe ¶
func (m *SigninRequest) UnmarshalVTUnsafe(dAtA []byte) error
type SigninRequest_Email ¶
type SigninRequest_Email struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3,oneof"`
}
func (*SigninRequest_Email) CloneVT ¶
func (m *SigninRequest_Email) CloneVT() isSigninRequest_Identifier
func (*SigninRequest_Email) EqualVT ¶
func (this *SigninRequest_Email) EqualVT(thatIface isSigninRequest_Identifier) bool
func (*SigninRequest_Email) MarshalToSizedBufferVT ¶
func (m *SigninRequest_Email) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SigninRequest_Email) MarshalToSizedBufferVTStrict ¶
func (m *SigninRequest_Email) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*SigninRequest_Email) MarshalToVT ¶
func (m *SigninRequest_Email) MarshalToVT(dAtA []byte) (int, error)
func (*SigninRequest_Email) MarshalToVTStrict ¶
func (m *SigninRequest_Email) MarshalToVTStrict(dAtA []byte) (int, error)
func (*SigninRequest_Email) SizeVT ¶
func (m *SigninRequest_Email) SizeVT() (n int)
type SigninRequest_Username ¶
type SigninRequest_Username struct {
Username string `protobuf:"bytes,2,opt,name=username,proto3,oneof"`
}
func (*SigninRequest_Username) CloneVT ¶
func (m *SigninRequest_Username) CloneVT() isSigninRequest_Identifier
func (*SigninRequest_Username) EqualVT ¶
func (this *SigninRequest_Username) EqualVT(thatIface isSigninRequest_Identifier) bool
func (*SigninRequest_Username) MarshalToSizedBufferVT ¶
func (m *SigninRequest_Username) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SigninRequest_Username) MarshalToSizedBufferVTStrict ¶
func (m *SigninRequest_Username) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*SigninRequest_Username) MarshalToVT ¶
func (m *SigninRequest_Username) MarshalToVT(dAtA []byte) (int, error)
func (*SigninRequest_Username) MarshalToVTStrict ¶
func (m *SigninRequest_Username) MarshalToVTStrict(dAtA []byte) (int, error)
func (*SigninRequest_Username) SizeVT ¶
func (m *SigninRequest_Username) SizeVT() (n int)
type SigninResponse ¶
type SigninResponse struct { Jwt string `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"` // contains filtered or unexported fields }
func (*SigninResponse) CloneMessageVT ¶
func (m *SigninResponse) CloneMessageVT() proto.Message
func (*SigninResponse) CloneVT ¶
func (m *SigninResponse) CloneVT() *SigninResponse
func (*SigninResponse) Descriptor
deprecated
func (*SigninResponse) Descriptor() ([]byte, []int)
Deprecated: Use SigninResponse.ProtoReflect.Descriptor instead.
func (*SigninResponse) EqualMessageVT ¶
func (this *SigninResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*SigninResponse) EqualVT ¶
func (this *SigninResponse) EqualVT(that *SigninResponse) bool
func (*SigninResponse) GetJwt ¶
func (x *SigninResponse) GetJwt() string
func (*SigninResponse) MarshalToSizedBufferVT ¶
func (m *SigninResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SigninResponse) MarshalToSizedBufferVTStrict ¶
func (m *SigninResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*SigninResponse) MarshalToVT ¶
func (m *SigninResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SigninResponse) MarshalToVTStrict ¶
func (m *SigninResponse) MarshalToVTStrict(dAtA []byte) (int, error)
func (*SigninResponse) MarshalVT ¶
func (m *SigninResponse) MarshalVT() (dAtA []byte, err error)
func (*SigninResponse) MarshalVTStrict ¶
func (m *SigninResponse) MarshalVTStrict() (dAtA []byte, err error)
func (*SigninResponse) ProtoMessage ¶
func (*SigninResponse) ProtoMessage()
func (*SigninResponse) ProtoReflect ¶
func (x *SigninResponse) ProtoReflect() protoreflect.Message
func (*SigninResponse) Reset ¶
func (x *SigninResponse) Reset()
func (*SigninResponse) SizeVT ¶
func (m *SigninResponse) SizeVT() (n int)
func (*SigninResponse) String ¶
func (x *SigninResponse) String() string
func (*SigninResponse) UnmarshalVT ¶
func (m *SigninResponse) UnmarshalVT(dAtA []byte) error
func (*SigninResponse) UnmarshalVTUnsafe ¶
func (m *SigninResponse) UnmarshalVTUnsafe(dAtA []byte) error
type SignupRequest ¶
type SignupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*SignupRequest) CloneMessageVT ¶
func (m *SignupRequest) CloneMessageVT() proto.Message
func (*SignupRequest) CloneVT ¶
func (m *SignupRequest) CloneVT() *SignupRequest
func (*SignupRequest) Descriptor
deprecated
func (*SignupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignupRequest.ProtoReflect.Descriptor instead.
func (*SignupRequest) EqualMessageVT ¶
func (this *SignupRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*SignupRequest) EqualVT ¶
func (this *SignupRequest) EqualVT(that *SignupRequest) bool
func (*SignupRequest) GetEmail ¶
func (x *SignupRequest) GetEmail() string
func (*SignupRequest) GetName ¶
func (x *SignupRequest) GetName() string
func (*SignupRequest) GetPassword ¶
func (x *SignupRequest) GetPassword() string
func (*SignupRequest) GetUsername ¶
func (x *SignupRequest) GetUsername() string
func (*SignupRequest) MarshalToSizedBufferVT ¶
func (m *SignupRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SignupRequest) MarshalToSizedBufferVTStrict ¶
func (m *SignupRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*SignupRequest) MarshalToVT ¶
func (m *SignupRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SignupRequest) MarshalToVTStrict ¶
func (m *SignupRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*SignupRequest) MarshalVT ¶
func (m *SignupRequest) MarshalVT() (dAtA []byte, err error)
func (*SignupRequest) MarshalVTStrict ¶
func (m *SignupRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*SignupRequest) ProtoMessage ¶
func (*SignupRequest) ProtoMessage()
func (*SignupRequest) ProtoReflect ¶
func (x *SignupRequest) ProtoReflect() protoreflect.Message
func (*SignupRequest) Reset ¶
func (x *SignupRequest) Reset()
func (*SignupRequest) SizeVT ¶
func (m *SignupRequest) SizeVT() (n int)
func (*SignupRequest) String ¶
func (x *SignupRequest) String() string
func (*SignupRequest) UnmarshalVT ¶
func (m *SignupRequest) UnmarshalVT(dAtA []byte) error
func (*SignupRequest) UnmarshalVTUnsafe ¶
func (m *SignupRequest) UnmarshalVTUnsafe(dAtA []byte) error
type UnimplementedUsersServiceServer ¶
type UnimplementedUsersServiceServer struct { }
UnimplementedUsersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUsersServiceServer) GetUserIDFromJWT ¶
func (UnimplementedUsersServiceServer) GetUserIDFromJWT(context.Context, *GetUserIDFromJWTRequest) (*GetUserIDFromJWTResponse, error)
func (UnimplementedUsersServiceServer) Signin ¶
func (UnimplementedUsersServiceServer) Signin(context.Context, *SigninRequest) (*SigninResponse, error)
func (UnimplementedUsersServiceServer) Signup ¶
func (UnimplementedUsersServiceServer) Signup(context.Context, *SignupRequest) (*SigninResponse, error)
type UnsafeUsersServiceServer ¶
type UnsafeUsersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUsersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersServiceServer will result in compilation errors.
type UsersServiceClient ¶
type UsersServiceClient interface { Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Signup(ctx context.Context, in *SignupRequest, opts ...grpc.CallOption) (*SigninResponse, error) Signin(ctx context.Context, in *SigninRequest, opts ...grpc.CallOption) (*SigninResponse, error) GetUserIDFromJWT(ctx context.Context, in *GetUserIDFromJWTRequest, opts ...grpc.CallOption) (*GetUserIDFromJWTResponse, error) }
UsersServiceClient is the client API for UsersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUsersServiceClient ¶
func NewUsersServiceClient(cc grpc.ClientConnInterface) UsersServiceClient
type UsersServiceServer ¶
type UsersServiceServer interface { Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Signup(context.Context, *SignupRequest) (*SigninResponse, error) Signin(context.Context, *SigninRequest) (*SigninResponse, error) GetUserIDFromJWT(context.Context, *GetUserIDFromJWTRequest) (*GetUserIDFromJWTResponse, error) // contains filtered or unexported methods }
UsersServiceServer is the server API for UsersService service. All implementations must embed UnimplementedUsersServiceServer for forward compatibility