Documentation ¶
Index ¶
- func RegisterLoginServiceServer(s *grpc.Server, srv LoginServiceServer)
- type Login
- func (*Login) Descriptor() ([]byte, []int)
- func (m *Login) GetEmail() string
- func (m *Login) GetPassword() 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 LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)
- func (m *LoginRequest) GetLogin() *Login
- func (*LoginRequest) ProtoMessage()
- func (m *LoginRequest) Reset()
- func (m *LoginRequest) String() string
- func (m *LoginRequest) XXX_DiscardUnknown()
- func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginRequest) XXX_Merge(src proto.Message)
- func (m *LoginRequest) XXX_Size() int
- func (m *LoginRequest) XXX_Unmarshal(b []byte) error
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)
- func (m *LoginResponse) GetID() string
- func (*LoginResponse) ProtoMessage()
- func (m *LoginResponse) Reset()
- func (m *LoginResponse) String() string
- 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 (m *LoginResponse) XXX_Size() int
- func (m *LoginResponse) XXX_Unmarshal(b []byte) error
- type LoginServiceClient
- type LoginServiceServer
- type UnimplementedLoginServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterLoginServiceServer ¶
func RegisterLoginServiceServer(s *grpc.Server, srv LoginServiceServer)
Types ¶
type Login ¶
type Login 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 (*Login) Descriptor ¶
func (*Login) GetPassword ¶
func (*Login) ProtoMessage ¶
func (*Login) ProtoMessage()
func (*Login) XXX_DiscardUnknown ¶
func (m *Login) XXX_DiscardUnknown()
func (*Login) XXX_Marshal ¶
func (*Login) XXX_Unmarshal ¶
type LoginRequest ¶
type LoginRequest struct { Login *Login `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginRequest) Descriptor ¶
func (*LoginRequest) Descriptor() ([]byte, []int)
func (*LoginRequest) GetLogin ¶
func (m *LoginRequest) GetLogin() *Login
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) Reset ¶
func (m *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (m *LoginRequest) String() string
func (*LoginRequest) XXX_DiscardUnknown ¶
func (m *LoginRequest) XXX_DiscardUnknown()
func (*LoginRequest) XXX_Marshal ¶
func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginRequest) XXX_Merge ¶
func (m *LoginRequest) XXX_Merge(src proto.Message)
func (*LoginRequest) XXX_Size ¶
func (m *LoginRequest) XXX_Size() int
func (*LoginRequest) XXX_Unmarshal ¶
func (m *LoginRequest) XXX_Unmarshal(b []byte) error
type LoginResponse ¶
type LoginResponse 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 (*LoginResponse) Descriptor ¶
func (*LoginResponse) Descriptor() ([]byte, []int)
func (*LoginResponse) GetID ¶
func (m *LoginResponse) GetID() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) Reset ¶
func (m *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (m *LoginResponse) String() string
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_Size ¶
func (m *LoginResponse) XXX_Size() int
func (*LoginResponse) XXX_Unmarshal ¶
func (m *LoginResponse) XXX_Unmarshal(b []byte) error
type LoginServiceClient ¶
type LoginServiceClient interface {
Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
}
LoginServiceClient is the client API for LoginService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLoginServiceClient ¶
func NewLoginServiceClient(cc grpc.ClientConnInterface) LoginServiceClient
type LoginServiceServer ¶
type LoginServiceServer interface {
Login(context.Context, *LoginRequest) (*LoginResponse, error)
}
LoginServiceServer is the server API for LoginService service.
type UnimplementedLoginServiceServer ¶
type UnimplementedLoginServiceServer struct { }
UnimplementedLoginServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLoginServiceServer) Login ¶
func (*UnimplementedLoginServiceServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
Click to show internal directories.
Click to hide internal directories.