Documentation ¶
Overview ¶
Package user is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type BoolResponse
- func (*BoolResponse) Descriptor() ([]byte, []int)
- func (m *BoolResponse) GetIsSuccess() bool
- func (m *BoolResponse) Marshal() (dAtA []byte, err error)
- func (m *BoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BoolResponse) ProtoMessage()
- func (m *BoolResponse) Reset()
- func (m *BoolResponse) Size() (n int)
- func (m *BoolResponse) String() string
- func (m *BoolResponse) Unmarshal(dAtA []byte) error
- func (this *BoolResponse) Validate() error
- func (m *BoolResponse) XXX_DiscardUnknown()
- func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoolResponse) XXX_Merge(src proto.Message)
- func (*BoolResponse) XXX_MessageName() string
- func (m *BoolResponse) XXX_Size() int
- func (m *BoolResponse) XXX_Unmarshal(b []byte) error
- type CreateServiceRequest
- func (*CreateServiceRequest) Descriptor() ([]byte, []int)
- func (m *CreateServiceRequest) GetPassword() string
- func (m *CreateServiceRequest) GetUsername() string
- func (m *CreateServiceRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateServiceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateServiceRequest) ProtoMessage()
- func (m *CreateServiceRequest) Reset()
- func (m *CreateServiceRequest) Size() (n int)
- func (m *CreateServiceRequest) String() string
- func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error
- func (this *CreateServiceRequest) Validate() error
- func (m *CreateServiceRequest) XXX_DiscardUnknown()
- func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateServiceRequest) XXX_Merge(src proto.Message)
- func (*CreateServiceRequest) XXX_MessageName() string
- func (m *CreateServiceRequest) XXX_Size() int
- func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)
- func (m *CreateUserRequest) GetRequest() *UserRequest
- func (m *CreateUserRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateUserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateUserRequest) ProtoMessage()
- func (m *CreateUserRequest) Reset()
- func (m *CreateUserRequest) Size() (n int)
- func (m *CreateUserRequest) String() string
- func (m *CreateUserRequest) Unmarshal(dAtA []byte) error
- func (this *CreateUserRequest) Validate() error
- func (m *CreateUserRequest) XXX_DiscardUnknown()
- func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserRequest) XXX_Merge(src proto.Message)
- func (*CreateUserRequest) XXX_MessageName() string
- func (m *CreateUserRequest) XXX_Size() int
- func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
- type DeleteServiceRequest
- func (*DeleteServiceRequest) Descriptor() ([]byte, []int)
- func (m *DeleteServiceRequest) GetID() string
- func (m *DeleteServiceRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteServiceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteServiceRequest) ProtoMessage()
- func (m *DeleteServiceRequest) Reset()
- func (m *DeleteServiceRequest) Size() (n int)
- func (m *DeleteServiceRequest) String() string
- func (m *DeleteServiceRequest) Unmarshal(dAtA []byte) error
- func (this *DeleteServiceRequest) Validate() error
- func (m *DeleteServiceRequest) XXX_DiscardUnknown()
- func (m *DeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteServiceRequest) XXX_Merge(src proto.Message)
- func (*DeleteServiceRequest) XXX_MessageName() string
- func (m *DeleteServiceRequest) XXX_Size() int
- func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)
- func (m *DeleteUserRequest) GetID() string
- func (m *DeleteUserRequest) GetModifiedBy() string
- func (m *DeleteUserRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteUserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteUserRequest) ProtoMessage()
- func (m *DeleteUserRequest) Reset()
- func (m *DeleteUserRequest) Size() (n int)
- func (m *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error
- func (this *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) XXX_DiscardUnknown()
- func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteUserRequest) XXX_Merge(src proto.Message)
- func (*DeleteUserRequest) XXX_MessageName() string
- func (m *DeleteUserRequest) XXX_Size() int
- func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
- type DetailedUserDTO
- func (*DetailedUserDTO) Descriptor() ([]byte, []int)
- func (m *DetailedUserDTO) GetAvatar() string
- func (m *DetailedUserDTO) GetBio() string
- func (m *DetailedUserDTO) GetDOB() string
- func (m *DetailedUserDTO) GetEmail() string
- func (m *DetailedUserDTO) GetGender() string
- func (m *DetailedUserDTO) GetID() string
- func (m *DetailedUserDTO) GetIsEmailNotificationDisabled() bool
- func (m *DetailedUserDTO) GetIsPhoneNotificationDisabled() bool
- func (m *DetailedUserDTO) GetIsPhoneNumberVerified() bool
- func (m *DetailedUserDTO) GetIsPrivacyPolicyAgreed() bool
- func (m *DetailedUserDTO) GetIsProfilePrivate() bool
- func (m *DetailedUserDTO) GetPhoneNumber() string
- func (m *DetailedUserDTO) GetReferralID() uint64
- func (m *DetailedUserDTO) GetStatus() string
- func (m *DetailedUserDTO) GetUsername() string
- func (m *DetailedUserDTO) Marshal() (dAtA []byte, err error)
- func (m *DetailedUserDTO) MarshalTo(dAtA []byte) (int, error)
- func (m *DetailedUserDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DetailedUserDTO) ProtoMessage()
- func (m *DetailedUserDTO) Reset()
- func (m *DetailedUserDTO) Size() (n int)
- func (m *DetailedUserDTO) String() string
- func (m *DetailedUserDTO) Unmarshal(dAtA []byte) error
- func (this *DetailedUserDTO) Validate() error
- func (m *DetailedUserDTO) XXX_DiscardUnknown()
- func (m *DetailedUserDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetailedUserDTO) XXX_Merge(src proto.Message)
- func (*DetailedUserDTO) XXX_MessageName() string
- func (m *DetailedUserDTO) XXX_Size() int
- func (m *DetailedUserDTO) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (m *Empty) Marshal() (dAtA []byte, err error)
- func (m *Empty) MarshalTo(dAtA []byte) (int, error)
- func (m *Empty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) Size() (n int)
- func (m *Empty) String() string
- func (m *Empty) Unmarshal(dAtA []byte) error
- func (this *Empty) Validate() error
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (*Empty) XXX_MessageName() string
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type GetUsersByServiceRequest
- func (*GetUsersByServiceRequest) Descriptor() ([]byte, []int)
- func (m *GetUsersByServiceRequest) GetServiceID() string
- func (m *GetUsersByServiceRequest) Marshal() (dAtA []byte, err error)
- func (m *GetUsersByServiceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUsersByServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUsersByServiceRequest) ProtoMessage()
- func (m *GetUsersByServiceRequest) Reset()
- func (m *GetUsersByServiceRequest) Size() (n int)
- func (m *GetUsersByServiceRequest) String() string
- func (m *GetUsersByServiceRequest) Unmarshal(dAtA []byte) error
- func (this *GetUsersByServiceRequest) Validate() error
- func (m *GetUsersByServiceRequest) XXX_DiscardUnknown()
- func (m *GetUsersByServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUsersByServiceRequest) XXX_Merge(src proto.Message)
- func (*GetUsersByServiceRequest) XXX_MessageName() string
- func (m *GetUsersByServiceRequest) XXX_Size() int
- func (m *GetUsersByServiceRequest) XXX_Unmarshal(b []byte) error
- type GetUsersRequest
- func (*GetUsersRequest) Descriptor() ([]byte, []int)
- func (m *GetUsersRequest) GetID() []string
- func (m *GetUsersRequest) Marshal() (dAtA []byte, err error)
- func (m *GetUsersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUsersRequest) ProtoMessage()
- func (m *GetUsersRequest) Reset()
- func (m *GetUsersRequest) Size() (n int)
- func (m *GetUsersRequest) String() string
- func (m *GetUsersRequest) Unmarshal(dAtA []byte) error
- func (this *GetUsersRequest) Validate() error
- func (m *GetUsersRequest) XXX_DiscardUnknown()
- func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUsersRequest) XXX_Merge(src proto.Message)
- func (*GetUsersRequest) XXX_MessageName() string
- func (m *GetUsersRequest) XXX_Size() int
- func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error
- type LoginByEmailRequest
- func (*LoginByEmailRequest) Descriptor() ([]byte, []int)
- func (m *LoginByEmailRequest) GetEmail() string
- func (m *LoginByEmailRequest) GetPassword() string
- func (m *LoginByEmailRequest) Marshal() (dAtA []byte, err error)
- func (m *LoginByEmailRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LoginByEmailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LoginByEmailRequest) ProtoMessage()
- func (m *LoginByEmailRequest) Reset()
- func (m *LoginByEmailRequest) Size() (n int)
- func (m *LoginByEmailRequest) String() string
- func (m *LoginByEmailRequest) Unmarshal(dAtA []byte) error
- func (this *LoginByEmailRequest) Validate() error
- func (m *LoginByEmailRequest) XXX_DiscardUnknown()
- func (m *LoginByEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginByEmailRequest) XXX_Merge(src proto.Message)
- func (*LoginByEmailRequest) XXX_MessageName() string
- func (m *LoginByEmailRequest) XXX_Size() int
- func (m *LoginByEmailRequest) XXX_Unmarshal(b []byte) error
- type LoginByPhoneNumberRequest
- func (*LoginByPhoneNumberRequest) Descriptor() ([]byte, []int)
- func (m *LoginByPhoneNumberRequest) GetPassword() string
- func (m *LoginByPhoneNumberRequest) GetPhoneNumber() string
- func (m *LoginByPhoneNumberRequest) Marshal() (dAtA []byte, err error)
- func (m *LoginByPhoneNumberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LoginByPhoneNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LoginByPhoneNumberRequest) ProtoMessage()
- func (m *LoginByPhoneNumberRequest) Reset()
- func (m *LoginByPhoneNumberRequest) Size() (n int)
- func (m *LoginByPhoneNumberRequest) String() string
- func (m *LoginByPhoneNumberRequest) Unmarshal(dAtA []byte) error
- func (this *LoginByPhoneNumberRequest) Validate() error
- func (m *LoginByPhoneNumberRequest) XXX_DiscardUnknown()
- func (m *LoginByPhoneNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginByPhoneNumberRequest) XXX_Merge(src proto.Message)
- func (*LoginByPhoneNumberRequest) XXX_MessageName() string
- func (m *LoginByPhoneNumberRequest) XXX_Size() int
- func (m *LoginByPhoneNumberRequest) XXX_Unmarshal(b []byte) error
- type LoginByUsernameRequest
- func (*LoginByUsernameRequest) Descriptor() ([]byte, []int)
- func (m *LoginByUsernameRequest) GetPassword() string
- func (m *LoginByUsernameRequest) GetUsername() string
- func (m *LoginByUsernameRequest) Marshal() (dAtA []byte, err error)
- func (m *LoginByUsernameRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LoginByUsernameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LoginByUsernameRequest) ProtoMessage()
- func (m *LoginByUsernameRequest) Reset()
- func (m *LoginByUsernameRequest) Size() (n int)
- func (m *LoginByUsernameRequest) String() string
- func (m *LoginByUsernameRequest) Unmarshal(dAtA []byte) error
- func (this *LoginByUsernameRequest) Validate() error
- func (m *LoginByUsernameRequest) XXX_DiscardUnknown()
- func (m *LoginByUsernameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginByUsernameRequest) XXX_Merge(src proto.Message)
- func (*LoginByUsernameRequest) XXX_MessageName() string
- func (m *LoginByUsernameRequest) XXX_Size() int
- func (m *LoginByUsernameRequest) XXX_Unmarshal(b []byte) error
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)
- func (m *LoginResponse) GetExpireAt() int64
- func (m *LoginResponse) GetToken() string
- func (m *LoginResponse) Marshal() (dAtA []byte, err error)
- func (m *LoginResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LoginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LoginResponse) ProtoMessage()
- func (m *LoginResponse) Reset()
- func (m *LoginResponse) Size() (n int)
- func (m *LoginResponse) String() string
- func (m *LoginResponse) Unmarshal(dAtA []byte) error
- func (this *LoginResponse) Validate() error
- func (m *LoginResponse) XXX_DiscardUnknown()
- func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginResponse) XXX_Merge(src proto.Message)
- func (*LoginResponse) XXX_MessageName() string
- func (m *LoginResponse) XXX_Size() int
- func (m *LoginResponse) XXX_Unmarshal(b []byte) error
- type RepeatedUserSimpleDTO
- func (*RepeatedUserSimpleDTO) Descriptor() ([]byte, []int)
- func (m *RepeatedUserSimpleDTO) GetResults() []*UserSimpleDTO
- func (m *RepeatedUserSimpleDTO) Marshal() (dAtA []byte, err error)
- func (m *RepeatedUserSimpleDTO) MarshalTo(dAtA []byte) (int, error)
- func (m *RepeatedUserSimpleDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RepeatedUserSimpleDTO) ProtoMessage()
- func (m *RepeatedUserSimpleDTO) Reset()
- func (m *RepeatedUserSimpleDTO) Size() (n int)
- func (m *RepeatedUserSimpleDTO) String() string
- func (m *RepeatedUserSimpleDTO) Unmarshal(dAtA []byte) error
- func (this *RepeatedUserSimpleDTO) Validate() error
- func (m *RepeatedUserSimpleDTO) XXX_DiscardUnknown()
- func (m *RepeatedUserSimpleDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepeatedUserSimpleDTO) XXX_Merge(src proto.Message)
- func (*RepeatedUserSimpleDTO) XXX_MessageName() string
- func (m *RepeatedUserSimpleDTO) XXX_Size() int
- func (m *RepeatedUserSimpleDTO) XXX_Unmarshal(b []byte) error
- type ServiceLoginRequest
- func (*ServiceLoginRequest) Descriptor() ([]byte, []int)
- func (m *ServiceLoginRequest) GetPassword() string
- func (m *ServiceLoginRequest) GetUsername() string
- func (m *ServiceLoginRequest) Marshal() (dAtA []byte, err error)
- func (m *ServiceLoginRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceLoginRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceLoginRequest) ProtoMessage()
- func (m *ServiceLoginRequest) Reset()
- func (m *ServiceLoginRequest) Size() (n int)
- func (m *ServiceLoginRequest) String() string
- func (m *ServiceLoginRequest) Unmarshal(dAtA []byte) error
- func (this *ServiceLoginRequest) Validate() error
- func (m *ServiceLoginRequest) XXX_DiscardUnknown()
- func (m *ServiceLoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceLoginRequest) XXX_Merge(src proto.Message)
- func (*ServiceLoginRequest) XXX_MessageName() string
- func (m *ServiceLoginRequest) XXX_Size() int
- func (m *ServiceLoginRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedUserServiceServer
- func (*UnimplementedUserServiceServer) Create(ctx context.Context, req *CreateUserRequest) (*DetailedUserDTO, error)
- func (*UnimplementedUserServiceServer) CreateService(ctx context.Context, req *CreateServiceRequest) (*LoginResponse, error)
- func (*UnimplementedUserServiceServer) Delete(ctx context.Context, req *DeleteUserRequest) (*BoolResponse, error)
- func (*UnimplementedUserServiceServer) DeleteService(ctx context.Context, req *DeleteServiceRequest) (*BoolResponse, error)
- func (*UnimplementedUserServiceServer) GetCurrentUser(ctx context.Context, req *Empty) (*DetailedUserDTO, error)
- func (*UnimplementedUserServiceServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*RepeatedUserSimpleDTO, error)
- func (*UnimplementedUserServiceServer) GetUsersByService(ctx context.Context, req *GetUsersByServiceRequest) (*RepeatedUserSimpleDTO, error)
- func (*UnimplementedUserServiceServer) LoginByEmail(ctx context.Context, req *LoginByEmailRequest) (*LoginResponse, error)
- func (*UnimplementedUserServiceServer) LoginByPhoneNumber(ctx context.Context, req *LoginByPhoneNumberRequest) (*LoginResponse, error)
- func (*UnimplementedUserServiceServer) LoginByUsername(ctx context.Context, req *LoginByUsernameRequest) (*LoginResponse, error)
- func (*UnimplementedUserServiceServer) Renew(ctx context.Context, req *Empty) (*LoginResponse, error)
- func (*UnimplementedUserServiceServer) ServiceLogin(ctx context.Context, req *ServiceLoginRequest) (*LoginResponse, error)
- func (*UnimplementedUserServiceServer) Update(ctx context.Context, req *UpdateUserRequest) (*DetailedUserDTO, error)
- func (*UnimplementedUserServiceServer) UpdatesService(ctx context.Context, req *UpdateServiceRequest) (*BoolResponse, error)
- type UpdateServiceRequest
- func (*UpdateServiceRequest) Descriptor() ([]byte, []int)
- func (m *UpdateServiceRequest) GetPassword() string
- func (m *UpdateServiceRequest) GetUsername() string
- func (m *UpdateServiceRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateServiceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateServiceRequest) ProtoMessage()
- func (m *UpdateServiceRequest) Reset()
- func (m *UpdateServiceRequest) Size() (n int)
- func (m *UpdateServiceRequest) String() string
- func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error
- func (this *UpdateServiceRequest) Validate() error
- func (m *UpdateServiceRequest) XXX_DiscardUnknown()
- func (m *UpdateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateServiceRequest) XXX_Merge(src proto.Message)
- func (*UpdateServiceRequest) XXX_MessageName() string
- func (m *UpdateServiceRequest) XXX_Size() int
- func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)
- func (m *UpdateUserRequest) GetID() string
- func (m *UpdateUserRequest) GetModifiedBy() string
- func (m *UpdateUserRequest) GetRequest() *UserRequest
- func (m *UpdateUserRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateUserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateUserRequest) ProtoMessage()
- func (m *UpdateUserRequest) Reset()
- func (m *UpdateUserRequest) Size() (n int)
- func (m *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error
- func (this *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) XXX_DiscardUnknown()
- func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateUserRequest) XXX_Merge(src proto.Message)
- func (*UpdateUserRequest) XXX_MessageName() string
- func (m *UpdateUserRequest) XXX_Size() int
- func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error
- type UserRequest
- func (*UserRequest) Descriptor() ([]byte, []int)
- func (m *UserRequest) GetAvatar() string
- func (m *UserRequest) GetBio() string
- func (m *UserRequest) GetDOB() string
- func (m *UserRequest) GetEmail() string
- func (m *UserRequest) GetGender() string
- func (m *UserRequest) GetIsActive() bool
- func (m *UserRequest) GetIsEmailNotificationDisabled() bool
- func (m *UserRequest) GetIsPhoneNotificationDisabled() bool
- func (m *UserRequest) GetIsPhoneNumberVerified() bool
- func (m *UserRequest) GetIsPrivacyPolicyAgreed() bool
- func (m *UserRequest) GetIsProfilePrivate() bool
- func (m *UserRequest) GetPassword() string
- func (m *UserRequest) GetPhoneNumber() string
- func (m *UserRequest) GetStatus() string
- func (m *UserRequest) GetUsername() string
- func (m *UserRequest) Marshal() (dAtA []byte, err error)
- func (m *UserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserRequest) ProtoMessage()
- func (m *UserRequest) Reset()
- func (m *UserRequest) Size() (n int)
- func (m *UserRequest) String() string
- func (m *UserRequest) Unmarshal(dAtA []byte) error
- func (this *UserRequest) Validate() error
- func (m *UserRequest) XXX_DiscardUnknown()
- func (m *UserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserRequest) XXX_Merge(src proto.Message)
- func (*UserRequest) XXX_MessageName() string
- func (m *UserRequest) XXX_Size() int
- func (m *UserRequest) XXX_Unmarshal(b []byte) error
- type UserServiceClient
- type UserServiceServer
- type UserSimpleDTO
- func (*UserSimpleDTO) Descriptor() ([]byte, []int)
- func (m *UserSimpleDTO) GetAvatar() string
- func (m *UserSimpleDTO) GetBio() string
- func (m *UserSimpleDTO) GetDOB() string
- func (m *UserSimpleDTO) GetGender() string
- func (m *UserSimpleDTO) GetID() string
- func (m *UserSimpleDTO) GetReferralID() uint64
- func (m *UserSimpleDTO) GetStatus() string
- func (m *UserSimpleDTO) GetUsername() string
- func (m *UserSimpleDTO) Marshal() (dAtA []byte, err error)
- func (m *UserSimpleDTO) MarshalTo(dAtA []byte) (int, error)
- func (m *UserSimpleDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserSimpleDTO) ProtoMessage()
- func (m *UserSimpleDTO) Reset()
- func (m *UserSimpleDTO) Size() (n int)
- func (m *UserSimpleDTO) String() string
- func (m *UserSimpleDTO) Unmarshal(dAtA []byte) error
- func (this *UserSimpleDTO) Validate() error
- func (m *UserSimpleDTO) XXX_DiscardUnknown()
- func (m *UserSimpleDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserSimpleDTO) XXX_Merge(src proto.Message)
- func (*UserSimpleDTO) XXX_MessageName() string
- func (m *UserSimpleDTO) XXX_Size() int
- func (m *UserSimpleDTO) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
Types ¶
type BoolResponse ¶
type BoolResponse struct { IsSuccess bool `protobuf:"varint,1,opt,name=IsSuccess,proto3" json:"IsSuccess,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BoolResponse) Descriptor ¶
func (*BoolResponse) Descriptor() ([]byte, []int)
func (*BoolResponse) GetIsSuccess ¶
func (m *BoolResponse) GetIsSuccess() bool
func (*BoolResponse) Marshal ¶
func (m *BoolResponse) Marshal() (dAtA []byte, err error)
func (*BoolResponse) MarshalToSizedBuffer ¶
func (m *BoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BoolResponse) ProtoMessage ¶
func (*BoolResponse) ProtoMessage()
func (*BoolResponse) Reset ¶
func (m *BoolResponse) Reset()
func (*BoolResponse) Size ¶
func (m *BoolResponse) Size() (n int)
func (*BoolResponse) String ¶
func (m *BoolResponse) String() string
func (*BoolResponse) Unmarshal ¶
func (m *BoolResponse) Unmarshal(dAtA []byte) error
func (*BoolResponse) Validate ¶
func (this *BoolResponse) Validate() error
func (*BoolResponse) XXX_DiscardUnknown ¶
func (m *BoolResponse) XXX_DiscardUnknown()
func (*BoolResponse) XXX_Marshal ¶
func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BoolResponse) XXX_Merge ¶
func (m *BoolResponse) XXX_Merge(src proto.Message)
func (*BoolResponse) XXX_MessageName ¶
func (*BoolResponse) XXX_MessageName() string
func (*BoolResponse) XXX_Size ¶
func (m *BoolResponse) XXX_Size() int
func (*BoolResponse) XXX_Unmarshal ¶
func (m *BoolResponse) XXX_Unmarshal(b []byte) error
type CreateServiceRequest ¶
type CreateServiceRequest struct { Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"Username,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateServiceRequest) Descriptor ¶
func (*CreateServiceRequest) Descriptor() ([]byte, []int)
func (*CreateServiceRequest) GetPassword ¶
func (m *CreateServiceRequest) GetPassword() string
func (*CreateServiceRequest) GetUsername ¶
func (m *CreateServiceRequest) GetUsername() string
func (*CreateServiceRequest) Marshal ¶
func (m *CreateServiceRequest) Marshal() (dAtA []byte, err error)
func (*CreateServiceRequest) MarshalTo ¶
func (m *CreateServiceRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateServiceRequest) MarshalToSizedBuffer ¶
func (m *CreateServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateServiceRequest) ProtoMessage ¶
func (*CreateServiceRequest) ProtoMessage()
func (*CreateServiceRequest) Reset ¶
func (m *CreateServiceRequest) Reset()
func (*CreateServiceRequest) Size ¶
func (m *CreateServiceRequest) Size() (n int)
func (*CreateServiceRequest) String ¶
func (m *CreateServiceRequest) String() string
func (*CreateServiceRequest) Unmarshal ¶
func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error
func (*CreateServiceRequest) Validate ¶
func (this *CreateServiceRequest) Validate() error
func (*CreateServiceRequest) XXX_DiscardUnknown ¶
func (m *CreateServiceRequest) XXX_DiscardUnknown()
func (*CreateServiceRequest) XXX_Marshal ¶
func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateServiceRequest) XXX_Merge ¶
func (m *CreateServiceRequest) XXX_Merge(src proto.Message)
func (*CreateServiceRequest) XXX_MessageName ¶
func (*CreateServiceRequest) XXX_MessageName() string
func (*CreateServiceRequest) XXX_Size ¶
func (m *CreateServiceRequest) XXX_Size() int
func (*CreateServiceRequest) XXX_Unmarshal ¶
func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error
type CreateUserRequest ¶
type CreateUserRequest struct { Request *UserRequest `protobuf:"bytes,1,opt,name=Request,proto3" json:"Request,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateUserRequest) Descriptor ¶
func (*CreateUserRequest) Descriptor() ([]byte, []int)
func (*CreateUserRequest) GetRequest ¶
func (m *CreateUserRequest) GetRequest() *UserRequest
func (*CreateUserRequest) Marshal ¶
func (m *CreateUserRequest) Marshal() (dAtA []byte, err error)
func (*CreateUserRequest) MarshalTo ¶
func (m *CreateUserRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateUserRequest) MarshalToSizedBuffer ¶
func (m *CreateUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) Reset ¶
func (m *CreateUserRequest) Reset()
func (*CreateUserRequest) Size ¶
func (m *CreateUserRequest) Size() (n int)
func (*CreateUserRequest) String ¶
func (m *CreateUserRequest) String() string
func (*CreateUserRequest) Unmarshal ¶
func (m *CreateUserRequest) Unmarshal(dAtA []byte) error
func (*CreateUserRequest) Validate ¶
func (this *CreateUserRequest) Validate() error
func (*CreateUserRequest) XXX_DiscardUnknown ¶
func (m *CreateUserRequest) XXX_DiscardUnknown()
func (*CreateUserRequest) XXX_Marshal ¶
func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserRequest) XXX_Merge ¶
func (m *CreateUserRequest) XXX_Merge(src proto.Message)
func (*CreateUserRequest) XXX_MessageName ¶
func (*CreateUserRequest) XXX_MessageName() string
func (*CreateUserRequest) XXX_Size ¶
func (m *CreateUserRequest) XXX_Size() int
func (*CreateUserRequest) XXX_Unmarshal ¶
func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
type DeleteServiceRequest ¶
type DeleteServiceRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteServiceRequest) Descriptor ¶
func (*DeleteServiceRequest) Descriptor() ([]byte, []int)
func (*DeleteServiceRequest) GetID ¶
func (m *DeleteServiceRequest) GetID() string
func (*DeleteServiceRequest) Marshal ¶
func (m *DeleteServiceRequest) Marshal() (dAtA []byte, err error)
func (*DeleteServiceRequest) MarshalTo ¶
func (m *DeleteServiceRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteServiceRequest) MarshalToSizedBuffer ¶
func (m *DeleteServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteServiceRequest) ProtoMessage ¶
func (*DeleteServiceRequest) ProtoMessage()
func (*DeleteServiceRequest) Reset ¶
func (m *DeleteServiceRequest) Reset()
func (*DeleteServiceRequest) Size ¶
func (m *DeleteServiceRequest) Size() (n int)
func (*DeleteServiceRequest) String ¶
func (m *DeleteServiceRequest) String() string
func (*DeleteServiceRequest) Unmarshal ¶
func (m *DeleteServiceRequest) Unmarshal(dAtA []byte) error
func (*DeleteServiceRequest) Validate ¶
func (this *DeleteServiceRequest) Validate() error
func (*DeleteServiceRequest) XXX_DiscardUnknown ¶
func (m *DeleteServiceRequest) XXX_DiscardUnknown()
func (*DeleteServiceRequest) XXX_Marshal ¶
func (m *DeleteServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteServiceRequest) XXX_Merge ¶
func (m *DeleteServiceRequest) XXX_Merge(src proto.Message)
func (*DeleteServiceRequest) XXX_MessageName ¶
func (*DeleteServiceRequest) XXX_MessageName() string
func (*DeleteServiceRequest) XXX_Size ¶
func (m *DeleteServiceRequest) XXX_Size() int
func (*DeleteServiceRequest) XXX_Unmarshal ¶
func (m *DeleteServiceRequest) XXX_Unmarshal(b []byte) error
type DeleteUserRequest ¶
type DeleteUserRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` ModifiedBy string `protobuf:"bytes,2,opt,name=ModifiedBy,proto3" json:"ModifiedBy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteUserRequest) Descriptor ¶
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
func (*DeleteUserRequest) GetID ¶
func (m *DeleteUserRequest) GetID() string
func (*DeleteUserRequest) GetModifiedBy ¶
func (m *DeleteUserRequest) GetModifiedBy() string
func (*DeleteUserRequest) Marshal ¶
func (m *DeleteUserRequest) Marshal() (dAtA []byte, err error)
func (*DeleteUserRequest) MarshalTo ¶
func (m *DeleteUserRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteUserRequest) MarshalToSizedBuffer ¶
func (m *DeleteUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) Reset ¶
func (m *DeleteUserRequest) Reset()
func (*DeleteUserRequest) Size ¶
func (m *DeleteUserRequest) Size() (n int)
func (*DeleteUserRequest) String ¶
func (m *DeleteUserRequest) String() string
func (*DeleteUserRequest) Unmarshal ¶
func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error
func (*DeleteUserRequest) Validate ¶
func (this *DeleteUserRequest) Validate() error
func (*DeleteUserRequest) XXX_DiscardUnknown ¶
func (m *DeleteUserRequest) XXX_DiscardUnknown()
func (*DeleteUserRequest) XXX_Marshal ¶
func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteUserRequest) XXX_Merge ¶
func (m *DeleteUserRequest) XXX_Merge(src proto.Message)
func (*DeleteUserRequest) XXX_MessageName ¶
func (*DeleteUserRequest) XXX_MessageName() string
func (*DeleteUserRequest) XXX_Size ¶
func (m *DeleteUserRequest) XXX_Size() int
func (*DeleteUserRequest) XXX_Unmarshal ¶
func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
type DetailedUserDTO ¶
type DetailedUserDTO struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` Gender string `protobuf:"bytes,3,opt,name=Gender,proto3" json:"Gender,omitempty"` PhoneNumber string `protobuf:"bytes,4,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` Email string `protobuf:"bytes,5,opt,name=Email,proto3" json:"Email,omitempty"` DOB string `protobuf:"bytes,6,opt,name=DOB,proto3" json:"DOB,omitempty"` Avatar string `protobuf:"bytes,7,opt,name=Avatar,proto3" json:"Avatar,omitempty"` Bio string `protobuf:"bytes,8,opt,name=Bio,proto3" json:"Bio,omitempty"` Status string `protobuf:"bytes,9,opt,name=Status,proto3" json:"Status,omitempty"` ReferralID uint64 `protobuf:"varint,10,opt,name=ReferralID,proto3" json:"ReferralID,omitempty"` IsPrivacyPolicyAgreed bool `protobuf:"varint,50,opt,name=IsPrivacyPolicyAgreed,proto3" json:"IsPrivacyPolicyAgreed,omitempty"` IsPhoneNumberVerified bool `protobuf:"varint,51,opt,name=IsPhoneNumberVerified,proto3" json:"IsPhoneNumberVerified,omitempty"` IsProfilePrivate bool `protobuf:"varint,52,opt,name=IsProfilePrivate,proto3" json:"IsProfilePrivate,omitempty"` IsPhoneNotificationDisabled bool `protobuf:"varint,53,opt,name=IsPhoneNotificationDisabled,proto3" json:"IsPhoneNotificationDisabled,omitempty"` IsEmailNotificationDisabled bool `protobuf:"varint,54,opt,name=IsEmailNotificationDisabled,proto3" json:"IsEmailNotificationDisabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DetailedUserDTO) Descriptor ¶
func (*DetailedUserDTO) Descriptor() ([]byte, []int)
func (*DetailedUserDTO) GetAvatar ¶
func (m *DetailedUserDTO) GetAvatar() string
func (*DetailedUserDTO) GetBio ¶
func (m *DetailedUserDTO) GetBio() string
func (*DetailedUserDTO) GetDOB ¶
func (m *DetailedUserDTO) GetDOB() string
func (*DetailedUserDTO) GetEmail ¶
func (m *DetailedUserDTO) GetEmail() string
func (*DetailedUserDTO) GetGender ¶
func (m *DetailedUserDTO) GetGender() string
func (*DetailedUserDTO) GetID ¶
func (m *DetailedUserDTO) GetID() string
func (*DetailedUserDTO) GetIsEmailNotificationDisabled ¶
func (m *DetailedUserDTO) GetIsEmailNotificationDisabled() bool
func (*DetailedUserDTO) GetIsPhoneNotificationDisabled ¶
func (m *DetailedUserDTO) GetIsPhoneNotificationDisabled() bool
func (*DetailedUserDTO) GetIsPhoneNumberVerified ¶
func (m *DetailedUserDTO) GetIsPhoneNumberVerified() bool
func (*DetailedUserDTO) GetIsPrivacyPolicyAgreed ¶
func (m *DetailedUserDTO) GetIsPrivacyPolicyAgreed() bool
func (*DetailedUserDTO) GetIsProfilePrivate ¶
func (m *DetailedUserDTO) GetIsProfilePrivate() bool
func (*DetailedUserDTO) GetPhoneNumber ¶
func (m *DetailedUserDTO) GetPhoneNumber() string
func (*DetailedUserDTO) GetReferralID ¶
func (m *DetailedUserDTO) GetReferralID() uint64
func (*DetailedUserDTO) GetStatus ¶
func (m *DetailedUserDTO) GetStatus() string
func (*DetailedUserDTO) GetUsername ¶
func (m *DetailedUserDTO) GetUsername() string
func (*DetailedUserDTO) Marshal ¶
func (m *DetailedUserDTO) Marshal() (dAtA []byte, err error)
func (*DetailedUserDTO) MarshalToSizedBuffer ¶
func (m *DetailedUserDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DetailedUserDTO) ProtoMessage ¶
func (*DetailedUserDTO) ProtoMessage()
func (*DetailedUserDTO) Reset ¶
func (m *DetailedUserDTO) Reset()
func (*DetailedUserDTO) Size ¶
func (m *DetailedUserDTO) Size() (n int)
func (*DetailedUserDTO) String ¶
func (m *DetailedUserDTO) String() string
func (*DetailedUserDTO) Unmarshal ¶
func (m *DetailedUserDTO) Unmarshal(dAtA []byte) error
func (*DetailedUserDTO) Validate ¶
func (this *DetailedUserDTO) Validate() error
func (*DetailedUserDTO) XXX_DiscardUnknown ¶
func (m *DetailedUserDTO) XXX_DiscardUnknown()
func (*DetailedUserDTO) XXX_Marshal ¶
func (m *DetailedUserDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetailedUserDTO) XXX_Merge ¶
func (m *DetailedUserDTO) XXX_Merge(src proto.Message)
func (*DetailedUserDTO) XXX_MessageName ¶
func (*DetailedUserDTO) XXX_MessageName() string
func (*DetailedUserDTO) XXX_Size ¶
func (m *DetailedUserDTO) XXX_Size() int
func (*DetailedUserDTO) XXX_Unmarshal ¶
func (m *DetailedUserDTO) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_MessageName ¶
func (*Empty) XXX_Unmarshal ¶
type GetUsersByServiceRequest ¶
type GetUsersByServiceRequest struct { ServiceID string `protobuf:"bytes,1,opt,name=ServiceID,proto3" json:"ServiceID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUsersByServiceRequest) Descriptor ¶
func (*GetUsersByServiceRequest) Descriptor() ([]byte, []int)
func (*GetUsersByServiceRequest) GetServiceID ¶
func (m *GetUsersByServiceRequest) GetServiceID() string
func (*GetUsersByServiceRequest) Marshal ¶
func (m *GetUsersByServiceRequest) Marshal() (dAtA []byte, err error)
func (*GetUsersByServiceRequest) MarshalTo ¶
func (m *GetUsersByServiceRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetUsersByServiceRequest) MarshalToSizedBuffer ¶
func (m *GetUsersByServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUsersByServiceRequest) ProtoMessage ¶
func (*GetUsersByServiceRequest) ProtoMessage()
func (*GetUsersByServiceRequest) Reset ¶
func (m *GetUsersByServiceRequest) Reset()
func (*GetUsersByServiceRequest) Size ¶
func (m *GetUsersByServiceRequest) Size() (n int)
func (*GetUsersByServiceRequest) String ¶
func (m *GetUsersByServiceRequest) String() string
func (*GetUsersByServiceRequest) Unmarshal ¶
func (m *GetUsersByServiceRequest) Unmarshal(dAtA []byte) error
func (*GetUsersByServiceRequest) Validate ¶
func (this *GetUsersByServiceRequest) Validate() error
func (*GetUsersByServiceRequest) XXX_DiscardUnknown ¶
func (m *GetUsersByServiceRequest) XXX_DiscardUnknown()
func (*GetUsersByServiceRequest) XXX_Marshal ¶
func (m *GetUsersByServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUsersByServiceRequest) XXX_Merge ¶
func (m *GetUsersByServiceRequest) XXX_Merge(src proto.Message)
func (*GetUsersByServiceRequest) XXX_MessageName ¶
func (*GetUsersByServiceRequest) XXX_MessageName() string
func (*GetUsersByServiceRequest) XXX_Size ¶
func (m *GetUsersByServiceRequest) XXX_Size() int
func (*GetUsersByServiceRequest) XXX_Unmarshal ¶
func (m *GetUsersByServiceRequest) XXX_Unmarshal(b []byte) error
type GetUsersRequest ¶
type GetUsersRequest struct { ID []string `protobuf:"bytes,1,rep,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUsersRequest) Descriptor ¶
func (*GetUsersRequest) Descriptor() ([]byte, []int)
func (*GetUsersRequest) GetID ¶
func (m *GetUsersRequest) GetID() []string
func (*GetUsersRequest) Marshal ¶
func (m *GetUsersRequest) Marshal() (dAtA []byte, err error)
func (*GetUsersRequest) MarshalToSizedBuffer ¶
func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) Reset ¶
func (m *GetUsersRequest) Reset()
func (*GetUsersRequest) Size ¶
func (m *GetUsersRequest) Size() (n int)
func (*GetUsersRequest) String ¶
func (m *GetUsersRequest) String() string
func (*GetUsersRequest) Unmarshal ¶
func (m *GetUsersRequest) Unmarshal(dAtA []byte) error
func (*GetUsersRequest) Validate ¶
func (this *GetUsersRequest) Validate() error
func (*GetUsersRequest) XXX_DiscardUnknown ¶
func (m *GetUsersRequest) XXX_DiscardUnknown()
func (*GetUsersRequest) XXX_Marshal ¶
func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUsersRequest) XXX_Merge ¶
func (m *GetUsersRequest) XXX_Merge(src proto.Message)
func (*GetUsersRequest) XXX_MessageName ¶
func (*GetUsersRequest) XXX_MessageName() string
func (*GetUsersRequest) XXX_Size ¶
func (m *GetUsersRequest) XXX_Size() int
func (*GetUsersRequest) XXX_Unmarshal ¶
func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error
type LoginByEmailRequest ¶
type LoginByEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginByEmailRequest) Descriptor ¶
func (*LoginByEmailRequest) Descriptor() ([]byte, []int)
func (*LoginByEmailRequest) GetEmail ¶
func (m *LoginByEmailRequest) GetEmail() string
func (*LoginByEmailRequest) GetPassword ¶
func (m *LoginByEmailRequest) GetPassword() string
func (*LoginByEmailRequest) Marshal ¶
func (m *LoginByEmailRequest) Marshal() (dAtA []byte, err error)
func (*LoginByEmailRequest) MarshalTo ¶
func (m *LoginByEmailRequest) MarshalTo(dAtA []byte) (int, error)
func (*LoginByEmailRequest) MarshalToSizedBuffer ¶
func (m *LoginByEmailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LoginByEmailRequest) ProtoMessage ¶
func (*LoginByEmailRequest) ProtoMessage()
func (*LoginByEmailRequest) Reset ¶
func (m *LoginByEmailRequest) Reset()
func (*LoginByEmailRequest) Size ¶
func (m *LoginByEmailRequest) Size() (n int)
func (*LoginByEmailRequest) String ¶
func (m *LoginByEmailRequest) String() string
func (*LoginByEmailRequest) Unmarshal ¶
func (m *LoginByEmailRequest) Unmarshal(dAtA []byte) error
func (*LoginByEmailRequest) Validate ¶
func (this *LoginByEmailRequest) Validate() error
func (*LoginByEmailRequest) XXX_DiscardUnknown ¶
func (m *LoginByEmailRequest) XXX_DiscardUnknown()
func (*LoginByEmailRequest) XXX_Marshal ¶
func (m *LoginByEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginByEmailRequest) XXX_Merge ¶
func (m *LoginByEmailRequest) XXX_Merge(src proto.Message)
func (*LoginByEmailRequest) XXX_MessageName ¶
func (*LoginByEmailRequest) XXX_MessageName() string
func (*LoginByEmailRequest) XXX_Size ¶
func (m *LoginByEmailRequest) XXX_Size() int
func (*LoginByEmailRequest) XXX_Unmarshal ¶
func (m *LoginByEmailRequest) XXX_Unmarshal(b []byte) error
type LoginByPhoneNumberRequest ¶
type LoginByPhoneNumberRequest struct { PhoneNumber string `protobuf:"bytes,1,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginByPhoneNumberRequest) Descriptor ¶
func (*LoginByPhoneNumberRequest) Descriptor() ([]byte, []int)
func (*LoginByPhoneNumberRequest) GetPassword ¶
func (m *LoginByPhoneNumberRequest) GetPassword() string
func (*LoginByPhoneNumberRequest) GetPhoneNumber ¶
func (m *LoginByPhoneNumberRequest) GetPhoneNumber() string
func (*LoginByPhoneNumberRequest) Marshal ¶
func (m *LoginByPhoneNumberRequest) Marshal() (dAtA []byte, err error)
func (*LoginByPhoneNumberRequest) MarshalTo ¶
func (m *LoginByPhoneNumberRequest) MarshalTo(dAtA []byte) (int, error)
func (*LoginByPhoneNumberRequest) MarshalToSizedBuffer ¶
func (m *LoginByPhoneNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LoginByPhoneNumberRequest) ProtoMessage ¶
func (*LoginByPhoneNumberRequest) ProtoMessage()
func (*LoginByPhoneNumberRequest) Reset ¶
func (m *LoginByPhoneNumberRequest) Reset()
func (*LoginByPhoneNumberRequest) Size ¶
func (m *LoginByPhoneNumberRequest) Size() (n int)
func (*LoginByPhoneNumberRequest) String ¶
func (m *LoginByPhoneNumberRequest) String() string
func (*LoginByPhoneNumberRequest) Unmarshal ¶
func (m *LoginByPhoneNumberRequest) Unmarshal(dAtA []byte) error
func (*LoginByPhoneNumberRequest) Validate ¶
func (this *LoginByPhoneNumberRequest) Validate() error
func (*LoginByPhoneNumberRequest) XXX_DiscardUnknown ¶
func (m *LoginByPhoneNumberRequest) XXX_DiscardUnknown()
func (*LoginByPhoneNumberRequest) XXX_Marshal ¶
func (m *LoginByPhoneNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginByPhoneNumberRequest) XXX_Merge ¶
func (m *LoginByPhoneNumberRequest) XXX_Merge(src proto.Message)
func (*LoginByPhoneNumberRequest) XXX_MessageName ¶
func (*LoginByPhoneNumberRequest) XXX_MessageName() string
func (*LoginByPhoneNumberRequest) XXX_Size ¶
func (m *LoginByPhoneNumberRequest) XXX_Size() int
func (*LoginByPhoneNumberRequest) XXX_Unmarshal ¶
func (m *LoginByPhoneNumberRequest) XXX_Unmarshal(b []byte) error
type LoginByUsernameRequest ¶
type LoginByUsernameRequest struct { Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"Username,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginByUsernameRequest) Descriptor ¶
func (*LoginByUsernameRequest) Descriptor() ([]byte, []int)
func (*LoginByUsernameRequest) GetPassword ¶
func (m *LoginByUsernameRequest) GetPassword() string
func (*LoginByUsernameRequest) GetUsername ¶
func (m *LoginByUsernameRequest) GetUsername() string
func (*LoginByUsernameRequest) Marshal ¶
func (m *LoginByUsernameRequest) Marshal() (dAtA []byte, err error)
func (*LoginByUsernameRequest) MarshalTo ¶
func (m *LoginByUsernameRequest) MarshalTo(dAtA []byte) (int, error)
func (*LoginByUsernameRequest) MarshalToSizedBuffer ¶
func (m *LoginByUsernameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LoginByUsernameRequest) ProtoMessage ¶
func (*LoginByUsernameRequest) ProtoMessage()
func (*LoginByUsernameRequest) Reset ¶
func (m *LoginByUsernameRequest) Reset()
func (*LoginByUsernameRequest) Size ¶
func (m *LoginByUsernameRequest) Size() (n int)
func (*LoginByUsernameRequest) String ¶
func (m *LoginByUsernameRequest) String() string
func (*LoginByUsernameRequest) Unmarshal ¶
func (m *LoginByUsernameRequest) Unmarshal(dAtA []byte) error
func (*LoginByUsernameRequest) Validate ¶
func (this *LoginByUsernameRequest) Validate() error
func (*LoginByUsernameRequest) XXX_DiscardUnknown ¶
func (m *LoginByUsernameRequest) XXX_DiscardUnknown()
func (*LoginByUsernameRequest) XXX_Marshal ¶
func (m *LoginByUsernameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginByUsernameRequest) XXX_Merge ¶
func (m *LoginByUsernameRequest) XXX_Merge(src proto.Message)
func (*LoginByUsernameRequest) XXX_MessageName ¶
func (*LoginByUsernameRequest) XXX_MessageName() string
func (*LoginByUsernameRequest) XXX_Size ¶
func (m *LoginByUsernameRequest) XXX_Size() int
func (*LoginByUsernameRequest) XXX_Unmarshal ¶
func (m *LoginByUsernameRequest) XXX_Unmarshal(b []byte) error
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` ExpireAt int64 `protobuf:"varint,2,opt,name=Expire_at,json=ExpireAt,proto3" json:"Expire_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginResponse) Descriptor ¶
func (*LoginResponse) Descriptor() ([]byte, []int)
func (*LoginResponse) GetExpireAt ¶
func (m *LoginResponse) GetExpireAt() int64
func (*LoginResponse) GetToken ¶
func (m *LoginResponse) GetToken() string
func (*LoginResponse) Marshal ¶
func (m *LoginResponse) Marshal() (dAtA []byte, err error)
func (*LoginResponse) MarshalToSizedBuffer ¶
func (m *LoginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) Reset ¶
func (m *LoginResponse) Reset()
func (*LoginResponse) Size ¶
func (m *LoginResponse) Size() (n int)
func (*LoginResponse) String ¶
func (m *LoginResponse) String() string
func (*LoginResponse) Unmarshal ¶
func (m *LoginResponse) Unmarshal(dAtA []byte) error
func (*LoginResponse) Validate ¶
func (this *LoginResponse) Validate() error
func (*LoginResponse) XXX_DiscardUnknown ¶
func (m *LoginResponse) XXX_DiscardUnknown()
func (*LoginResponse) XXX_Marshal ¶
func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginResponse) XXX_Merge ¶
func (m *LoginResponse) XXX_Merge(src proto.Message)
func (*LoginResponse) XXX_MessageName ¶
func (*LoginResponse) XXX_MessageName() string
func (*LoginResponse) XXX_Size ¶
func (m *LoginResponse) XXX_Size() int
func (*LoginResponse) XXX_Unmarshal ¶
func (m *LoginResponse) XXX_Unmarshal(b []byte) error
type RepeatedUserSimpleDTO ¶
type RepeatedUserSimpleDTO struct { Results []*UserSimpleDTO `protobuf:"bytes,1,rep,name=Results,proto3" json:"Results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RepeatedUserSimpleDTO) Descriptor ¶
func (*RepeatedUserSimpleDTO) Descriptor() ([]byte, []int)
func (*RepeatedUserSimpleDTO) GetResults ¶
func (m *RepeatedUserSimpleDTO) GetResults() []*UserSimpleDTO
func (*RepeatedUserSimpleDTO) Marshal ¶
func (m *RepeatedUserSimpleDTO) Marshal() (dAtA []byte, err error)
func (*RepeatedUserSimpleDTO) MarshalTo ¶
func (m *RepeatedUserSimpleDTO) MarshalTo(dAtA []byte) (int, error)
func (*RepeatedUserSimpleDTO) MarshalToSizedBuffer ¶
func (m *RepeatedUserSimpleDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RepeatedUserSimpleDTO) ProtoMessage ¶
func (*RepeatedUserSimpleDTO) ProtoMessage()
func (*RepeatedUserSimpleDTO) Reset ¶
func (m *RepeatedUserSimpleDTO) Reset()
func (*RepeatedUserSimpleDTO) Size ¶
func (m *RepeatedUserSimpleDTO) Size() (n int)
func (*RepeatedUserSimpleDTO) String ¶
func (m *RepeatedUserSimpleDTO) String() string
func (*RepeatedUserSimpleDTO) Unmarshal ¶
func (m *RepeatedUserSimpleDTO) Unmarshal(dAtA []byte) error
func (*RepeatedUserSimpleDTO) Validate ¶
func (this *RepeatedUserSimpleDTO) Validate() error
func (*RepeatedUserSimpleDTO) XXX_DiscardUnknown ¶
func (m *RepeatedUserSimpleDTO) XXX_DiscardUnknown()
func (*RepeatedUserSimpleDTO) XXX_Marshal ¶
func (m *RepeatedUserSimpleDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepeatedUserSimpleDTO) XXX_Merge ¶
func (m *RepeatedUserSimpleDTO) XXX_Merge(src proto.Message)
func (*RepeatedUserSimpleDTO) XXX_MessageName ¶
func (*RepeatedUserSimpleDTO) XXX_MessageName() string
func (*RepeatedUserSimpleDTO) XXX_Size ¶
func (m *RepeatedUserSimpleDTO) XXX_Size() int
func (*RepeatedUserSimpleDTO) XXX_Unmarshal ¶
func (m *RepeatedUserSimpleDTO) XXX_Unmarshal(b []byte) error
type ServiceLoginRequest ¶
type ServiceLoginRequest struct { Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"Username,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceLoginRequest) Descriptor ¶
func (*ServiceLoginRequest) Descriptor() ([]byte, []int)
func (*ServiceLoginRequest) GetPassword ¶
func (m *ServiceLoginRequest) GetPassword() string
func (*ServiceLoginRequest) GetUsername ¶
func (m *ServiceLoginRequest) GetUsername() string
func (*ServiceLoginRequest) Marshal ¶
func (m *ServiceLoginRequest) Marshal() (dAtA []byte, err error)
func (*ServiceLoginRequest) MarshalTo ¶
func (m *ServiceLoginRequest) MarshalTo(dAtA []byte) (int, error)
func (*ServiceLoginRequest) MarshalToSizedBuffer ¶
func (m *ServiceLoginRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceLoginRequest) ProtoMessage ¶
func (*ServiceLoginRequest) ProtoMessage()
func (*ServiceLoginRequest) Reset ¶
func (m *ServiceLoginRequest) Reset()
func (*ServiceLoginRequest) Size ¶
func (m *ServiceLoginRequest) Size() (n int)
func (*ServiceLoginRequest) String ¶
func (m *ServiceLoginRequest) String() string
func (*ServiceLoginRequest) Unmarshal ¶
func (m *ServiceLoginRequest) Unmarshal(dAtA []byte) error
func (*ServiceLoginRequest) Validate ¶
func (this *ServiceLoginRequest) Validate() error
func (*ServiceLoginRequest) XXX_DiscardUnknown ¶
func (m *ServiceLoginRequest) XXX_DiscardUnknown()
func (*ServiceLoginRequest) XXX_Marshal ¶
func (m *ServiceLoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceLoginRequest) XXX_Merge ¶
func (m *ServiceLoginRequest) XXX_Merge(src proto.Message)
func (*ServiceLoginRequest) XXX_MessageName ¶
func (*ServiceLoginRequest) XXX_MessageName() string
func (*ServiceLoginRequest) XXX_Size ¶
func (m *ServiceLoginRequest) XXX_Size() int
func (*ServiceLoginRequest) XXX_Unmarshal ¶
func (m *ServiceLoginRequest) XXX_Unmarshal(b []byte) error
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServiceServer) Create ¶
func (*UnimplementedUserServiceServer) Create(ctx context.Context, req *CreateUserRequest) (*DetailedUserDTO, error)
func (*UnimplementedUserServiceServer) CreateService ¶
func (*UnimplementedUserServiceServer) CreateService(ctx context.Context, req *CreateServiceRequest) (*LoginResponse, error)
func (*UnimplementedUserServiceServer) Delete ¶
func (*UnimplementedUserServiceServer) Delete(ctx context.Context, req *DeleteUserRequest) (*BoolResponse, error)
func (*UnimplementedUserServiceServer) DeleteService ¶
func (*UnimplementedUserServiceServer) DeleteService(ctx context.Context, req *DeleteServiceRequest) (*BoolResponse, error)
func (*UnimplementedUserServiceServer) GetCurrentUser ¶
func (*UnimplementedUserServiceServer) GetCurrentUser(ctx context.Context, req *Empty) (*DetailedUserDTO, error)
func (*UnimplementedUserServiceServer) GetUsers ¶
func (*UnimplementedUserServiceServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*RepeatedUserSimpleDTO, error)
func (*UnimplementedUserServiceServer) GetUsersByService ¶
func (*UnimplementedUserServiceServer) GetUsersByService(ctx context.Context, req *GetUsersByServiceRequest) (*RepeatedUserSimpleDTO, error)
func (*UnimplementedUserServiceServer) LoginByEmail ¶
func (*UnimplementedUserServiceServer) LoginByEmail(ctx context.Context, req *LoginByEmailRequest) (*LoginResponse, error)
func (*UnimplementedUserServiceServer) LoginByPhoneNumber ¶
func (*UnimplementedUserServiceServer) LoginByPhoneNumber(ctx context.Context, req *LoginByPhoneNumberRequest) (*LoginResponse, error)
func (*UnimplementedUserServiceServer) LoginByUsername ¶
func (*UnimplementedUserServiceServer) LoginByUsername(ctx context.Context, req *LoginByUsernameRequest) (*LoginResponse, error)
func (*UnimplementedUserServiceServer) Renew ¶
func (*UnimplementedUserServiceServer) Renew(ctx context.Context, req *Empty) (*LoginResponse, error)
func (*UnimplementedUserServiceServer) ServiceLogin ¶
func (*UnimplementedUserServiceServer) ServiceLogin(ctx context.Context, req *ServiceLoginRequest) (*LoginResponse, error)
func (*UnimplementedUserServiceServer) Update ¶
func (*UnimplementedUserServiceServer) Update(ctx context.Context, req *UpdateUserRequest) (*DetailedUserDTO, error)
func (*UnimplementedUserServiceServer) UpdatesService ¶
func (*UnimplementedUserServiceServer) UpdatesService(ctx context.Context, req *UpdateServiceRequest) (*BoolResponse, error)
type UpdateServiceRequest ¶
type UpdateServiceRequest struct { Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"Username,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateServiceRequest) Descriptor ¶
func (*UpdateServiceRequest) Descriptor() ([]byte, []int)
func (*UpdateServiceRequest) GetPassword ¶
func (m *UpdateServiceRequest) GetPassword() string
func (*UpdateServiceRequest) GetUsername ¶
func (m *UpdateServiceRequest) GetUsername() string
func (*UpdateServiceRequest) Marshal ¶
func (m *UpdateServiceRequest) Marshal() (dAtA []byte, err error)
func (*UpdateServiceRequest) MarshalTo ¶
func (m *UpdateServiceRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateServiceRequest) MarshalToSizedBuffer ¶
func (m *UpdateServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateServiceRequest) ProtoMessage ¶
func (*UpdateServiceRequest) ProtoMessage()
func (*UpdateServiceRequest) Reset ¶
func (m *UpdateServiceRequest) Reset()
func (*UpdateServiceRequest) Size ¶
func (m *UpdateServiceRequest) Size() (n int)
func (*UpdateServiceRequest) String ¶
func (m *UpdateServiceRequest) String() string
func (*UpdateServiceRequest) Unmarshal ¶
func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error
func (*UpdateServiceRequest) Validate ¶
func (this *UpdateServiceRequest) Validate() error
func (*UpdateServiceRequest) XXX_DiscardUnknown ¶
func (m *UpdateServiceRequest) XXX_DiscardUnknown()
func (*UpdateServiceRequest) XXX_Marshal ¶
func (m *UpdateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateServiceRequest) XXX_Merge ¶
func (m *UpdateServiceRequest) XXX_Merge(src proto.Message)
func (*UpdateServiceRequest) XXX_MessageName ¶
func (*UpdateServiceRequest) XXX_MessageName() string
func (*UpdateServiceRequest) XXX_Size ¶
func (m *UpdateServiceRequest) XXX_Size() int
func (*UpdateServiceRequest) XXX_Unmarshal ¶
func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error
type UpdateUserRequest ¶
type UpdateUserRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Request *UserRequest `protobuf:"bytes,2,opt,name=Request,proto3" json:"Request,omitempty"` ModifiedBy string `protobuf:"bytes,3,opt,name=ModifiedBy,proto3" json:"ModifiedBy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateUserRequest) Descriptor ¶
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
func (*UpdateUserRequest) GetID ¶
func (m *UpdateUserRequest) GetID() string
func (*UpdateUserRequest) GetModifiedBy ¶
func (m *UpdateUserRequest) GetModifiedBy() string
func (*UpdateUserRequest) GetRequest ¶
func (m *UpdateUserRequest) GetRequest() *UserRequest
func (*UpdateUserRequest) Marshal ¶
func (m *UpdateUserRequest) Marshal() (dAtA []byte, err error)
func (*UpdateUserRequest) MarshalTo ¶
func (m *UpdateUserRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateUserRequest) MarshalToSizedBuffer ¶
func (m *UpdateUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) Reset ¶
func (m *UpdateUserRequest) Reset()
func (*UpdateUserRequest) Size ¶
func (m *UpdateUserRequest) Size() (n int)
func (*UpdateUserRequest) String ¶
func (m *UpdateUserRequest) String() string
func (*UpdateUserRequest) Unmarshal ¶
func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error
func (*UpdateUserRequest) Validate ¶
func (this *UpdateUserRequest) Validate() error
func (*UpdateUserRequest) XXX_DiscardUnknown ¶
func (m *UpdateUserRequest) XXX_DiscardUnknown()
func (*UpdateUserRequest) XXX_Marshal ¶
func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateUserRequest) XXX_Merge ¶
func (m *UpdateUserRequest) XXX_Merge(src proto.Message)
func (*UpdateUserRequest) XXX_MessageName ¶
func (*UpdateUserRequest) XXX_MessageName() string
func (*UpdateUserRequest) XXX_Size ¶
func (m *UpdateUserRequest) XXX_Size() int
func (*UpdateUserRequest) XXX_Unmarshal ¶
func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error
type UserRequest ¶
type UserRequest struct { Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"Username,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` Gender string `protobuf:"bytes,3,opt,name=Gender,proto3" json:"Gender,omitempty"` PhoneNumber string `protobuf:"bytes,4,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` Email string `protobuf:"bytes,5,opt,name=Email,proto3" json:"Email,omitempty"` DOB string `protobuf:"bytes,6,opt,name=DOB,proto3" json:"DOB,omitempty"` Avatar string `protobuf:"bytes,7,opt,name=Avatar,proto3" json:"Avatar,omitempty"` Bio string `protobuf:"bytes,8,opt,name=Bio,proto3" json:"Bio,omitempty"` Status string `protobuf:"bytes,9,opt,name=Status,proto3" json:"Status,omitempty"` IsPrivacyPolicyAgreed bool `protobuf:"varint,50,opt,name=IsPrivacyPolicyAgreed,proto3" json:"IsPrivacyPolicyAgreed,omitempty"` IsPhoneNumberVerified bool `protobuf:"varint,51,opt,name=IsPhoneNumberVerified,proto3" json:"IsPhoneNumberVerified,omitempty"` IsActive bool `protobuf:"varint,52,opt,name=IsActive,proto3" json:"IsActive,omitempty"` IsProfilePrivate bool `protobuf:"varint,53,opt,name=IsProfilePrivate,proto3" json:"IsProfilePrivate,omitempty"` IsPhoneNotificationDisabled bool `protobuf:"varint,54,opt,name=IsPhoneNotificationDisabled,proto3" json:"IsPhoneNotificationDisabled,omitempty"` IsEmailNotificationDisabled bool `protobuf:"varint,55,opt,name=IsEmailNotificationDisabled,proto3" json:"IsEmailNotificationDisabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserRequest) Descriptor ¶
func (*UserRequest) Descriptor() ([]byte, []int)
func (*UserRequest) GetAvatar ¶
func (m *UserRequest) GetAvatar() string
func (*UserRequest) GetBio ¶
func (m *UserRequest) GetBio() string
func (*UserRequest) GetDOB ¶
func (m *UserRequest) GetDOB() string
func (*UserRequest) GetEmail ¶
func (m *UserRequest) GetEmail() string
func (*UserRequest) GetGender ¶
func (m *UserRequest) GetGender() string
func (*UserRequest) GetIsActive ¶
func (m *UserRequest) GetIsActive() bool
func (*UserRequest) GetIsEmailNotificationDisabled ¶
func (m *UserRequest) GetIsEmailNotificationDisabled() bool
func (*UserRequest) GetIsPhoneNotificationDisabled ¶
func (m *UserRequest) GetIsPhoneNotificationDisabled() bool
func (*UserRequest) GetIsPhoneNumberVerified ¶
func (m *UserRequest) GetIsPhoneNumberVerified() bool
func (*UserRequest) GetIsPrivacyPolicyAgreed ¶
func (m *UserRequest) GetIsPrivacyPolicyAgreed() bool
func (*UserRequest) GetIsProfilePrivate ¶
func (m *UserRequest) GetIsProfilePrivate() bool
func (*UserRequest) GetPassword ¶
func (m *UserRequest) GetPassword() string
func (*UserRequest) GetPhoneNumber ¶
func (m *UserRequest) GetPhoneNumber() string
func (*UserRequest) GetStatus ¶
func (m *UserRequest) GetStatus() string
func (*UserRequest) GetUsername ¶
func (m *UserRequest) GetUsername() string
func (*UserRequest) Marshal ¶
func (m *UserRequest) Marshal() (dAtA []byte, err error)
func (*UserRequest) MarshalToSizedBuffer ¶
func (m *UserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) Reset ¶
func (m *UserRequest) Reset()
func (*UserRequest) Size ¶
func (m *UserRequest) Size() (n int)
func (*UserRequest) String ¶
func (m *UserRequest) String() string
func (*UserRequest) Unmarshal ¶
func (m *UserRequest) Unmarshal(dAtA []byte) error
func (*UserRequest) Validate ¶
func (this *UserRequest) Validate() error
func (*UserRequest) XXX_DiscardUnknown ¶
func (m *UserRequest) XXX_DiscardUnknown()
func (*UserRequest) XXX_Marshal ¶
func (m *UserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserRequest) XXX_Merge ¶
func (m *UserRequest) XXX_Merge(src proto.Message)
func (*UserRequest) XXX_MessageName ¶
func (*UserRequest) XXX_MessageName() string
func (*UserRequest) XXX_Size ¶
func (m *UserRequest) XXX_Size() int
func (*UserRequest) XXX_Unmarshal ¶
func (m *UserRequest) XXX_Unmarshal(b []byte) error
type UserServiceClient ¶
type UserServiceClient interface { Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*DetailedUserDTO, error) Update(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*DetailedUserDTO, error) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*RepeatedUserSimpleDTO, error) GetUsersByService(ctx context.Context, in *GetUsersByServiceRequest, opts ...grpc.CallOption) (*RepeatedUserSimpleDTO, error) GetCurrentUser(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DetailedUserDTO, error) Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*BoolResponse, error) LoginByUsername(ctx context.Context, in *LoginByUsernameRequest, opts ...grpc.CallOption) (*LoginResponse, error) LoginByEmail(ctx context.Context, in *LoginByEmailRequest, opts ...grpc.CallOption) (*LoginResponse, error) LoginByPhoneNumber(ctx context.Context, in *LoginByPhoneNumberRequest, opts ...grpc.CallOption) (*LoginResponse, error) ServiceLogin(ctx context.Context, in *ServiceLoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Renew(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LoginResponse, error) CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*LoginResponse, error) UpdatesService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*BoolResponse, error) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*BoolResponse, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc *grpc.ClientConn) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { Create(context.Context, *CreateUserRequest) (*DetailedUserDTO, error) Update(context.Context, *UpdateUserRequest) (*DetailedUserDTO, error) GetUsers(context.Context, *GetUsersRequest) (*RepeatedUserSimpleDTO, error) GetUsersByService(context.Context, *GetUsersByServiceRequest) (*RepeatedUserSimpleDTO, error) GetCurrentUser(context.Context, *Empty) (*DetailedUserDTO, error) Delete(context.Context, *DeleteUserRequest) (*BoolResponse, error) LoginByUsername(context.Context, *LoginByUsernameRequest) (*LoginResponse, error) LoginByEmail(context.Context, *LoginByEmailRequest) (*LoginResponse, error) LoginByPhoneNumber(context.Context, *LoginByPhoneNumberRequest) (*LoginResponse, error) ServiceLogin(context.Context, *ServiceLoginRequest) (*LoginResponse, error) Renew(context.Context, *Empty) (*LoginResponse, error) CreateService(context.Context, *CreateServiceRequest) (*LoginResponse, error) UpdatesService(context.Context, *UpdateServiceRequest) (*BoolResponse, error) DeleteService(context.Context, *DeleteServiceRequest) (*BoolResponse, error) }
UserServiceServer is the server API for UserService service.
type UserSimpleDTO ¶
type UserSimpleDTO struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` Gender string `protobuf:"bytes,3,opt,name=Gender,proto3" json:"Gender,omitempty"` DOB string `protobuf:"bytes,4,opt,name=DOB,proto3" json:"DOB,omitempty"` Avatar string `protobuf:"bytes,5,opt,name=Avatar,proto3" json:"Avatar,omitempty"` Bio string `protobuf:"bytes,6,opt,name=Bio,proto3" json:"Bio,omitempty"` Status string `protobuf:"bytes,7,opt,name=Status,proto3" json:"Status,omitempty"` ReferralID uint64 `protobuf:"varint,8,opt,name=ReferralID,proto3" json:"ReferralID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserSimpleDTO) Descriptor ¶
func (*UserSimpleDTO) Descriptor() ([]byte, []int)
func (*UserSimpleDTO) GetAvatar ¶
func (m *UserSimpleDTO) GetAvatar() string
func (*UserSimpleDTO) GetBio ¶
func (m *UserSimpleDTO) GetBio() string
func (*UserSimpleDTO) GetDOB ¶
func (m *UserSimpleDTO) GetDOB() string
func (*UserSimpleDTO) GetGender ¶
func (m *UserSimpleDTO) GetGender() string
func (*UserSimpleDTO) GetID ¶
func (m *UserSimpleDTO) GetID() string
func (*UserSimpleDTO) GetReferralID ¶
func (m *UserSimpleDTO) GetReferralID() uint64
func (*UserSimpleDTO) GetStatus ¶
func (m *UserSimpleDTO) GetStatus() string
func (*UserSimpleDTO) GetUsername ¶
func (m *UserSimpleDTO) GetUsername() string
func (*UserSimpleDTO) Marshal ¶
func (m *UserSimpleDTO) Marshal() (dAtA []byte, err error)
func (*UserSimpleDTO) MarshalToSizedBuffer ¶
func (m *UserSimpleDTO) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserSimpleDTO) ProtoMessage ¶
func (*UserSimpleDTO) ProtoMessage()
func (*UserSimpleDTO) Reset ¶
func (m *UserSimpleDTO) Reset()
func (*UserSimpleDTO) Size ¶
func (m *UserSimpleDTO) Size() (n int)
func (*UserSimpleDTO) String ¶
func (m *UserSimpleDTO) String() string
func (*UserSimpleDTO) Unmarshal ¶
func (m *UserSimpleDTO) Unmarshal(dAtA []byte) error
func (*UserSimpleDTO) Validate ¶
func (this *UserSimpleDTO) Validate() error
func (*UserSimpleDTO) XXX_DiscardUnknown ¶
func (m *UserSimpleDTO) XXX_DiscardUnknown()
func (*UserSimpleDTO) XXX_Marshal ¶
func (m *UserSimpleDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserSimpleDTO) XXX_Merge ¶
func (m *UserSimpleDTO) XXX_Merge(src proto.Message)
func (*UserSimpleDTO) XXX_MessageName ¶
func (*UserSimpleDTO) XXX_MessageName() string
func (*UserSimpleDTO) XXX_Size ¶
func (m *UserSimpleDTO) XXX_Size() int
func (*UserSimpleDTO) XXX_Unmarshal ¶
func (m *UserSimpleDTO) XXX_Unmarshal(b []byte) error