Versions in this module Expand all Collapse all v1 v1.0.0 Aug 2, 2020 Changes in this version + func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer) + type AccountInfo struct + AccountId string + Avatar string + CountryCode string + CreateTime int64 + Email string + Gender int32 + Mobile string + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AccountInfo) Descriptor() ([]byte, []int) + func (*AccountInfo) ProtoMessage() + func (m *AccountInfo) GetAccountId() string + func (m *AccountInfo) GetAvatar() string + func (m *AccountInfo) GetCountryCode() string + func (m *AccountInfo) GetCreateTime() int64 + func (m *AccountInfo) GetEmail() string + func (m *AccountInfo) GetGender() int32 + func (m *AccountInfo) GetMobile() string + func (m *AccountInfo) GetName() string + func (m *AccountInfo) Reset() + func (m *AccountInfo) String() string + func (m *AccountInfo) XXX_DiscardUnknown() + func (m *AccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AccountInfo) XXX_Merge(src proto.Message) + func (m *AccountInfo) XXX_Size() int + func (m *AccountInfo) XXX_Unmarshal(b []byte) error + type AccountServiceClient interface + GetInfoByAccountId func(ctx context.Context, in *GetInfoByIdRequest, opts ...grpc.CallOption) (*AccountInfo, error) + Register func(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) + func NewAccountServiceClient(cc *grpc.ClientConn) AccountServiceClient + type AccountServiceServer interface + GetInfoByAccountId func(context.Context, *GetInfoByIdRequest) (*AccountInfo, error) + Register func(context.Context, *RegisterRequest) (*RegisterResponse, error) + type GetInfoByIdRequest struct + AccountId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetInfoByIdRequest) Descriptor() ([]byte, []int) + func (*GetInfoByIdRequest) ProtoMessage() + func (m *GetInfoByIdRequest) GetAccountId() string + func (m *GetInfoByIdRequest) Reset() + func (m *GetInfoByIdRequest) String() string + func (m *GetInfoByIdRequest) XXX_DiscardUnknown() + func (m *GetInfoByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetInfoByIdRequest) XXX_Merge(src proto.Message) + func (m *GetInfoByIdRequest) XXX_Size() int + func (m *GetInfoByIdRequest) XXX_Unmarshal(b []byte) error + type RegisterRequest struct + CountryCode string + Mobile string + Name string + Password string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RegisterRequest) Descriptor() ([]byte, []int) + func (*RegisterRequest) ProtoMessage() + func (m *RegisterRequest) GetCountryCode() string + func (m *RegisterRequest) GetMobile() string + func (m *RegisterRequest) GetName() string + func (m *RegisterRequest) GetPassword() string + func (m *RegisterRequest) Reset() + func (m *RegisterRequest) String() string + func (m *RegisterRequest) XXX_DiscardUnknown() + func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RegisterRequest) XXX_Merge(src proto.Message) + func (m *RegisterRequest) XXX_Size() int + func (m *RegisterRequest) XXX_Unmarshal(b []byte) error + type RegisterResponse struct + AccountId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RegisterResponse) Descriptor() ([]byte, []int) + func (*RegisterResponse) ProtoMessage() + func (m *RegisterResponse) GetAccountId() string + func (m *RegisterResponse) Reset() + func (m *RegisterResponse) String() string + func (m *RegisterResponse) XXX_DiscardUnknown() + func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RegisterResponse) XXX_Merge(src proto.Message) + func (m *RegisterResponse) XXX_Size() int + func (m *RegisterResponse) XXX_Unmarshal(b []byte) error + type Sam struct + Test isSam_Test + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Sam) Descriptor() ([]byte, []int) + func (*Sam) ProtoMessage() + func (*Sam) XXX_OneofWrappers() []interface{} + func (m *Sam) GetA() *AccountInfo + func (m *Sam) GetName() string + func (m *Sam) GetTest() isSam_Test + func (m *Sam) Reset() + func (m *Sam) String() string + func (m *Sam) XXX_DiscardUnknown() + func (m *Sam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Sam) XXX_Merge(src proto.Message) + func (m *Sam) XXX_Size() int + func (m *Sam) XXX_Unmarshal(b []byte) error + type Sam_A struct + A *AccountInfo + type Sam_Name struct + Name string + type UnimplementedAccountServiceServer struct + func (*UnimplementedAccountServiceServer) GetInfoByAccountId(ctx context.Context, req *GetInfoByIdRequest) (*AccountInfo, error) + func (*UnimplementedAccountServiceServer) Register(ctx context.Context, req *RegisterRequest) (*RegisterResponse, error)