Documentation
¶
Index ¶
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetCity() *City
- func (m *Address) GetCountry() *Country
- func (m *Address) GetPostalCode() string
- func (m *Address) GetProvince() string
- func (m *Address) GetState() *State
- func (m *Address) GetStreetAddressLine1() string
- func (m *Address) GetStreetAddressLine2() string
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type City
- func (*City) Descriptor() ([]byte, []int)
- func (m *City) GetCode() string
- func (m *City) GetName() string
- func (*City) ProtoMessage()
- func (m *City) Reset()
- func (m *City) String() string
- func (m *City) XXX_DiscardUnknown()
- func (m *City) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *City) XXX_Merge(src proto.Message)
- func (m *City) XXX_Size() int
- func (m *City) XXX_Unmarshal(b []byte) error
- type Contact
- func (*Contact) Descriptor() ([]byte, []int)
- func (m *Contact) GetAreaCode() string
- func (m *Contact) GetCountryCode() string
- func (m *Contact) GetLineNumber() string
- func (m *Contact) GetPremfix() string
- func (*Contact) ProtoMessage()
- func (m *Contact) Reset()
- func (m *Contact) String() string
- func (m *Contact) XXX_DiscardUnknown()
- func (m *Contact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contact) XXX_Merge(src proto.Message)
- func (m *Contact) XXX_Size() int
- func (m *Contact) XXX_Unmarshal(b []byte) error
- type Country
- func (*Country) Descriptor() ([]byte, []int)
- func (m *Country) GetCode() string
- func (m *Country) GetName() string
- func (*Country) ProtoMessage()
- func (m *Country) Reset()
- func (m *Country) String() string
- func (m *Country) XXX_DiscardUnknown()
- func (m *Country) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Country) XXX_Merge(src proto.Message)
- func (m *Country) XXX_Size() int
- func (m *Country) XXX_Unmarshal(b []byte) error
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)
- func (m *DeleteUserRequest) GetId() string
- func (*DeleteUserRequest) ProtoMessage()
- func (m *DeleteUserRequest) Reset()
- func (m *DeleteUserRequest) String() string
- 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 (m *DeleteUserRequest) XXX_Size() int
- func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)
- func (m *DeleteUserResponse) GetIsDeleted() bool
- func (*DeleteUserResponse) ProtoMessage()
- func (m *DeleteUserResponse) Reset()
- func (m *DeleteUserResponse) String() string
- func (m *DeleteUserResponse) XXX_DiscardUnknown()
- func (m *DeleteUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteUserResponse) XXX_Merge(src proto.Message)
- func (m *DeleteUserResponse) XXX_Size() int
- func (m *DeleteUserResponse) XXX_Unmarshal(b []byte) error
- type GetAllUsersRequest
- func (*GetAllUsersRequest) Descriptor() ([]byte, []int)
- func (m *GetAllUsersRequest) GetId() string
- func (*GetAllUsersRequest) ProtoMessage()
- func (m *GetAllUsersRequest) Reset()
- func (m *GetAllUsersRequest) String() string
- func (m *GetAllUsersRequest) XXX_DiscardUnknown()
- func (m *GetAllUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllUsersRequest) XXX_Merge(src proto.Message)
- func (m *GetAllUsersRequest) XXX_Size() int
- func (m *GetAllUsersRequest) XXX_Unmarshal(b []byte) error
- type GetAllUsersResponse
- func (*GetAllUsersResponse) Descriptor() ([]byte, []int)
- func (m *GetAllUsersResponse) GetFirstname() []string
- func (m *GetAllUsersResponse) GetLastname() []string
- func (m *GetAllUsersResponse) GetPassword() []string
- func (m *GetAllUsersResponse) GetUsername() []string
- func (*GetAllUsersResponse) ProtoMessage()
- func (m *GetAllUsersResponse) Reset()
- func (m *GetAllUsersResponse) String() string
- func (m *GetAllUsersResponse) XXX_DiscardUnknown()
- func (m *GetAllUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllUsersResponse) XXX_Merge(src proto.Message)
- func (m *GetAllUsersResponse) XXX_Size() int
- func (m *GetAllUsersResponse) XXX_Unmarshal(b []byte) error
- type GetUserByEmailAddressRequest
- func (*GetUserByEmailAddressRequest) Descriptor() ([]byte, []int)
- func (m *GetUserByEmailAddressRequest) GetEmail() string
- func (*GetUserByEmailAddressRequest) ProtoMessage()
- func (m *GetUserByEmailAddressRequest) Reset()
- func (m *GetUserByEmailAddressRequest) String() string
- func (m *GetUserByEmailAddressRequest) XXX_DiscardUnknown()
- func (m *GetUserByEmailAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserByEmailAddressRequest) XXX_Merge(src proto.Message)
- func (m *GetUserByEmailAddressRequest) XXX_Size() int
- func (m *GetUserByEmailAddressRequest) XXX_Unmarshal(b []byte) error
- type GetUserByEmailAddressResponse
- func (*GetUserByEmailAddressResponse) Descriptor() ([]byte, []int)
- func (m *GetUserByEmailAddressResponse) GetUser() *User
- func (*GetUserByEmailAddressResponse) ProtoMessage()
- func (m *GetUserByEmailAddressResponse) Reset()
- func (m *GetUserByEmailAddressResponse) String() string
- func (m *GetUserByEmailAddressResponse) XXX_DiscardUnknown()
- func (m *GetUserByEmailAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserByEmailAddressResponse) XXX_Merge(src proto.Message)
- func (m *GetUserByEmailAddressResponse) XXX_Size() int
- func (m *GetUserByEmailAddressResponse) XXX_Unmarshal(b []byte) error
- type GetUserByUserNameRequest
- func (*GetUserByUserNameRequest) Descriptor() ([]byte, []int)
- func (m *GetUserByUserNameRequest) GetUsername() string
- func (*GetUserByUserNameRequest) ProtoMessage()
- func (m *GetUserByUserNameRequest) Reset()
- func (m *GetUserByUserNameRequest) String() string
- func (m *GetUserByUserNameRequest) XXX_DiscardUnknown()
- func (m *GetUserByUserNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserByUserNameRequest) XXX_Merge(src proto.Message)
- func (m *GetUserByUserNameRequest) XXX_Size() int
- func (m *GetUserByUserNameRequest) XXX_Unmarshal(b []byte) error
- type GetUserByUserNameResponse
- func (*GetUserByUserNameResponse) Descriptor() ([]byte, []int)
- func (m *GetUserByUserNameResponse) GetUser() *User
- func (*GetUserByUserNameResponse) ProtoMessage()
- func (m *GetUserByUserNameResponse) Reset()
- func (m *GetUserByUserNameResponse) String() string
- func (m *GetUserByUserNameResponse) XXX_DiscardUnknown()
- func (m *GetUserByUserNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserByUserNameResponse) XXX_Merge(src proto.Message)
- func (m *GetUserByUserNameResponse) XXX_Size() int
- func (m *GetUserByUserNameResponse) XXX_Unmarshal(b []byte) error
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)
- func (m *GetUserRequest) GetId() string
- func (*GetUserRequest) ProtoMessage()
- func (m *GetUserRequest) Reset()
- func (m *GetUserRequest) String() string
- func (m *GetUserRequest) XXX_DiscardUnknown()
- func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserRequest) XXX_Merge(src proto.Message)
- func (m *GetUserRequest) XXX_Size() int
- func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)
- func (m *GetUserResponse) GetUser() *User
- func (*GetUserResponse) ProtoMessage()
- func (m *GetUserResponse) Reset()
- func (m *GetUserResponse) String() string
- func (m *GetUserResponse) XXX_DiscardUnknown()
- func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserResponse) XXX_Merge(src proto.Message)
- func (m *GetUserResponse) XXX_Size() int
- func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
- type Language
- func (*Language) Descriptor() ([]byte, []int)
- func (m *Language) GetCode() string
- func (m *Language) GetName() string
- func (*Language) ProtoMessage()
- func (m *Language) Reset()
- func (m *Language) String() string
- func (m *Language) XXX_DiscardUnknown()
- func (m *Language) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Language) XXX_Merge(src proto.Message)
- func (m *Language) XXX_Size() int
- func (m *Language) XXX_Unmarshal(b []byte) error
- type Login
- func (*Login) Descriptor() ([]byte, []int)
- func (m *Login) GetPassword() string
- func (m *Login) GetUsername() string
- func (*Login) ProtoMessage()
- func (m *Login) Reset()
- func (m *Login) String() string
- func (m *Login) XXX_DiscardUnknown()
- func (m *Login) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Login) XXX_Merge(src proto.Message)
- func (m *Login) XXX_Size() int
- func (m *Login) XXX_Unmarshal(b []byte) error
- type Register
- func (*Register) Descriptor() ([]byte, []int)
- func (m *Register) GetFirstname() string
- func (m *Register) GetGender() string
- func (m *Register) GetLastname() string
- func (m *Register) GetPassword() string
- func (m *Register) GetStatus() string
- func (m *Register) GetUsername() string
- func (*Register) ProtoMessage()
- func (m *Register) Reset()
- func (m *Register) String() string
- func (m *Register) XXX_DiscardUnknown()
- func (m *Register) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Register) XXX_Merge(src proto.Message)
- func (m *Register) XXX_Size() int
- func (m *Register) XXX_Unmarshal(b []byte) error
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) GetCode() string
- func (m *State) GetName() string
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) String() string
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
- type UnimplementedUserServiceServer
- func (*UnimplementedUserServiceServer) DeleteUser(ctx context.Context, req *DeleteUserRequest) (*DeleteUserResponse, error)
- func (*UnimplementedUserServiceServer) GetAllUsers(ctx context.Context, req *GetAllUsersRequest) (*GetAllUsersResponse, error)
- func (*UnimplementedUserServiceServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error)
- func (*UnimplementedUserServiceServer) GetUserByEmailAddress(ctx context.Context, req *GetUserByEmailAddressRequest) (*GetUserByEmailAddressResponse, error)
- func (*UnimplementedUserServiceServer) GetUserByUserName(ctx context.Context, req *GetUserByUserNameRequest) (*GetUserByUserNameResponse, error)
- func (*UnimplementedUserServiceServer) UserLogin(ctx context.Context, req *UserLoginRequest) (*UserLoginResponse, error)
- func (*UnimplementedUserServiceServer) UserRegister(ctx context.Context, req *UserRegisterRequest) (*UserRegisterResponse, error)
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetBillingAddress() *Address
- func (m *User) GetBirthDate() *timestamp.Timestamp
- func (m *User) GetDateJoined() *timestamp.Timestamp
- func (m *User) GetEmailaddress() string
- func (m *User) GetFirstname() string
- func (m *User) GetGender() string
- func (m *User) GetId() string
- func (m *User) GetLanguages() []*Language
- func (m *User) GetLastname() string
- func (m *User) GetMailingAddress() *Address
- func (m *User) GetMiddlename() string
- func (m *User) GetMobilePhoneNumber() *Contact
- func (m *User) GetName() string
- func (m *User) GetPassword() string
- func (m *User) GetStatus() string
- func (m *User) GetType() string
- func (m *User) GetUsername() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserLoginRequest
- func (*UserLoginRequest) Descriptor() ([]byte, []int)
- func (m *UserLoginRequest) GetPassword() string
- func (m *UserLoginRequest) GetUsername() string
- func (*UserLoginRequest) ProtoMessage()
- func (m *UserLoginRequest) Reset()
- func (m *UserLoginRequest) String() string
- func (m *UserLoginRequest) XXX_DiscardUnknown()
- func (m *UserLoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserLoginRequest) XXX_Merge(src proto.Message)
- func (m *UserLoginRequest) XXX_Size() int
- func (m *UserLoginRequest) XXX_Unmarshal(b []byte) error
- type UserLoginResponse
- func (*UserLoginResponse) Descriptor() ([]byte, []int)
- func (m *UserLoginResponse) GetToken() string
- func (*UserLoginResponse) ProtoMessage()
- func (m *UserLoginResponse) Reset()
- func (m *UserLoginResponse) String() string
- func (m *UserLoginResponse) XXX_DiscardUnknown()
- func (m *UserLoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserLoginResponse) XXX_Merge(src proto.Message)
- func (m *UserLoginResponse) XXX_Size() int
- func (m *UserLoginResponse) XXX_Unmarshal(b []byte) error
- type UserRegisterRequest
- func (*UserRegisterRequest) Descriptor() ([]byte, []int)
- func (m *UserRegisterRequest) GetRegister() *Register
- func (*UserRegisterRequest) ProtoMessage()
- func (m *UserRegisterRequest) Reset()
- func (m *UserRegisterRequest) String() string
- func (m *UserRegisterRequest) XXX_DiscardUnknown()
- func (m *UserRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserRegisterRequest) XXX_Merge(src proto.Message)
- func (m *UserRegisterRequest) XXX_Size() int
- func (m *UserRegisterRequest) XXX_Unmarshal(b []byte) error
- type UserRegisterResponse
- func (*UserRegisterResponse) Descriptor() ([]byte, []int)
- func (m *UserRegisterResponse) GetUser() *User
- func (*UserRegisterResponse) ProtoMessage()
- func (m *UserRegisterResponse) Reset()
- func (m *UserRegisterResponse) String() string
- func (m *UserRegisterResponse) XXX_DiscardUnknown()
- func (m *UserRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserRegisterResponse) XXX_Merge(src proto.Message)
- func (m *UserRegisterResponse) XXX_Size() int
- func (m *UserRegisterResponse) XXX_Unmarshal(b []byte) error
- type UserServiceClient
- type UserServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
Types ¶
type Address ¶
type Address struct { StreetAddressLine1 string `protobuf:"bytes,1,opt,name=StreetAddressLine1,proto3" json:"StreetAddressLine1,omitempty"` StreetAddressLine2 string `protobuf:"bytes,2,opt,name=StreetAddressLine2,proto3" json:"StreetAddressLine2,omitempty"` PostalCode string `protobuf:"bytes,3,opt,name=PostalCode,proto3" json:"PostalCode,omitempty"` Province string `protobuf:"bytes,4,opt,name=Province,proto3" json:"Province,omitempty"` Country *Country `protobuf:"bytes,5,opt,name=Country,proto3" json:"Country,omitempty"` State *State `protobuf:"bytes,6,opt,name=State,proto3" json:"State,omitempty"` City *City `protobuf:"bytes,7,opt,name=City,proto3" json:"City,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Address) Descriptor ¶
func (*Address) GetCountry ¶
func (*Address) GetPostalCode ¶
func (*Address) GetProvince ¶
func (*Address) GetStreetAddressLine1 ¶
func (*Address) GetStreetAddressLine2 ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type City ¶
type City struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Code string `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*City) Descriptor ¶
func (*City) ProtoMessage ¶
func (*City) ProtoMessage()
func (*City) XXX_DiscardUnknown ¶
func (m *City) XXX_DiscardUnknown()
func (*City) XXX_Unmarshal ¶
type Contact ¶
type Contact struct { LineNumber string `protobuf:"bytes,1,opt,name=LineNumber,proto3" json:"LineNumber,omitempty"` CountryCode string `protobuf:"bytes,2,opt,name=CountryCode,proto3" json:"CountryCode,omitempty"` AreaCode string `protobuf:"bytes,3,opt,name=AreaCode,proto3" json:"AreaCode,omitempty"` Premfix string `protobuf:"bytes,4,opt,name=Premfix,proto3" json:"Premfix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Contact) Descriptor ¶
func (*Contact) GetAreaCode ¶
func (*Contact) GetCountryCode ¶
func (*Contact) GetLineNumber ¶
func (*Contact) GetPremfix ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) XXX_DiscardUnknown ¶
func (m *Contact) XXX_DiscardUnknown()
func (*Contact) XXX_Marshal ¶
func (*Contact) XXX_Unmarshal ¶
type Country ¶
type Country struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Code string `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Country) Descriptor ¶
func (*Country) ProtoMessage ¶
func (*Country) ProtoMessage()
func (*Country) XXX_DiscardUnknown ¶
func (m *Country) XXX_DiscardUnknown()
func (*Country) XXX_Marshal ¶
func (*Country) XXX_Unmarshal ¶
type DeleteUserRequest ¶
type DeleteUserRequest 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 (*DeleteUserRequest) Descriptor ¶
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
func (*DeleteUserRequest) GetId ¶
func (m *DeleteUserRequest) GetId() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) Reset ¶
func (m *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (m *DeleteUserRequest) String() string
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_Size ¶
func (m *DeleteUserRequest) XXX_Size() int
func (*DeleteUserRequest) XXX_Unmarshal ¶
func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
type DeleteUserResponse ¶
type DeleteUserResponse struct { IsDeleted bool `protobuf:"varint,1,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteUserResponse) Descriptor ¶
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
func (*DeleteUserResponse) GetIsDeleted ¶
func (m *DeleteUserResponse) GetIsDeleted() bool
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) Reset ¶
func (m *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (m *DeleteUserResponse) String() string
func (*DeleteUserResponse) XXX_DiscardUnknown ¶
func (m *DeleteUserResponse) XXX_DiscardUnknown()
func (*DeleteUserResponse) XXX_Marshal ¶
func (m *DeleteUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteUserResponse) XXX_Merge ¶
func (m *DeleteUserResponse) XXX_Merge(src proto.Message)
func (*DeleteUserResponse) XXX_Size ¶
func (m *DeleteUserResponse) XXX_Size() int
func (*DeleteUserResponse) XXX_Unmarshal ¶
func (m *DeleteUserResponse) XXX_Unmarshal(b []byte) error
type GetAllUsersRequest ¶
type GetAllUsersRequest 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 (*GetAllUsersRequest) Descriptor ¶
func (*GetAllUsersRequest) Descriptor() ([]byte, []int)
func (*GetAllUsersRequest) GetId ¶
func (m *GetAllUsersRequest) GetId() string
func (*GetAllUsersRequest) ProtoMessage ¶
func (*GetAllUsersRequest) ProtoMessage()
func (*GetAllUsersRequest) Reset ¶
func (m *GetAllUsersRequest) Reset()
func (*GetAllUsersRequest) String ¶
func (m *GetAllUsersRequest) String() string
func (*GetAllUsersRequest) XXX_DiscardUnknown ¶
func (m *GetAllUsersRequest) XXX_DiscardUnknown()
func (*GetAllUsersRequest) XXX_Marshal ¶
func (m *GetAllUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllUsersRequest) XXX_Merge ¶
func (m *GetAllUsersRequest) XXX_Merge(src proto.Message)
func (*GetAllUsersRequest) XXX_Size ¶
func (m *GetAllUsersRequest) XXX_Size() int
func (*GetAllUsersRequest) XXX_Unmarshal ¶
func (m *GetAllUsersRequest) XXX_Unmarshal(b []byte) error
type GetAllUsersResponse ¶
type GetAllUsersResponse struct { Username []string `protobuf:"bytes,1,rep,name=username,proto3" json:"username,omitempty"` Password []string `protobuf:"bytes,2,rep,name=password,proto3" json:"password,omitempty"` Firstname []string `protobuf:"bytes,3,rep,name=firstname,proto3" json:"firstname,omitempty"` Lastname []string `protobuf:"bytes,4,rep,name=lastname,proto3" json:"lastname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAllUsersResponse) Descriptor ¶
func (*GetAllUsersResponse) Descriptor() ([]byte, []int)
func (*GetAllUsersResponse) GetFirstname ¶
func (m *GetAllUsersResponse) GetFirstname() []string
func (*GetAllUsersResponse) GetLastname ¶
func (m *GetAllUsersResponse) GetLastname() []string
func (*GetAllUsersResponse) GetPassword ¶
func (m *GetAllUsersResponse) GetPassword() []string
func (*GetAllUsersResponse) GetUsername ¶
func (m *GetAllUsersResponse) GetUsername() []string
func (*GetAllUsersResponse) ProtoMessage ¶
func (*GetAllUsersResponse) ProtoMessage()
func (*GetAllUsersResponse) Reset ¶
func (m *GetAllUsersResponse) Reset()
func (*GetAllUsersResponse) String ¶
func (m *GetAllUsersResponse) String() string
func (*GetAllUsersResponse) XXX_DiscardUnknown ¶
func (m *GetAllUsersResponse) XXX_DiscardUnknown()
func (*GetAllUsersResponse) XXX_Marshal ¶
func (m *GetAllUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllUsersResponse) XXX_Merge ¶
func (m *GetAllUsersResponse) XXX_Merge(src proto.Message)
func (*GetAllUsersResponse) XXX_Size ¶
func (m *GetAllUsersResponse) XXX_Size() int
func (*GetAllUsersResponse) XXX_Unmarshal ¶
func (m *GetAllUsersResponse) XXX_Unmarshal(b []byte) error
type GetUserByEmailAddressRequest ¶
type GetUserByEmailAddressRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserByEmailAddressRequest) Descriptor ¶
func (*GetUserByEmailAddressRequest) Descriptor() ([]byte, []int)
func (*GetUserByEmailAddressRequest) GetEmail ¶
func (m *GetUserByEmailAddressRequest) GetEmail() string
func (*GetUserByEmailAddressRequest) ProtoMessage ¶
func (*GetUserByEmailAddressRequest) ProtoMessage()
func (*GetUserByEmailAddressRequest) Reset ¶
func (m *GetUserByEmailAddressRequest) Reset()
func (*GetUserByEmailAddressRequest) String ¶
func (m *GetUserByEmailAddressRequest) String() string
func (*GetUserByEmailAddressRequest) XXX_DiscardUnknown ¶
func (m *GetUserByEmailAddressRequest) XXX_DiscardUnknown()
func (*GetUserByEmailAddressRequest) XXX_Marshal ¶
func (m *GetUserByEmailAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserByEmailAddressRequest) XXX_Merge ¶
func (m *GetUserByEmailAddressRequest) XXX_Merge(src proto.Message)
func (*GetUserByEmailAddressRequest) XXX_Size ¶
func (m *GetUserByEmailAddressRequest) XXX_Size() int
func (*GetUserByEmailAddressRequest) XXX_Unmarshal ¶
func (m *GetUserByEmailAddressRequest) XXX_Unmarshal(b []byte) error
type GetUserByEmailAddressResponse ¶
type GetUserByEmailAddressResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserByEmailAddressResponse) Descriptor ¶
func (*GetUserByEmailAddressResponse) Descriptor() ([]byte, []int)
func (*GetUserByEmailAddressResponse) GetUser ¶
func (m *GetUserByEmailAddressResponse) GetUser() *User
func (*GetUserByEmailAddressResponse) ProtoMessage ¶
func (*GetUserByEmailAddressResponse) ProtoMessage()
func (*GetUserByEmailAddressResponse) Reset ¶
func (m *GetUserByEmailAddressResponse) Reset()
func (*GetUserByEmailAddressResponse) String ¶
func (m *GetUserByEmailAddressResponse) String() string
func (*GetUserByEmailAddressResponse) XXX_DiscardUnknown ¶
func (m *GetUserByEmailAddressResponse) XXX_DiscardUnknown()
func (*GetUserByEmailAddressResponse) XXX_Marshal ¶
func (m *GetUserByEmailAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserByEmailAddressResponse) XXX_Merge ¶
func (m *GetUserByEmailAddressResponse) XXX_Merge(src proto.Message)
func (*GetUserByEmailAddressResponse) XXX_Size ¶
func (m *GetUserByEmailAddressResponse) XXX_Size() int
func (*GetUserByEmailAddressResponse) XXX_Unmarshal ¶
func (m *GetUserByEmailAddressResponse) XXX_Unmarshal(b []byte) error
type GetUserByUserNameRequest ¶
type GetUserByUserNameRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserByUserNameRequest) Descriptor ¶
func (*GetUserByUserNameRequest) Descriptor() ([]byte, []int)
func (*GetUserByUserNameRequest) GetUsername ¶
func (m *GetUserByUserNameRequest) GetUsername() string
func (*GetUserByUserNameRequest) ProtoMessage ¶
func (*GetUserByUserNameRequest) ProtoMessage()
func (*GetUserByUserNameRequest) Reset ¶
func (m *GetUserByUserNameRequest) Reset()
func (*GetUserByUserNameRequest) String ¶
func (m *GetUserByUserNameRequest) String() string
func (*GetUserByUserNameRequest) XXX_DiscardUnknown ¶
func (m *GetUserByUserNameRequest) XXX_DiscardUnknown()
func (*GetUserByUserNameRequest) XXX_Marshal ¶
func (m *GetUserByUserNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserByUserNameRequest) XXX_Merge ¶
func (m *GetUserByUserNameRequest) XXX_Merge(src proto.Message)
func (*GetUserByUserNameRequest) XXX_Size ¶
func (m *GetUserByUserNameRequest) XXX_Size() int
func (*GetUserByUserNameRequest) XXX_Unmarshal ¶
func (m *GetUserByUserNameRequest) XXX_Unmarshal(b []byte) error
type GetUserByUserNameResponse ¶
type GetUserByUserNameResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserByUserNameResponse) Descriptor ¶
func (*GetUserByUserNameResponse) Descriptor() ([]byte, []int)
func (*GetUserByUserNameResponse) GetUser ¶
func (m *GetUserByUserNameResponse) GetUser() *User
func (*GetUserByUserNameResponse) ProtoMessage ¶
func (*GetUserByUserNameResponse) ProtoMessage()
func (*GetUserByUserNameResponse) Reset ¶
func (m *GetUserByUserNameResponse) Reset()
func (*GetUserByUserNameResponse) String ¶
func (m *GetUserByUserNameResponse) String() string
func (*GetUserByUserNameResponse) XXX_DiscardUnknown ¶
func (m *GetUserByUserNameResponse) XXX_DiscardUnknown()
func (*GetUserByUserNameResponse) XXX_Marshal ¶
func (m *GetUserByUserNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserByUserNameResponse) XXX_Merge ¶
func (m *GetUserByUserNameResponse) XXX_Merge(src proto.Message)
func (*GetUserByUserNameResponse) XXX_Size ¶
func (m *GetUserByUserNameResponse) XXX_Size() int
func (*GetUserByUserNameResponse) XXX_Unmarshal ¶
func (m *GetUserByUserNameResponse) XXX_Unmarshal(b []byte) error
type GetUserRequest ¶
type GetUserRequest 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 (*GetUserRequest) Descriptor ¶
func (*GetUserRequest) Descriptor() ([]byte, []int)
func (*GetUserRequest) GetId ¶
func (m *GetUserRequest) GetId() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) Reset ¶
func (m *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (m *GetUserRequest) String() string
func (*GetUserRequest) XXX_DiscardUnknown ¶
func (m *GetUserRequest) XXX_DiscardUnknown()
func (*GetUserRequest) XXX_Marshal ¶
func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserRequest) XXX_Merge ¶
func (m *GetUserRequest) XXX_Merge(src proto.Message)
func (*GetUserRequest) XXX_Size ¶
func (m *GetUserRequest) XXX_Size() int
func (*GetUserRequest) XXX_Unmarshal ¶
func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserResponse) Descriptor ¶
func (*GetUserResponse) Descriptor() ([]byte, []int)
func (*GetUserResponse) GetUser ¶
func (m *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) Reset ¶
func (m *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (m *GetUserResponse) String() string
func (*GetUserResponse) XXX_DiscardUnknown ¶
func (m *GetUserResponse) XXX_DiscardUnknown()
func (*GetUserResponse) XXX_Marshal ¶
func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserResponse) XXX_Merge ¶
func (m *GetUserResponse) XXX_Merge(src proto.Message)
func (*GetUserResponse) XXX_Size ¶
func (m *GetUserResponse) XXX_Size() int
func (*GetUserResponse) XXX_Unmarshal ¶
func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
type Language ¶
type Language struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Code string `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Language) Descriptor ¶
func (*Language) ProtoMessage ¶
func (*Language) ProtoMessage()
func (*Language) XXX_DiscardUnknown ¶
func (m *Language) XXX_DiscardUnknown()
func (*Language) XXX_Marshal ¶
func (*Language) XXX_Unmarshal ¶
type Login ¶
type Login 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 (*Login) Descriptor ¶
func (*Login) GetPassword ¶
func (*Login) GetUsername ¶
func (*Login) ProtoMessage ¶
func (*Login) ProtoMessage()
func (*Login) XXX_DiscardUnknown ¶
func (m *Login) XXX_DiscardUnknown()
func (*Login) XXX_Marshal ¶
func (*Login) XXX_Unmarshal ¶
type Register ¶
type Register 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"` Firstname string `protobuf:"bytes,3,opt,name=firstname,proto3" json:"firstname,omitempty"` Lastname string `protobuf:"bytes,4,opt,name=lastname,proto3" json:"lastname,omitempty"` Gender string `protobuf:"bytes,5,opt,name=gender,proto3" json:"gender,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Register) Descriptor ¶
func (*Register) GetFirstname ¶
func (*Register) GetLastname ¶
func (*Register) GetPassword ¶
func (*Register) GetUsername ¶
func (*Register) ProtoMessage ¶
func (*Register) ProtoMessage()
func (*Register) XXX_DiscardUnknown ¶
func (m *Register) XXX_DiscardUnknown()
func (*Register) XXX_Marshal ¶
func (*Register) XXX_Unmarshal ¶
type State ¶
type State struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Code string `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*State) Descriptor ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServiceServer) DeleteUser ¶
func (*UnimplementedUserServiceServer) DeleteUser(ctx context.Context, req *DeleteUserRequest) (*DeleteUserResponse, error)
func (*UnimplementedUserServiceServer) GetAllUsers ¶
func (*UnimplementedUserServiceServer) GetAllUsers(ctx context.Context, req *GetAllUsersRequest) (*GetAllUsersResponse, error)
func (*UnimplementedUserServiceServer) GetUser ¶
func (*UnimplementedUserServiceServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error)
func (*UnimplementedUserServiceServer) GetUserByEmailAddress ¶
func (*UnimplementedUserServiceServer) GetUserByEmailAddress(ctx context.Context, req *GetUserByEmailAddressRequest) (*GetUserByEmailAddressResponse, error)
func (*UnimplementedUserServiceServer) GetUserByUserName ¶
func (*UnimplementedUserServiceServer) GetUserByUserName(ctx context.Context, req *GetUserByUserNameRequest) (*GetUserByUserNameResponse, error)
func (*UnimplementedUserServiceServer) UserLogin ¶
func (*UnimplementedUserServiceServer) UserLogin(ctx context.Context, req *UserLoginRequest) (*UserLoginResponse, error)
func (*UnimplementedUserServiceServer) UserRegister ¶
func (*UnimplementedUserServiceServer) UserRegister(ctx context.Context, req *UserRegisterRequest) (*UserRegisterResponse, error)
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,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"` Firstname string `protobuf:"bytes,5,opt,name=firstname,proto3" json:"firstname,omitempty"` Lastname string `protobuf:"bytes,6,opt,name=lastname,proto3" json:"lastname,omitempty"` Middlename string `protobuf:"bytes,7,opt,name=middlename,proto3" json:"middlename,omitempty"` Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"` Emailaddress string `protobuf:"bytes,10,opt,name=emailaddress,proto3" json:"emailaddress,omitempty"` BirthDate *timestamp.Timestamp `protobuf:"bytes,11,opt,name=birthDate,proto3" json:"birthDate,omitempty"` DateJoined *timestamp.Timestamp `protobuf:"bytes,12,opt,name=dateJoined,proto3" json:"dateJoined,omitempty"` Gender string `protobuf:"bytes,13,opt,name=gender,proto3" json:"gender,omitempty"` MobilePhoneNumber *Contact `protobuf:"bytes,14,opt,name=MobilePhoneNumber,proto3" json:"MobilePhoneNumber,omitempty"` BillingAddress *Address `protobuf:"bytes,15,opt,name=BillingAddress,proto3" json:"BillingAddress,omitempty"` MailingAddress *Address `protobuf:"bytes,16,opt,name=MailingAddress,proto3" json:"MailingAddress,omitempty"` Languages []*Language `protobuf:"bytes,17,rep,name=languages,proto3" json:"languages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetBillingAddress ¶
func (*User) GetBirthDate ¶
func (*User) GetDateJoined ¶
func (*User) GetEmailaddress ¶
func (*User) GetFirstname ¶
func (*User) GetLanguages ¶
func (*User) GetLastname ¶
func (*User) GetMailingAddress ¶
func (*User) GetMiddlename ¶
func (*User) GetMobilePhoneNumber ¶
func (*User) GetPassword ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserLoginRequest ¶
type UserLoginRequest 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 (*UserLoginRequest) Descriptor ¶
func (*UserLoginRequest) Descriptor() ([]byte, []int)
func (*UserLoginRequest) GetPassword ¶
func (m *UserLoginRequest) GetPassword() string
func (*UserLoginRequest) GetUsername ¶
func (m *UserLoginRequest) GetUsername() string
func (*UserLoginRequest) ProtoMessage ¶
func (*UserLoginRequest) ProtoMessage()
func (*UserLoginRequest) Reset ¶
func (m *UserLoginRequest) Reset()
func (*UserLoginRequest) String ¶
func (m *UserLoginRequest) String() string
func (*UserLoginRequest) XXX_DiscardUnknown ¶
func (m *UserLoginRequest) XXX_DiscardUnknown()
func (*UserLoginRequest) XXX_Marshal ¶
func (m *UserLoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserLoginRequest) XXX_Merge ¶
func (m *UserLoginRequest) XXX_Merge(src proto.Message)
func (*UserLoginRequest) XXX_Size ¶
func (m *UserLoginRequest) XXX_Size() int
func (*UserLoginRequest) XXX_Unmarshal ¶
func (m *UserLoginRequest) XXX_Unmarshal(b []byte) error
type UserLoginResponse ¶
type UserLoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserLoginResponse) Descriptor ¶
func (*UserLoginResponse) Descriptor() ([]byte, []int)
func (*UserLoginResponse) GetToken ¶
func (m *UserLoginResponse) GetToken() string
func (*UserLoginResponse) ProtoMessage ¶
func (*UserLoginResponse) ProtoMessage()
func (*UserLoginResponse) Reset ¶
func (m *UserLoginResponse) Reset()
func (*UserLoginResponse) String ¶
func (m *UserLoginResponse) String() string
func (*UserLoginResponse) XXX_DiscardUnknown ¶
func (m *UserLoginResponse) XXX_DiscardUnknown()
func (*UserLoginResponse) XXX_Marshal ¶
func (m *UserLoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserLoginResponse) XXX_Merge ¶
func (m *UserLoginResponse) XXX_Merge(src proto.Message)
func (*UserLoginResponse) XXX_Size ¶
func (m *UserLoginResponse) XXX_Size() int
func (*UserLoginResponse) XXX_Unmarshal ¶
func (m *UserLoginResponse) XXX_Unmarshal(b []byte) error
type UserRegisterRequest ¶
type UserRegisterRequest struct { Register *Register `protobuf:"bytes,1,opt,name=register,proto3" json:"register,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserRegisterRequest) Descriptor ¶
func (*UserRegisterRequest) Descriptor() ([]byte, []int)
func (*UserRegisterRequest) GetRegister ¶
func (m *UserRegisterRequest) GetRegister() *Register
func (*UserRegisterRequest) ProtoMessage ¶
func (*UserRegisterRequest) ProtoMessage()
func (*UserRegisterRequest) Reset ¶
func (m *UserRegisterRequest) Reset()
func (*UserRegisterRequest) String ¶
func (m *UserRegisterRequest) String() string
func (*UserRegisterRequest) XXX_DiscardUnknown ¶
func (m *UserRegisterRequest) XXX_DiscardUnknown()
func (*UserRegisterRequest) XXX_Marshal ¶
func (m *UserRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserRegisterRequest) XXX_Merge ¶
func (m *UserRegisterRequest) XXX_Merge(src proto.Message)
func (*UserRegisterRequest) XXX_Size ¶
func (m *UserRegisterRequest) XXX_Size() int
func (*UserRegisterRequest) XXX_Unmarshal ¶
func (m *UserRegisterRequest) XXX_Unmarshal(b []byte) error
type UserRegisterResponse ¶
type UserRegisterResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserRegisterResponse) Descriptor ¶
func (*UserRegisterResponse) Descriptor() ([]byte, []int)
func (*UserRegisterResponse) GetUser ¶
func (m *UserRegisterResponse) GetUser() *User
func (*UserRegisterResponse) ProtoMessage ¶
func (*UserRegisterResponse) ProtoMessage()
func (*UserRegisterResponse) Reset ¶
func (m *UserRegisterResponse) Reset()
func (*UserRegisterResponse) String ¶
func (m *UserRegisterResponse) String() string
func (*UserRegisterResponse) XXX_DiscardUnknown ¶
func (m *UserRegisterResponse) XXX_DiscardUnknown()
func (*UserRegisterResponse) XXX_Marshal ¶
func (m *UserRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserRegisterResponse) XXX_Merge ¶
func (m *UserRegisterResponse) XXX_Merge(src proto.Message)
func (*UserRegisterResponse) XXX_Size ¶
func (m *UserRegisterResponse) XXX_Size() int
func (*UserRegisterResponse) XXX_Unmarshal ¶
func (m *UserRegisterResponse) XXX_Unmarshal(b []byte) error
type UserServiceClient ¶
type UserServiceClient interface { UserLogin(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*UserLoginResponse, error) UserRegister(ctx context.Context, in *UserRegisterRequest, opts ...grpc.CallOption) (*UserRegisterResponse, error) GetAllUsers(ctx context.Context, in *GetAllUsersRequest, opts ...grpc.CallOption) (*GetAllUsersResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) GetUserByUserName(ctx context.Context, in *GetUserByUserNameRequest, opts ...grpc.CallOption) (*GetUserByUserNameResponse, error) GetUserByEmailAddress(ctx context.Context, in *GetUserByEmailAddressRequest, opts ...grpc.CallOption) (*GetUserByEmailAddressResponse, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, 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 { UserLogin(context.Context, *UserLoginRequest) (*UserLoginResponse, error) UserRegister(context.Context, *UserRegisterRequest) (*UserRegisterResponse, error) GetAllUsers(context.Context, *GetAllUsersRequest) (*GetAllUsersResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) GetUserByUserName(context.Context, *GetUserByUserNameRequest) (*GetUserByUserNameResponse, error) GetUserByEmailAddress(context.Context, *GetUserByEmailAddressRequest) (*GetUserByEmailAddressResponse, error) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) }
UserServiceServer is the server API for UserService service.
Click to show internal directories.
Click to hide internal directories.