Documentation ¶
Index ¶
- func RegisterSignupServiceServer(s *grpc.Server, srv SignupServiceServer)
- type CreateSignupRequest
- func (*CreateSignupRequest) Descriptor() ([]byte, []int)
- func (m *CreateSignupRequest) GetSignup() *Signup
- func (*CreateSignupRequest) ProtoMessage()
- func (m *CreateSignupRequest) Reset()
- func (m *CreateSignupRequest) String() string
- func (m *CreateSignupRequest) XXX_DiscardUnknown()
- func (m *CreateSignupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateSignupRequest) XXX_Merge(src proto.Message)
- func (m *CreateSignupRequest) XXX_Size() int
- func (m *CreateSignupRequest) XXX_Unmarshal(b []byte) error
- type Signup
- func (*Signup) Descriptor() ([]byte, []int)
- func (m *Signup) GetEmail() string
- func (m *Signup) GetFistName() string
- func (m *Signup) GetId() int64
- func (m *Signup) GetLastName() string
- func (m *Signup) GetPassword() string
- func (m *Signup) GetStatus() int64
- func (m *Signup) GetUsername() string
- func (*Signup) ProtoMessage()
- func (m *Signup) Reset()
- func (m *Signup) String() string
- func (m *Signup) XXX_DiscardUnknown()
- func (m *Signup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Signup) XXX_Merge(src proto.Message)
- func (m *Signup) XXX_Size() int
- func (m *Signup) XXX_Unmarshal(b []byte) error
- type SignupServiceClient
- type SignupServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSignupServiceServer ¶
func RegisterSignupServiceServer(s *grpc.Server, srv SignupServiceServer)
Types ¶
type CreateSignupRequest ¶
type CreateSignupRequest struct { Signup *Signup `protobuf:"bytes,1,opt,name=signup,proto3" json:"signup,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateSignupRequest) Descriptor ¶
func (*CreateSignupRequest) Descriptor() ([]byte, []int)
func (*CreateSignupRequest) GetSignup ¶
func (m *CreateSignupRequest) GetSignup() *Signup
func (*CreateSignupRequest) ProtoMessage ¶
func (*CreateSignupRequest) ProtoMessage()
func (*CreateSignupRequest) Reset ¶
func (m *CreateSignupRequest) Reset()
func (*CreateSignupRequest) String ¶
func (m *CreateSignupRequest) String() string
func (*CreateSignupRequest) XXX_DiscardUnknown ¶
func (m *CreateSignupRequest) XXX_DiscardUnknown()
func (*CreateSignupRequest) XXX_Marshal ¶
func (m *CreateSignupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateSignupRequest) XXX_Merge ¶
func (dst *CreateSignupRequest) XXX_Merge(src proto.Message)
func (*CreateSignupRequest) XXX_Size ¶
func (m *CreateSignupRequest) XXX_Size() int
func (*CreateSignupRequest) XXX_Unmarshal ¶
func (m *CreateSignupRequest) XXX_Unmarshal(b []byte) error
type Signup ¶
type Signup struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FistName string `protobuf:"bytes,2,opt,name=fist_name,json=fistName,proto3" json:"fist_name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Signup) Descriptor ¶
func (*Signup) GetFistName ¶
func (*Signup) GetLastName ¶
func (*Signup) GetPassword ¶
func (*Signup) GetUsername ¶
func (*Signup) ProtoMessage ¶
func (*Signup) ProtoMessage()
func (*Signup) XXX_DiscardUnknown ¶
func (m *Signup) XXX_DiscardUnknown()
func (*Signup) XXX_Marshal ¶
func (*Signup) XXX_Unmarshal ¶
type SignupServiceClient ¶
type SignupServiceClient interface {
CreateSignup(ctx context.Context, in *CreateSignupRequest, opts ...grpc.CallOption) (*Signup, error)
}
SignupServiceClient is the client API for SignupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSignupServiceClient ¶
func NewSignupServiceClient(cc *grpc.ClientConn) SignupServiceClient
type SignupServiceServer ¶
type SignupServiceServer interface {
CreateSignup(context.Context, *CreateSignupRequest) (*Signup, error)
}
SignupServiceServer is the server API for SignupService service.
Click to show internal directories.
Click to hide internal directories.