Documentation
¶
Index ¶
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type RegisterUserRequestType
- func (*RegisterUserRequestType) Descriptor() ([]byte, []int)
- func (m *RegisterUserRequestType) GetEmail() string
- func (*RegisterUserRequestType) ProtoMessage()
- func (m *RegisterUserRequestType) Reset()
- func (m *RegisterUserRequestType) String() string
- func (m *RegisterUserRequestType) XXX_DiscardUnknown()
- func (m *RegisterUserRequestType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterUserRequestType) XXX_Merge(src proto.Message)
- func (m *RegisterUserRequestType) XXX_Size() int
- func (m *RegisterUserRequestType) XXX_Unmarshal(b []byte) error
- type RegisterUserResponseType
- func (*RegisterUserResponseType) Descriptor() ([]byte, []int)
- func (m *RegisterUserResponseType) GetMessage() string
- func (*RegisterUserResponseType) ProtoMessage()
- func (m *RegisterUserResponseType) Reset()
- func (m *RegisterUserResponseType) String() string
- func (m *RegisterUserResponseType) XXX_DiscardUnknown()
- func (m *RegisterUserResponseType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterUserResponseType) XXX_Merge(src proto.Message)
- func (m *RegisterUserResponseType) XXX_Size() int
- func (m *RegisterUserResponseType) XXX_Unmarshal(b []byte) error
- type UnimplementedUserServiceServer
- type User
- 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 RegisterUserRequestType ¶
type RegisterUserRequestType 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 (*RegisterUserRequestType) Descriptor ¶
func (*RegisterUserRequestType) Descriptor() ([]byte, []int)
func (*RegisterUserRequestType) GetEmail ¶
func (m *RegisterUserRequestType) GetEmail() string
func (*RegisterUserRequestType) ProtoMessage ¶
func (*RegisterUserRequestType) ProtoMessage()
func (*RegisterUserRequestType) Reset ¶
func (m *RegisterUserRequestType) Reset()
func (*RegisterUserRequestType) String ¶
func (m *RegisterUserRequestType) String() string
func (*RegisterUserRequestType) XXX_DiscardUnknown ¶
func (m *RegisterUserRequestType) XXX_DiscardUnknown()
func (*RegisterUserRequestType) XXX_Marshal ¶
func (m *RegisterUserRequestType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterUserRequestType) XXX_Merge ¶
func (m *RegisterUserRequestType) XXX_Merge(src proto.Message)
func (*RegisterUserRequestType) XXX_Size ¶
func (m *RegisterUserRequestType) XXX_Size() int
func (*RegisterUserRequestType) XXX_Unmarshal ¶
func (m *RegisterUserRequestType) XXX_Unmarshal(b []byte) error
type RegisterUserResponseType ¶
type RegisterUserResponseType struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterUserResponseType) Descriptor ¶
func (*RegisterUserResponseType) Descriptor() ([]byte, []int)
func (*RegisterUserResponseType) GetMessage ¶
func (m *RegisterUserResponseType) GetMessage() string
func (*RegisterUserResponseType) ProtoMessage ¶
func (*RegisterUserResponseType) ProtoMessage()
func (*RegisterUserResponseType) Reset ¶
func (m *RegisterUserResponseType) Reset()
func (*RegisterUserResponseType) String ¶
func (m *RegisterUserResponseType) String() string
func (*RegisterUserResponseType) XXX_DiscardUnknown ¶
func (m *RegisterUserResponseType) XXX_DiscardUnknown()
func (*RegisterUserResponseType) XXX_Marshal ¶
func (m *RegisterUserResponseType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterUserResponseType) XXX_Merge ¶
func (m *RegisterUserResponseType) XXX_Merge(src proto.Message)
func (*RegisterUserResponseType) XXX_Size ¶
func (m *RegisterUserResponseType) XXX_Size() int
func (*RegisterUserResponseType) XXX_Unmarshal ¶
func (m *RegisterUserResponseType) XXX_Unmarshal(b []byte) error
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServiceServer) RegisterUser ¶
func (*UnimplementedUserServiceServer) RegisterUser(ctx context.Context, req *RegisterUserRequestType) (*RegisterUserResponseType, error)
type UserServiceClient ¶
type UserServiceClient interface {
RegisterUser(ctx context.Context, in *RegisterUserRequestType, opts ...grpc.CallOption) (*RegisterUserResponseType, 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 {
RegisterUser(context.Context, *RegisterUserRequestType) (*RegisterUserResponseType, error)
}
UserServiceServer is the server API for UserService service.
Click to show internal directories.
Click to hide internal directories.