Documentation ¶
Index ¶
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type UnimplementedUserServiceServer
- func (*UnimplementedUserServiceServer) Create(ctx context.Context, req *UserCreateRequest) (*UserCreateResponse, error)
- func (*UnimplementedUserServiceServer) Delete(ctx context.Context, req *UserDeleteRequest) (*UserDeleteResponse, error)
- func (*UnimplementedUserServiceServer) Get(ctx context.Context, req *UserGetRequest) (*UserGetResponse, error)
- func (*UnimplementedUserServiceServer) GetByEmail(ctx context.Context, req *UserGetByEmailRequest) (*UserGetByEmailResponse, error)
- func (*UnimplementedUserServiceServer) List(ctx context.Context, req *UserListRequest) (*UserListResponse, error)
- func (*UnimplementedUserServiceServer) Update(ctx context.Context, req *UserUpdateRequest) (*UserUpdateResponse, error)
- func (*UnimplementedUserServiceServer) VerifyPassword(ctx context.Context, req *UserVerifyPasswordRequest) (*UserVerifyPasswordResponse, error)
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetCreatedAt() int64
- func (m *User) GetEmail() string
- func (m *User) GetId() string
- func (m *User) GetName() string
- func (m *User) GetPassword() string
- func (m *User) GetUpdatedAt() int64
- func (m *User) GetVerified() bool
- 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 UserCreateRequest
- func (*UserCreateRequest) Descriptor() ([]byte, []int)
- func (m *UserCreateRequest) GetData() *User
- func (*UserCreateRequest) ProtoMessage()
- func (m *UserCreateRequest) Reset()
- func (m *UserCreateRequest) String() string
- func (m *UserCreateRequest) XXX_DiscardUnknown()
- func (m *UserCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserCreateRequest) XXX_Merge(src proto.Message)
- func (m *UserCreateRequest) XXX_Size() int
- func (m *UserCreateRequest) XXX_Unmarshal(b []byte) error
- type UserCreateResponse
- func (*UserCreateResponse) Descriptor() ([]byte, []int)
- func (m *UserCreateResponse) GetData() *User
- func (m *UserCreateResponse) GetError() *UserError
- func (m *UserCreateResponse) GetMeta() *UserMeta
- func (*UserCreateResponse) ProtoMessage()
- func (m *UserCreateResponse) Reset()
- func (m *UserCreateResponse) String() string
- func (m *UserCreateResponse) XXX_DiscardUnknown()
- func (m *UserCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserCreateResponse) XXX_Merge(src proto.Message)
- func (m *UserCreateResponse) XXX_Size() int
- func (m *UserCreateResponse) XXX_Unmarshal(b []byte) error
- type UserDeleteRequest
- func (*UserDeleteRequest) Descriptor() ([]byte, []int)
- func (m *UserDeleteRequest) GetUserId() string
- func (*UserDeleteRequest) ProtoMessage()
- func (m *UserDeleteRequest) Reset()
- func (m *UserDeleteRequest) String() string
- func (m *UserDeleteRequest) XXX_DiscardUnknown()
- func (m *UserDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserDeleteRequest) XXX_Merge(src proto.Message)
- func (m *UserDeleteRequest) XXX_Size() int
- func (m *UserDeleteRequest) XXX_Unmarshal(b []byte) error
- type UserDeleteResponse
- func (*UserDeleteResponse) Descriptor() ([]byte, []int)
- func (m *UserDeleteResponse) GetData() *User
- func (m *UserDeleteResponse) GetError() *UserError
- func (m *UserDeleteResponse) GetMeta() *UserMeta
- func (*UserDeleteResponse) ProtoMessage()
- func (m *UserDeleteResponse) Reset()
- func (m *UserDeleteResponse) String() string
- func (m *UserDeleteResponse) XXX_DiscardUnknown()
- func (m *UserDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserDeleteResponse) XXX_Merge(src proto.Message)
- func (m *UserDeleteResponse) XXX_Size() int
- func (m *UserDeleteResponse) XXX_Unmarshal(b []byte) error
- type UserError
- func (*UserError) Descriptor() ([]byte, []int)
- func (m *UserError) GetCode() int32
- func (m *UserError) GetMessage() string
- func (*UserError) ProtoMessage()
- func (m *UserError) Reset()
- func (m *UserError) String() string
- func (m *UserError) XXX_DiscardUnknown()
- func (m *UserError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserError) XXX_Merge(src proto.Message)
- func (m *UserError) XXX_Size() int
- func (m *UserError) XXX_Unmarshal(b []byte) error
- type UserGetByEmailRequest
- func (*UserGetByEmailRequest) Descriptor() ([]byte, []int)
- func (m *UserGetByEmailRequest) GetEmail() string
- func (*UserGetByEmailRequest) ProtoMessage()
- func (m *UserGetByEmailRequest) Reset()
- func (m *UserGetByEmailRequest) String() string
- func (m *UserGetByEmailRequest) XXX_DiscardUnknown()
- func (m *UserGetByEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserGetByEmailRequest) XXX_Merge(src proto.Message)
- func (m *UserGetByEmailRequest) XXX_Size() int
- func (m *UserGetByEmailRequest) XXX_Unmarshal(b []byte) error
- type UserGetByEmailResponse
- func (*UserGetByEmailResponse) Descriptor() ([]byte, []int)
- func (m *UserGetByEmailResponse) GetData() *User
- func (m *UserGetByEmailResponse) GetError() *UserError
- func (m *UserGetByEmailResponse) GetMeta() *UserMeta
- func (*UserGetByEmailResponse) ProtoMessage()
- func (m *UserGetByEmailResponse) Reset()
- func (m *UserGetByEmailResponse) String() string
- func (m *UserGetByEmailResponse) XXX_DiscardUnknown()
- func (m *UserGetByEmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserGetByEmailResponse) XXX_Merge(src proto.Message)
- func (m *UserGetByEmailResponse) XXX_Size() int
- func (m *UserGetByEmailResponse) XXX_Unmarshal(b []byte) error
- type UserGetRequest
- func (*UserGetRequest) Descriptor() ([]byte, []int)
- func (m *UserGetRequest) GetUserId() string
- func (*UserGetRequest) ProtoMessage()
- func (m *UserGetRequest) Reset()
- func (m *UserGetRequest) String() string
- func (m *UserGetRequest) XXX_DiscardUnknown()
- func (m *UserGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserGetRequest) XXX_Merge(src proto.Message)
- func (m *UserGetRequest) XXX_Size() int
- func (m *UserGetRequest) XXX_Unmarshal(b []byte) error
- type UserGetResponse
- func (*UserGetResponse) Descriptor() ([]byte, []int)
- func (m *UserGetResponse) GetData() *User
- func (m *UserGetResponse) GetError() *UserError
- func (m *UserGetResponse) GetMeta() *UserMeta
- func (*UserGetResponse) ProtoMessage()
- func (m *UserGetResponse) Reset()
- func (m *UserGetResponse) String() string
- func (m *UserGetResponse) XXX_DiscardUnknown()
- func (m *UserGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserGetResponse) XXX_Merge(src proto.Message)
- func (m *UserGetResponse) XXX_Size() int
- func (m *UserGetResponse) XXX_Unmarshal(b []byte) error
- type UserListRequest
- func (*UserListRequest) Descriptor() ([]byte, []int)
- func (*UserListRequest) ProtoMessage()
- func (m *UserListRequest) Reset()
- func (m *UserListRequest) String() string
- func (m *UserListRequest) XXX_DiscardUnknown()
- func (m *UserListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserListRequest) XXX_Merge(src proto.Message)
- func (m *UserListRequest) XXX_Size() int
- func (m *UserListRequest) XXX_Unmarshal(b []byte) error
- type UserListResponse
- func (*UserListResponse) Descriptor() ([]byte, []int)
- func (m *UserListResponse) GetData() []*User
- func (m *UserListResponse) GetError() *UserError
- func (m *UserListResponse) GetMeta() *UserMeta
- func (*UserListResponse) ProtoMessage()
- func (m *UserListResponse) Reset()
- func (m *UserListResponse) String() string
- func (m *UserListResponse) XXX_DiscardUnknown()
- func (m *UserListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserListResponse) XXX_Merge(src proto.Message)
- func (m *UserListResponse) XXX_Size() int
- func (m *UserListResponse) XXX_Unmarshal(b []byte) error
- type UserMeta
- func (*UserMeta) Descriptor() ([]byte, []int)
- func (*UserMeta) ProtoMessage()
- func (m *UserMeta) Reset()
- func (m *UserMeta) String() string
- func (m *UserMeta) XXX_DiscardUnknown()
- func (m *UserMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserMeta) XXX_Merge(src proto.Message)
- func (m *UserMeta) XXX_Size() int
- func (m *UserMeta) XXX_Unmarshal(b []byte) error
- type UserServiceClient
- type UserServiceServer
- type UserUpdateRequest
- func (*UserUpdateRequest) Descriptor() ([]byte, []int)
- func (m *UserUpdateRequest) GetData() *User
- func (m *UserUpdateRequest) GetUserId() string
- func (*UserUpdateRequest) ProtoMessage()
- func (m *UserUpdateRequest) Reset()
- func (m *UserUpdateRequest) String() string
- func (m *UserUpdateRequest) XXX_DiscardUnknown()
- func (m *UserUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserUpdateRequest) XXX_Merge(src proto.Message)
- func (m *UserUpdateRequest) XXX_Size() int
- func (m *UserUpdateRequest) XXX_Unmarshal(b []byte) error
- type UserUpdateResponse
- func (*UserUpdateResponse) Descriptor() ([]byte, []int)
- func (m *UserUpdateResponse) GetData() *User
- func (m *UserUpdateResponse) GetError() *UserError
- func (m *UserUpdateResponse) GetMeta() *UserMeta
- func (*UserUpdateResponse) ProtoMessage()
- func (m *UserUpdateResponse) Reset()
- func (m *UserUpdateResponse) String() string
- func (m *UserUpdateResponse) XXX_DiscardUnknown()
- func (m *UserUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserUpdateResponse) XXX_Merge(src proto.Message)
- func (m *UserUpdateResponse) XXX_Size() int
- func (m *UserUpdateResponse) XXX_Unmarshal(b []byte) error
- type UserVerifyPasswordRequest
- func (*UserVerifyPasswordRequest) Descriptor() ([]byte, []int)
- func (m *UserVerifyPasswordRequest) GetEmail() string
- func (m *UserVerifyPasswordRequest) GetPassword() string
- func (*UserVerifyPasswordRequest) ProtoMessage()
- func (m *UserVerifyPasswordRequest) Reset()
- func (m *UserVerifyPasswordRequest) String() string
- func (m *UserVerifyPasswordRequest) XXX_DiscardUnknown()
- func (m *UserVerifyPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserVerifyPasswordRequest) XXX_Merge(src proto.Message)
- func (m *UserVerifyPasswordRequest) XXX_Size() int
- func (m *UserVerifyPasswordRequest) XXX_Unmarshal(b []byte) error
- type UserVerifyPasswordResponse
- func (*UserVerifyPasswordResponse) Descriptor() ([]byte, []int)
- func (m *UserVerifyPasswordResponse) GetData() *User
- func (m *UserVerifyPasswordResponse) GetError() *UserError
- func (m *UserVerifyPasswordResponse) GetMeta() *UserMeta
- func (*UserVerifyPasswordResponse) ProtoMessage()
- func (m *UserVerifyPasswordResponse) Reset()
- func (m *UserVerifyPasswordResponse) String() string
- func (m *UserVerifyPasswordResponse) XXX_DiscardUnknown()
- func (m *UserVerifyPasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserVerifyPasswordResponse) XXX_Merge(src proto.Message)
- func (m *UserVerifyPasswordResponse) XXX_Size() int
- func (m *UserVerifyPasswordResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
Types ¶
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServiceServer) Create ¶
func (*UnimplementedUserServiceServer) Create(ctx context.Context, req *UserCreateRequest) (*UserCreateResponse, error)
func (*UnimplementedUserServiceServer) Delete ¶
func (*UnimplementedUserServiceServer) Delete(ctx context.Context, req *UserDeleteRequest) (*UserDeleteResponse, error)
func (*UnimplementedUserServiceServer) Get ¶
func (*UnimplementedUserServiceServer) Get(ctx context.Context, req *UserGetRequest) (*UserGetResponse, error)
func (*UnimplementedUserServiceServer) GetByEmail ¶
func (*UnimplementedUserServiceServer) GetByEmail(ctx context.Context, req *UserGetByEmailRequest) (*UserGetByEmailResponse, error)
func (*UnimplementedUserServiceServer) List ¶
func (*UnimplementedUserServiceServer) List(ctx context.Context, req *UserListRequest) (*UserListResponse, error)
func (*UnimplementedUserServiceServer) Update ¶
func (*UnimplementedUserServiceServer) Update(ctx context.Context, req *UserUpdateRequest) (*UserUpdateResponse, error)
func (*UnimplementedUserServiceServer) VerifyPassword ¶
func (*UnimplementedUserServiceServer) VerifyPassword(ctx context.Context, req *UserVerifyPasswordRequest) (*UserVerifyPasswordResponse, 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"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` Verified bool `protobuf:"varint,5,opt,name=verified,proto3" json:"verified,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetCreatedAt ¶
func (*User) GetPassword ¶
func (*User) GetUpdatedAt ¶
func (*User) GetVerified ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserCreateRequest ¶
type UserCreateRequest struct { Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserCreateRequest) Descriptor ¶
func (*UserCreateRequest) Descriptor() ([]byte, []int)
func (*UserCreateRequest) GetData ¶
func (m *UserCreateRequest) GetData() *User
func (*UserCreateRequest) ProtoMessage ¶
func (*UserCreateRequest) ProtoMessage()
func (*UserCreateRequest) Reset ¶
func (m *UserCreateRequest) Reset()
func (*UserCreateRequest) String ¶
func (m *UserCreateRequest) String() string
func (*UserCreateRequest) XXX_DiscardUnknown ¶
func (m *UserCreateRequest) XXX_DiscardUnknown()
func (*UserCreateRequest) XXX_Marshal ¶
func (m *UserCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserCreateRequest) XXX_Merge ¶
func (m *UserCreateRequest) XXX_Merge(src proto.Message)
func (*UserCreateRequest) XXX_Size ¶
func (m *UserCreateRequest) XXX_Size() int
func (*UserCreateRequest) XXX_Unmarshal ¶
func (m *UserCreateRequest) XXX_Unmarshal(b []byte) error
type UserCreateResponse ¶
type UserCreateResponse struct { Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Meta *UserMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Error *UserError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserCreateResponse) Descriptor ¶
func (*UserCreateResponse) Descriptor() ([]byte, []int)
func (*UserCreateResponse) GetData ¶
func (m *UserCreateResponse) GetData() *User
func (*UserCreateResponse) GetError ¶
func (m *UserCreateResponse) GetError() *UserError
func (*UserCreateResponse) GetMeta ¶
func (m *UserCreateResponse) GetMeta() *UserMeta
func (*UserCreateResponse) ProtoMessage ¶
func (*UserCreateResponse) ProtoMessage()
func (*UserCreateResponse) Reset ¶
func (m *UserCreateResponse) Reset()
func (*UserCreateResponse) String ¶
func (m *UserCreateResponse) String() string
func (*UserCreateResponse) XXX_DiscardUnknown ¶
func (m *UserCreateResponse) XXX_DiscardUnknown()
func (*UserCreateResponse) XXX_Marshal ¶
func (m *UserCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserCreateResponse) XXX_Merge ¶
func (m *UserCreateResponse) XXX_Merge(src proto.Message)
func (*UserCreateResponse) XXX_Size ¶
func (m *UserCreateResponse) XXX_Size() int
func (*UserCreateResponse) XXX_Unmarshal ¶
func (m *UserCreateResponse) XXX_Unmarshal(b []byte) error
type UserDeleteRequest ¶
type UserDeleteRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserDeleteRequest) Descriptor ¶
func (*UserDeleteRequest) Descriptor() ([]byte, []int)
func (*UserDeleteRequest) GetUserId ¶
func (m *UserDeleteRequest) GetUserId() string
func (*UserDeleteRequest) ProtoMessage ¶
func (*UserDeleteRequest) ProtoMessage()
func (*UserDeleteRequest) Reset ¶
func (m *UserDeleteRequest) Reset()
func (*UserDeleteRequest) String ¶
func (m *UserDeleteRequest) String() string
func (*UserDeleteRequest) XXX_DiscardUnknown ¶
func (m *UserDeleteRequest) XXX_DiscardUnknown()
func (*UserDeleteRequest) XXX_Marshal ¶
func (m *UserDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserDeleteRequest) XXX_Merge ¶
func (m *UserDeleteRequest) XXX_Merge(src proto.Message)
func (*UserDeleteRequest) XXX_Size ¶
func (m *UserDeleteRequest) XXX_Size() int
func (*UserDeleteRequest) XXX_Unmarshal ¶
func (m *UserDeleteRequest) XXX_Unmarshal(b []byte) error
type UserDeleteResponse ¶
type UserDeleteResponse struct { Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Meta *UserMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Error *UserError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserDeleteResponse) Descriptor ¶
func (*UserDeleteResponse) Descriptor() ([]byte, []int)
func (*UserDeleteResponse) GetData ¶
func (m *UserDeleteResponse) GetData() *User
func (*UserDeleteResponse) GetError ¶
func (m *UserDeleteResponse) GetError() *UserError
func (*UserDeleteResponse) GetMeta ¶
func (m *UserDeleteResponse) GetMeta() *UserMeta
func (*UserDeleteResponse) ProtoMessage ¶
func (*UserDeleteResponse) ProtoMessage()
func (*UserDeleteResponse) Reset ¶
func (m *UserDeleteResponse) Reset()
func (*UserDeleteResponse) String ¶
func (m *UserDeleteResponse) String() string
func (*UserDeleteResponse) XXX_DiscardUnknown ¶
func (m *UserDeleteResponse) XXX_DiscardUnknown()
func (*UserDeleteResponse) XXX_Marshal ¶
func (m *UserDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserDeleteResponse) XXX_Merge ¶
func (m *UserDeleteResponse) XXX_Merge(src proto.Message)
func (*UserDeleteResponse) XXX_Size ¶
func (m *UserDeleteResponse) XXX_Size() int
func (*UserDeleteResponse) XXX_Unmarshal ¶
func (m *UserDeleteResponse) XXX_Unmarshal(b []byte) error
type UserError ¶
type UserError struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserError) Descriptor ¶
func (*UserError) GetMessage ¶
func (*UserError) ProtoMessage ¶
func (*UserError) ProtoMessage()
func (*UserError) XXX_DiscardUnknown ¶
func (m *UserError) XXX_DiscardUnknown()
func (*UserError) XXX_Marshal ¶
func (*UserError) XXX_Unmarshal ¶
type UserGetByEmailRequest ¶
type UserGetByEmailRequest 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 (*UserGetByEmailRequest) Descriptor ¶
func (*UserGetByEmailRequest) Descriptor() ([]byte, []int)
func (*UserGetByEmailRequest) GetEmail ¶
func (m *UserGetByEmailRequest) GetEmail() string
func (*UserGetByEmailRequest) ProtoMessage ¶
func (*UserGetByEmailRequest) ProtoMessage()
func (*UserGetByEmailRequest) Reset ¶
func (m *UserGetByEmailRequest) Reset()
func (*UserGetByEmailRequest) String ¶
func (m *UserGetByEmailRequest) String() string
func (*UserGetByEmailRequest) XXX_DiscardUnknown ¶
func (m *UserGetByEmailRequest) XXX_DiscardUnknown()
func (*UserGetByEmailRequest) XXX_Marshal ¶
func (m *UserGetByEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGetByEmailRequest) XXX_Merge ¶
func (m *UserGetByEmailRequest) XXX_Merge(src proto.Message)
func (*UserGetByEmailRequest) XXX_Size ¶
func (m *UserGetByEmailRequest) XXX_Size() int
func (*UserGetByEmailRequest) XXX_Unmarshal ¶
func (m *UserGetByEmailRequest) XXX_Unmarshal(b []byte) error
type UserGetByEmailResponse ¶
type UserGetByEmailResponse struct { Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Meta *UserMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Error *UserError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserGetByEmailResponse) Descriptor ¶
func (*UserGetByEmailResponse) Descriptor() ([]byte, []int)
func (*UserGetByEmailResponse) GetData ¶
func (m *UserGetByEmailResponse) GetData() *User
func (*UserGetByEmailResponse) GetError ¶
func (m *UserGetByEmailResponse) GetError() *UserError
func (*UserGetByEmailResponse) GetMeta ¶
func (m *UserGetByEmailResponse) GetMeta() *UserMeta
func (*UserGetByEmailResponse) ProtoMessage ¶
func (*UserGetByEmailResponse) ProtoMessage()
func (*UserGetByEmailResponse) Reset ¶
func (m *UserGetByEmailResponse) Reset()
func (*UserGetByEmailResponse) String ¶
func (m *UserGetByEmailResponse) String() string
func (*UserGetByEmailResponse) XXX_DiscardUnknown ¶
func (m *UserGetByEmailResponse) XXX_DiscardUnknown()
func (*UserGetByEmailResponse) XXX_Marshal ¶
func (m *UserGetByEmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGetByEmailResponse) XXX_Merge ¶
func (m *UserGetByEmailResponse) XXX_Merge(src proto.Message)
func (*UserGetByEmailResponse) XXX_Size ¶
func (m *UserGetByEmailResponse) XXX_Size() int
func (*UserGetByEmailResponse) XXX_Unmarshal ¶
func (m *UserGetByEmailResponse) XXX_Unmarshal(b []byte) error
type UserGetRequest ¶
type UserGetRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserGetRequest) Descriptor ¶
func (*UserGetRequest) Descriptor() ([]byte, []int)
func (*UserGetRequest) GetUserId ¶
func (m *UserGetRequest) GetUserId() string
func (*UserGetRequest) ProtoMessage ¶
func (*UserGetRequest) ProtoMessage()
func (*UserGetRequest) Reset ¶
func (m *UserGetRequest) Reset()
func (*UserGetRequest) String ¶
func (m *UserGetRequest) String() string
func (*UserGetRequest) XXX_DiscardUnknown ¶
func (m *UserGetRequest) XXX_DiscardUnknown()
func (*UserGetRequest) XXX_Marshal ¶
func (m *UserGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGetRequest) XXX_Merge ¶
func (m *UserGetRequest) XXX_Merge(src proto.Message)
func (*UserGetRequest) XXX_Size ¶
func (m *UserGetRequest) XXX_Size() int
func (*UserGetRequest) XXX_Unmarshal ¶
func (m *UserGetRequest) XXX_Unmarshal(b []byte) error
type UserGetResponse ¶
type UserGetResponse struct { Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Meta *UserMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Error *UserError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserGetResponse) Descriptor ¶
func (*UserGetResponse) Descriptor() ([]byte, []int)
func (*UserGetResponse) GetData ¶
func (m *UserGetResponse) GetData() *User
func (*UserGetResponse) GetError ¶
func (m *UserGetResponse) GetError() *UserError
func (*UserGetResponse) GetMeta ¶
func (m *UserGetResponse) GetMeta() *UserMeta
func (*UserGetResponse) ProtoMessage ¶
func (*UserGetResponse) ProtoMessage()
func (*UserGetResponse) Reset ¶
func (m *UserGetResponse) Reset()
func (*UserGetResponse) String ¶
func (m *UserGetResponse) String() string
func (*UserGetResponse) XXX_DiscardUnknown ¶
func (m *UserGetResponse) XXX_DiscardUnknown()
func (*UserGetResponse) XXX_Marshal ¶
func (m *UserGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserGetResponse) XXX_Merge ¶
func (m *UserGetResponse) XXX_Merge(src proto.Message)
func (*UserGetResponse) XXX_Size ¶
func (m *UserGetResponse) XXX_Size() int
func (*UserGetResponse) XXX_Unmarshal ¶
func (m *UserGetResponse) XXX_Unmarshal(b []byte) error
type UserListRequest ¶
type UserListRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserListRequest) Descriptor ¶
func (*UserListRequest) Descriptor() ([]byte, []int)
func (*UserListRequest) ProtoMessage ¶
func (*UserListRequest) ProtoMessage()
func (*UserListRequest) Reset ¶
func (m *UserListRequest) Reset()
func (*UserListRequest) String ¶
func (m *UserListRequest) String() string
func (*UserListRequest) XXX_DiscardUnknown ¶
func (m *UserListRequest) XXX_DiscardUnknown()
func (*UserListRequest) XXX_Marshal ¶
func (m *UserListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserListRequest) XXX_Merge ¶
func (m *UserListRequest) XXX_Merge(src proto.Message)
func (*UserListRequest) XXX_Size ¶
func (m *UserListRequest) XXX_Size() int
func (*UserListRequest) XXX_Unmarshal ¶
func (m *UserListRequest) XXX_Unmarshal(b []byte) error
type UserListResponse ¶
type UserListResponse struct { Data []*User `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Meta *UserMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Error *UserError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserListResponse) Descriptor ¶
func (*UserListResponse) Descriptor() ([]byte, []int)
func (*UserListResponse) GetData ¶
func (m *UserListResponse) GetData() []*User
func (*UserListResponse) GetError ¶
func (m *UserListResponse) GetError() *UserError
func (*UserListResponse) GetMeta ¶
func (m *UserListResponse) GetMeta() *UserMeta
func (*UserListResponse) ProtoMessage ¶
func (*UserListResponse) ProtoMessage()
func (*UserListResponse) Reset ¶
func (m *UserListResponse) Reset()
func (*UserListResponse) String ¶
func (m *UserListResponse) String() string
func (*UserListResponse) XXX_DiscardUnknown ¶
func (m *UserListResponse) XXX_DiscardUnknown()
func (*UserListResponse) XXX_Marshal ¶
func (m *UserListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserListResponse) XXX_Merge ¶
func (m *UserListResponse) XXX_Merge(src proto.Message)
func (*UserListResponse) XXX_Size ¶
func (m *UserListResponse) XXX_Size() int
func (*UserListResponse) XXX_Unmarshal ¶
func (m *UserListResponse) XXX_Unmarshal(b []byte) error
type UserMeta ¶
type UserMeta struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserMeta) Descriptor ¶
func (*UserMeta) ProtoMessage ¶
func (*UserMeta) ProtoMessage()
func (*UserMeta) XXX_DiscardUnknown ¶
func (m *UserMeta) XXX_DiscardUnknown()
func (*UserMeta) XXX_Marshal ¶
func (*UserMeta) XXX_Unmarshal ¶
type UserServiceClient ¶
type UserServiceClient interface { Get(ctx context.Context, in *UserGetRequest, opts ...grpc.CallOption) (*UserGetResponse, error) GetByEmail(ctx context.Context, in *UserGetByEmailRequest, opts ...grpc.CallOption) (*UserGetByEmailResponse, error) Create(ctx context.Context, in *UserCreateRequest, opts ...grpc.CallOption) (*UserCreateResponse, error) VerifyPassword(ctx context.Context, in *UserVerifyPasswordRequest, opts ...grpc.CallOption) (*UserVerifyPasswordResponse, error) List(ctx context.Context, in *UserListRequest, opts ...grpc.CallOption) (*UserListResponse, error) Update(ctx context.Context, in *UserUpdateRequest, opts ...grpc.CallOption) (*UserUpdateResponse, error) Delete(ctx context.Context, in *UserDeleteRequest, opts ...grpc.CallOption) (*UserDeleteResponse, 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.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { Get(context.Context, *UserGetRequest) (*UserGetResponse, error) GetByEmail(context.Context, *UserGetByEmailRequest) (*UserGetByEmailResponse, error) Create(context.Context, *UserCreateRequest) (*UserCreateResponse, error) VerifyPassword(context.Context, *UserVerifyPasswordRequest) (*UserVerifyPasswordResponse, error) List(context.Context, *UserListRequest) (*UserListResponse, error) Update(context.Context, *UserUpdateRequest) (*UserUpdateResponse, error) Delete(context.Context, *UserDeleteRequest) (*UserDeleteResponse, error) }
UserServiceServer is the server API for UserService service.
type UserUpdateRequest ¶
type UserUpdateRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Data *User `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserUpdateRequest) Descriptor ¶
func (*UserUpdateRequest) Descriptor() ([]byte, []int)
func (*UserUpdateRequest) GetData ¶
func (m *UserUpdateRequest) GetData() *User
func (*UserUpdateRequest) GetUserId ¶
func (m *UserUpdateRequest) GetUserId() string
func (*UserUpdateRequest) ProtoMessage ¶
func (*UserUpdateRequest) ProtoMessage()
func (*UserUpdateRequest) Reset ¶
func (m *UserUpdateRequest) Reset()
func (*UserUpdateRequest) String ¶
func (m *UserUpdateRequest) String() string
func (*UserUpdateRequest) XXX_DiscardUnknown ¶
func (m *UserUpdateRequest) XXX_DiscardUnknown()
func (*UserUpdateRequest) XXX_Marshal ¶
func (m *UserUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserUpdateRequest) XXX_Merge ¶
func (m *UserUpdateRequest) XXX_Merge(src proto.Message)
func (*UserUpdateRequest) XXX_Size ¶
func (m *UserUpdateRequest) XXX_Size() int
func (*UserUpdateRequest) XXX_Unmarshal ¶
func (m *UserUpdateRequest) XXX_Unmarshal(b []byte) error
type UserUpdateResponse ¶
type UserUpdateResponse struct { Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Meta *UserMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Error *UserError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserUpdateResponse) Descriptor ¶
func (*UserUpdateResponse) Descriptor() ([]byte, []int)
func (*UserUpdateResponse) GetData ¶
func (m *UserUpdateResponse) GetData() *User
func (*UserUpdateResponse) GetError ¶
func (m *UserUpdateResponse) GetError() *UserError
func (*UserUpdateResponse) GetMeta ¶
func (m *UserUpdateResponse) GetMeta() *UserMeta
func (*UserUpdateResponse) ProtoMessage ¶
func (*UserUpdateResponse) ProtoMessage()
func (*UserUpdateResponse) Reset ¶
func (m *UserUpdateResponse) Reset()
func (*UserUpdateResponse) String ¶
func (m *UserUpdateResponse) String() string
func (*UserUpdateResponse) XXX_DiscardUnknown ¶
func (m *UserUpdateResponse) XXX_DiscardUnknown()
func (*UserUpdateResponse) XXX_Marshal ¶
func (m *UserUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserUpdateResponse) XXX_Merge ¶
func (m *UserUpdateResponse) XXX_Merge(src proto.Message)
func (*UserUpdateResponse) XXX_Size ¶
func (m *UserUpdateResponse) XXX_Size() int
func (*UserUpdateResponse) XXX_Unmarshal ¶
func (m *UserUpdateResponse) XXX_Unmarshal(b []byte) error
type UserVerifyPasswordRequest ¶
type UserVerifyPasswordRequest 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 (*UserVerifyPasswordRequest) Descriptor ¶
func (*UserVerifyPasswordRequest) Descriptor() ([]byte, []int)
func (*UserVerifyPasswordRequest) GetEmail ¶
func (m *UserVerifyPasswordRequest) GetEmail() string
func (*UserVerifyPasswordRequest) GetPassword ¶
func (m *UserVerifyPasswordRequest) GetPassword() string
func (*UserVerifyPasswordRequest) ProtoMessage ¶
func (*UserVerifyPasswordRequest) ProtoMessage()
func (*UserVerifyPasswordRequest) Reset ¶
func (m *UserVerifyPasswordRequest) Reset()
func (*UserVerifyPasswordRequest) String ¶
func (m *UserVerifyPasswordRequest) String() string
func (*UserVerifyPasswordRequest) XXX_DiscardUnknown ¶
func (m *UserVerifyPasswordRequest) XXX_DiscardUnknown()
func (*UserVerifyPasswordRequest) XXX_Marshal ¶
func (m *UserVerifyPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserVerifyPasswordRequest) XXX_Merge ¶
func (m *UserVerifyPasswordRequest) XXX_Merge(src proto.Message)
func (*UserVerifyPasswordRequest) XXX_Size ¶
func (m *UserVerifyPasswordRequest) XXX_Size() int
func (*UserVerifyPasswordRequest) XXX_Unmarshal ¶
func (m *UserVerifyPasswordRequest) XXX_Unmarshal(b []byte) error
type UserVerifyPasswordResponse ¶
type UserVerifyPasswordResponse struct { Data *User `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Meta *UserMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Error *UserError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserVerifyPasswordResponse) Descriptor ¶
func (*UserVerifyPasswordResponse) Descriptor() ([]byte, []int)
func (*UserVerifyPasswordResponse) GetData ¶
func (m *UserVerifyPasswordResponse) GetData() *User
func (*UserVerifyPasswordResponse) GetError ¶
func (m *UserVerifyPasswordResponse) GetError() *UserError
func (*UserVerifyPasswordResponse) GetMeta ¶
func (m *UserVerifyPasswordResponse) GetMeta() *UserMeta
func (*UserVerifyPasswordResponse) ProtoMessage ¶
func (*UserVerifyPasswordResponse) ProtoMessage()
func (*UserVerifyPasswordResponse) Reset ¶
func (m *UserVerifyPasswordResponse) Reset()
func (*UserVerifyPasswordResponse) String ¶
func (m *UserVerifyPasswordResponse) String() string
func (*UserVerifyPasswordResponse) XXX_DiscardUnknown ¶
func (m *UserVerifyPasswordResponse) XXX_DiscardUnknown()
func (*UserVerifyPasswordResponse) XXX_Marshal ¶
func (m *UserVerifyPasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserVerifyPasswordResponse) XXX_Merge ¶
func (m *UserVerifyPasswordResponse) XXX_Merge(src proto.Message)
func (*UserVerifyPasswordResponse) XXX_Size ¶
func (m *UserVerifyPasswordResponse) XXX_Size() int
func (*UserVerifyPasswordResponse) XXX_Unmarshal ¶
func (m *UserVerifyPasswordResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.