Documentation
¶
Index ¶
- func RegisterBindTelephoneGateway(srv string, g fiber.Router, opts ...grpc.DialOption) error
- func RegisterBindTelephoneServer(s *grpc.Server, srv BindTelephoneServer)
- func RegisterCodeGateway(srv string, g fiber.Router, opts ...grpc.DialOption) error
- func RegisterCodeServer(s *grpc.Server, srv CodeServer)
- func RegisterLoginGateway(srv string, g fiber.Router, opts ...grpc.DialOption) error
- func RegisterLoginServer(s *grpc.Server, srv LoginServer)
- func RegisterMergeGateway(srv string, g fiber.Router, opts ...grpc.DialOption) error
- func RegisterMergeServer(s *grpc.Server, srv MergeServer)
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateRequest) GetCredentials() map[string]string
- func (*AuthenticateRequest) ProtoMessage()
- func (m *AuthenticateRequest) Reset()
- func (m *AuthenticateRequest) String() string
- func (m *AuthenticateRequest) XXX_DiscardUnknown()
- func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticateRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateRequest) XXX_Size() int
- func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)
- func (m *AuthenticateResponse) GetCode() int64
- func (m *AuthenticateResponse) GetData() *Data
- func (m *AuthenticateResponse) GetMsg() string
- func (m *AuthenticateResponse) GetNowTime() int64
- func (*AuthenticateResponse) ProtoMessage()
- func (m *AuthenticateResponse) Reset()
- func (m *AuthenticateResponse) String() string
- func (m *AuthenticateResponse) XXX_DiscardUnknown()
- func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticateResponse) XXX_Merge(src proto.Message)
- func (m *AuthenticateResponse) XXX_Size() int
- func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error
- type AutomaticBindRequest
- func (*AutomaticBindRequest) Descriptor() ([]byte, []int)
- func (m *AutomaticBindRequest) GetNationCode() string
- func (m *AutomaticBindRequest) GetOrigin() string
- func (m *AutomaticBindRequest) GetTelephone() string
- func (m *AutomaticBindRequest) GetUid() int64
- func (*AutomaticBindRequest) ProtoMessage()
- func (m *AutomaticBindRequest) Reset()
- func (m *AutomaticBindRequest) String() string
- func (m *AutomaticBindRequest) XXX_DiscardUnknown()
- func (m *AutomaticBindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AutomaticBindRequest) XXX_Merge(src proto.Message)
- func (m *AutomaticBindRequest) XXX_Size() int
- func (m *AutomaticBindRequest) XXX_Unmarshal(b []byte) error
- type AutomaticBindResponse
- func (*AutomaticBindResponse) Descriptor() ([]byte, []int)
- func (m *AutomaticBindResponse) GetCode() int64
- func (m *AutomaticBindResponse) GetData() *BindData
- func (m *AutomaticBindResponse) GetMsg() string
- func (m *AutomaticBindResponse) GetNowTime() int64
- func (*AutomaticBindResponse) ProtoMessage()
- func (m *AutomaticBindResponse) Reset()
- func (m *AutomaticBindResponse) String() string
- func (m *AutomaticBindResponse) XXX_DiscardUnknown()
- func (m *AutomaticBindResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AutomaticBindResponse) XXX_Merge(src proto.Message)
- func (m *AutomaticBindResponse) XXX_Size() int
- func (m *AutomaticBindResponse) XXX_Unmarshal(b []byte) error
- type BindChangeRequest
- func (*BindChangeRequest) Descriptor() ([]byte, []int)
- func (m *BindChangeRequest) GetCode() string
- func (m *BindChangeRequest) GetNationCode() string
- func (m *BindChangeRequest) GetOrigin() string
- func (m *BindChangeRequest) GetTelephone() string
- func (m *BindChangeRequest) GetUid() int64
- func (*BindChangeRequest) ProtoMessage()
- func (m *BindChangeRequest) Reset()
- func (m *BindChangeRequest) String() string
- func (m *BindChangeRequest) XXX_DiscardUnknown()
- func (m *BindChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindChangeRequest) XXX_Merge(src proto.Message)
- func (m *BindChangeRequest) XXX_Size() int
- func (m *BindChangeRequest) XXX_Unmarshal(b []byte) error
- type BindChangeResponse
- func (*BindChangeResponse) Descriptor() ([]byte, []int)
- func (m *BindChangeResponse) GetCode() int64
- func (m *BindChangeResponse) GetData() *BindData
- func (m *BindChangeResponse) GetMsg() string
- func (m *BindChangeResponse) GetNowTime() int64
- func (*BindChangeResponse) ProtoMessage()
- func (m *BindChangeResponse) Reset()
- func (m *BindChangeResponse) String() string
- func (m *BindChangeResponse) XXX_DiscardUnknown()
- func (m *BindChangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindChangeResponse) XXX_Merge(src proto.Message)
- func (m *BindChangeResponse) XXX_Size() int
- func (m *BindChangeResponse) XXX_Unmarshal(b []byte) error
- type BindData
- func (*BindData) Descriptor() ([]byte, []int)
- func (m *BindData) GetBindId() int64
- func (*BindData) ProtoMessage()
- func (m *BindData) Reset()
- func (m *BindData) String() string
- func (m *BindData) XXX_DiscardUnknown()
- func (m *BindData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindData) XXX_Merge(src proto.Message)
- func (m *BindData) XXX_Size() int
- func (m *BindData) XXX_Unmarshal(b []byte) error
- type BindPhoneParseByOneClickRequest
- func (*BindPhoneParseByOneClickRequest) Descriptor() ([]byte, []int)
- func (m *BindPhoneParseByOneClickRequest) GetCode() string
- func (m *BindPhoneParseByOneClickRequest) GetPlatformId() int64
- func (m *BindPhoneParseByOneClickRequest) GetTelephone() string
- func (*BindPhoneParseByOneClickRequest) ProtoMessage()
- func (m *BindPhoneParseByOneClickRequest) Reset()
- func (m *BindPhoneParseByOneClickRequest) String() string
- func (m *BindPhoneParseByOneClickRequest) XXX_DiscardUnknown()
- func (m *BindPhoneParseByOneClickRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindPhoneParseByOneClickRequest) XXX_Merge(src proto.Message)
- func (m *BindPhoneParseByOneClickRequest) XXX_Size() int
- func (m *BindPhoneParseByOneClickRequest) XXX_Unmarshal(b []byte) error
- type BindPhoneParseByOneClickResponse
- func (*BindPhoneParseByOneClickResponse) Descriptor() ([]byte, []int)
- func (m *BindPhoneParseByOneClickResponse) GetCode() int64
- func (m *BindPhoneParseByOneClickResponse) GetData() map[string]string
- func (m *BindPhoneParseByOneClickResponse) GetMsg() string
- func (m *BindPhoneParseByOneClickResponse) GetNowTime() int64
- func (*BindPhoneParseByOneClickResponse) ProtoMessage()
- func (m *BindPhoneParseByOneClickResponse) Reset()
- func (m *BindPhoneParseByOneClickResponse) String() string
- func (m *BindPhoneParseByOneClickResponse) XXX_DiscardUnknown()
- func (m *BindPhoneParseByOneClickResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindPhoneParseByOneClickResponse) XXX_Merge(src proto.Message)
- func (m *BindPhoneParseByOneClickResponse) XXX_Size() int
- func (m *BindPhoneParseByOneClickResponse) XXX_Unmarshal(b []byte) error
- type BindPhoneParseRequest
- func (*BindPhoneParseRequest) Descriptor() ([]byte, []int)
- func (m *BindPhoneParseRequest) GetCode() string
- func (m *BindPhoneParseRequest) GetEncryptedData() string
- func (m *BindPhoneParseRequest) GetIv() string
- func (m *BindPhoneParseRequest) GetPlatformId() int64
- func (m *BindPhoneParseRequest) GetUid() int64
- func (*BindPhoneParseRequest) ProtoMessage()
- func (m *BindPhoneParseRequest) Reset()
- func (m *BindPhoneParseRequest) String() string
- func (m *BindPhoneParseRequest) XXX_DiscardUnknown()
- func (m *BindPhoneParseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindPhoneParseRequest) XXX_Merge(src proto.Message)
- func (m *BindPhoneParseRequest) XXX_Size() int
- func (m *BindPhoneParseRequest) XXX_Unmarshal(b []byte) error
- type BindPhoneParseResponse
- func (*BindPhoneParseResponse) Descriptor() ([]byte, []int)
- func (m *BindPhoneParseResponse) GetCode() int64
- func (m *BindPhoneParseResponse) GetData() map[string]string
- func (m *BindPhoneParseResponse) GetMsg() string
- func (m *BindPhoneParseResponse) GetNowTime() int64
- func (*BindPhoneParseResponse) ProtoMessage()
- func (m *BindPhoneParseResponse) Reset()
- func (m *BindPhoneParseResponse) String() string
- func (m *BindPhoneParseResponse) XXX_DiscardUnknown()
- func (m *BindPhoneParseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindPhoneParseResponse) XXX_Merge(src proto.Message)
- func (m *BindPhoneParseResponse) XXX_Size() int
- func (m *BindPhoneParseResponse) XXX_Unmarshal(b []byte) error
- type BindTelephoneClient
- type BindTelephoneServer
- type BindVerifyRequest
- func (*BindVerifyRequest) Descriptor() ([]byte, []int)
- func (m *BindVerifyRequest) GetCode() string
- func (m *BindVerifyRequest) GetNationCode() string
- func (m *BindVerifyRequest) GetOrigin() string
- func (m *BindVerifyRequest) GetTelephone() string
- func (m *BindVerifyRequest) GetUid() int64
- func (*BindVerifyRequest) ProtoMessage()
- func (m *BindVerifyRequest) Reset()
- func (m *BindVerifyRequest) String() string
- func (m *BindVerifyRequest) XXX_DiscardUnknown()
- func (m *BindVerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindVerifyRequest) XXX_Merge(src proto.Message)
- func (m *BindVerifyRequest) XXX_Size() int
- func (m *BindVerifyRequest) XXX_Unmarshal(b []byte) error
- type BindVerifyResponse
- func (*BindVerifyResponse) Descriptor() ([]byte, []int)
- func (m *BindVerifyResponse) GetCode() int64
- func (m *BindVerifyResponse) GetData() map[string]string
- func (m *BindVerifyResponse) GetMsg() string
- func (m *BindVerifyResponse) GetNowTime() int64
- func (*BindVerifyResponse) ProtoMessage()
- func (m *BindVerifyResponse) Reset()
- func (m *BindVerifyResponse) String() string
- func (m *BindVerifyResponse) XXX_DiscardUnknown()
- func (m *BindVerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BindVerifyResponse) XXX_Merge(src proto.Message)
- func (m *BindVerifyResponse) XXX_Size() int
- func (m *BindVerifyResponse) XXX_Unmarshal(b []byte) error
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)
- func (m *CheckRequest) GetNationCode() string
- func (m *CheckRequest) GetOrigin() string
- func (m *CheckRequest) GetTelephone() string
- func (m *CheckRequest) GetUid() int64
- func (*CheckRequest) ProtoMessage()
- func (m *CheckRequest) Reset()
- func (m *CheckRequest) String() string
- func (m *CheckRequest) XXX_DiscardUnknown()
- func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckRequest) XXX_Merge(src proto.Message)
- func (m *CheckRequest) XXX_Size() int
- func (m *CheckRequest) XXX_Unmarshal(b []byte) error
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)
- func (m *CheckResponse) GetCode() int64
- func (m *CheckResponse) GetData() map[string]string
- func (m *CheckResponse) GetMsg() string
- func (m *CheckResponse) GetNowTime() int64
- func (*CheckResponse) ProtoMessage()
- func (m *CheckResponse) Reset()
- func (m *CheckResponse) String() string
- func (m *CheckResponse) XXX_DiscardUnknown()
- func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckResponse) XXX_Merge(src proto.Message)
- func (m *CheckResponse) XXX_Size() int
- func (m *CheckResponse) XXX_Unmarshal(b []byte) error
- type CodeClient
- type CodeServer
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)
- func (m *Credentials) GetIsBindTelephone() bool
- func (m *Credentials) GetIsFirstRegister() bool
- func (m *Credentials) GetIsNew() bool
- func (m *Credentials) GetOpenid() string
- func (m *Credentials) GetPlatformInfo() *PlatformInfo
- func (m *Credentials) GetUid() int64
- func (m *Credentials) GetUri() string
- func (*Credentials) ProtoMessage()
- func (m *Credentials) Reset()
- func (m *Credentials) String() string
- func (m *Credentials) XXX_DiscardUnknown()
- func (m *Credentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Credentials) XXX_Merge(src proto.Message)
- func (m *Credentials) XXX_Size() int
- func (m *Credentials) XXX_Unmarshal(b []byte) error
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetCity() string
- func (m *Data) GetCountry() string
- func (m *Data) GetCreateTime() int64
- func (m *Data) GetCurrentlyLoggedPlatformId() int64
- func (m *Data) GetHeadImgUrl() string
- func (m *Data) GetLang() string
- func (m *Data) GetModifyTime() int64
- func (m *Data) GetNickname() string
- func (m *Data) GetProvince() string
- func (m *Data) GetRegion() string
- func (m *Data) GetSex() int64
- func (m *Data) GetSignature() string
- func (m *Data) GetUid() int64
- func (m *Data) GetUri() string
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type GetSendStatusRequest
- func (*GetSendStatusRequest) Descriptor() ([]byte, []int)
- func (m *GetSendStatusRequest) GetIp() string
- func (m *GetSendStatusRequest) GetNationCode() string
- func (m *GetSendStatusRequest) GetSendType() string
- func (m *GetSendStatusRequest) GetSignR() int64
- func (m *GetSendStatusRequest) GetTelephone() string
- func (m *GetSendStatusRequest) GetTemplate() string
- func (*GetSendStatusRequest) ProtoMessage()
- func (m *GetSendStatusRequest) Reset()
- func (m *GetSendStatusRequest) String() string
- func (m *GetSendStatusRequest) XXX_DiscardUnknown()
- func (m *GetSendStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSendStatusRequest) XXX_Merge(src proto.Message)
- func (m *GetSendStatusRequest) XXX_Size() int
- func (m *GetSendStatusRequest) XXX_Unmarshal(b []byte) error
- type GetSendStatusResponse
- func (*GetSendStatusResponse) Descriptor() ([]byte, []int)
- func (m *GetSendStatusResponse) GetCode() int64
- func (m *GetSendStatusResponse) GetData() *SendStatus
- func (m *GetSendStatusResponse) GetMsg() string
- func (m *GetSendStatusResponse) GetNowTime() int64
- func (*GetSendStatusResponse) ProtoMessage()
- func (m *GetSendStatusResponse) Reset()
- func (m *GetSendStatusResponse) String() string
- func (m *GetSendStatusResponse) XXX_DiscardUnknown()
- func (m *GetSendStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSendStatusResponse) XXX_Merge(src proto.Message)
- func (m *GetSendStatusResponse) XXX_Size() int
- func (m *GetSendStatusResponse) XXX_Unmarshal(b []byte) error
- type IsCheckImageCodeRequest
- func (*IsCheckImageCodeRequest) Descriptor() ([]byte, []int)
- func (m *IsCheckImageCodeRequest) GetNationCode() string
- func (m *IsCheckImageCodeRequest) GetScene() string
- func (m *IsCheckImageCodeRequest) GetTelephone() string
- func (*IsCheckImageCodeRequest) ProtoMessage()
- func (m *IsCheckImageCodeRequest) Reset()
- func (m *IsCheckImageCodeRequest) String() string
- func (m *IsCheckImageCodeRequest) XXX_DiscardUnknown()
- func (m *IsCheckImageCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsCheckImageCodeRequest) XXX_Merge(src proto.Message)
- func (m *IsCheckImageCodeRequest) XXX_Size() int
- func (m *IsCheckImageCodeRequest) XXX_Unmarshal(b []byte) error
- type IsCheckImageCodeResponse
- func (*IsCheckImageCodeResponse) Descriptor() ([]byte, []int)
- func (m *IsCheckImageCodeResponse) GetCode() int64
- func (m *IsCheckImageCodeResponse) GetData() bool
- func (m *IsCheckImageCodeResponse) GetMsg() string
- func (m *IsCheckImageCodeResponse) GetNowTime() int64
- func (*IsCheckImageCodeResponse) ProtoMessage()
- func (m *IsCheckImageCodeResponse) Reset()
- func (m *IsCheckImageCodeResponse) String() string
- func (m *IsCheckImageCodeResponse) XXX_DiscardUnknown()
- func (m *IsCheckImageCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsCheckImageCodeResponse) XXX_Merge(src proto.Message)
- func (m *IsCheckImageCodeResponse) XXX_Size() int
- func (m *IsCheckImageCodeResponse) XXX_Unmarshal(b []byte) error
- type LoginClient
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)
- func (m *LoginRequest) GetData() map[string]string
- func (m *LoginRequest) GetPlatformId() int64
- func (m *LoginRequest) GetScope() string
- 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) GetCode() int64
- func (m *LoginResponse) GetData() *Credentials
- func (m *LoginResponse) GetMsg() string
- func (m *LoginResponse) GetNowTime() int64
- 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 LoginServer
- type MergeClient
- type MergeServer
- type PlatformInfo
- func (*PlatformInfo) Descriptor() ([]byte, []int)
- func (m *PlatformInfo) GetOriginalOpenid() string
- func (m *PlatformInfo) GetOriginalUid() int64
- func (m *PlatformInfo) GetOriginalUri() string
- func (m *PlatformInfo) GetPlatformId() int64
- func (*PlatformInfo) ProtoMessage()
- func (m *PlatformInfo) Reset()
- func (m *PlatformInfo) String() string
- func (m *PlatformInfo) XXX_DiscardUnknown()
- func (m *PlatformInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlatformInfo) XXX_Merge(src proto.Message)
- func (m *PlatformInfo) XXX_Size() int
- func (m *PlatformInfo) XXX_Unmarshal(b []byte) error
- type Reply
- func (*Reply) Descriptor() ([]byte, []int)
- func (m *Reply) GetCode() int64
- func (m *Reply) GetData() map[string]string
- func (m *Reply) GetMsg() string
- func (m *Reply) GetNowTime() int64
- func (*Reply) ProtoMessage()
- func (m *Reply) Reset()
- func (m *Reply) String() string
- func (m *Reply) XXX_DiscardUnknown()
- func (m *Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reply) XXX_Merge(src proto.Message)
- func (m *Reply) XXX_Size() int
- func (m *Reply) XXX_Unmarshal(b []byte) error
- type SendCodeRequest
- func (*SendCodeRequest) Descriptor() ([]byte, []int)
- func (m *SendCodeRequest) GetIp() string
- func (m *SendCodeRequest) GetNationCode() string
- func (m *SendCodeRequest) GetSendType() string
- func (m *SendCodeRequest) GetTelephone() string
- func (m *SendCodeRequest) GetTemplate() string
- func (*SendCodeRequest) ProtoMessage()
- func (m *SendCodeRequest) Reset()
- func (m *SendCodeRequest) String() string
- func (m *SendCodeRequest) XXX_DiscardUnknown()
- func (m *SendCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendCodeRequest) XXX_Merge(src proto.Message)
- func (m *SendCodeRequest) XXX_Size() int
- func (m *SendCodeRequest) XXX_Unmarshal(b []byte) error
- type SendCodeResponse
- func (*SendCodeResponse) Descriptor() ([]byte, []int)
- func (m *SendCodeResponse) GetCode() int64
- func (m *SendCodeResponse) GetData() map[string]string
- func (m *SendCodeResponse) GetMsg() string
- func (m *SendCodeResponse) GetNowTime() int64
- func (*SendCodeResponse) ProtoMessage()
- func (m *SendCodeResponse) Reset()
- func (m *SendCodeResponse) String() string
- func (m *SendCodeResponse) XXX_DiscardUnknown()
- func (m *SendCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendCodeResponse) XXX_Merge(src proto.Message)
- func (m *SendCodeResponse) XXX_Size() int
- func (m *SendCodeResponse) XXX_Unmarshal(b []byte) error
- type SendStatus
- func (*SendStatus) Descriptor() ([]byte, []int)
- func (m *SendStatus) GetForceCall() bool
- func (m *SendStatus) GetIsForbidden() bool
- func (m *SendStatus) GetNeedImageCode() bool
- func (m *SendStatus) GetNumberLimit() bool
- func (*SendStatus) ProtoMessage()
- func (m *SendStatus) Reset()
- func (m *SendStatus) String() string
- func (m *SendStatus) XXX_DiscardUnknown()
- func (m *SendStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendStatus) XXX_Merge(src proto.Message)
- func (m *SendStatus) XXX_Size() int
- func (m *SendStatus) XXX_Unmarshal(b []byte) error
- type TelephoneRequest
- func (*TelephoneRequest) Descriptor() ([]byte, []int)
- func (m *TelephoneRequest) GetIsNewProcess() bool
- func (m *TelephoneRequest) GetTargetTelephone() string
- func (m *TelephoneRequest) GetUid() int64
- func (*TelephoneRequest) ProtoMessage()
- func (m *TelephoneRequest) Reset()
- func (m *TelephoneRequest) String() string
- func (m *TelephoneRequest) XXX_DiscardUnknown()
- func (m *TelephoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TelephoneRequest) XXX_Merge(src proto.Message)
- func (m *TelephoneRequest) XXX_Size() int
- func (m *TelephoneRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedBindTelephoneServer
- func (*UnimplementedBindTelephoneServer) AutomaticBind(ctx context.Context, req *AutomaticBindRequest) (*AutomaticBindResponse, error)
- func (*UnimplementedBindTelephoneServer) BindChange(ctx context.Context, req *BindChangeRequest) (*BindChangeResponse, error)
- func (*UnimplementedBindTelephoneServer) BindPhoneParse(ctx context.Context, req *BindPhoneParseRequest) (*BindPhoneParseResponse, error)
- func (*UnimplementedBindTelephoneServer) BindPhoneParseByOneClick(ctx context.Context, req *BindPhoneParseByOneClickRequest) (*BindPhoneParseByOneClickResponse, error)
- func (*UnimplementedBindTelephoneServer) BindVerify(ctx context.Context, req *BindVerifyRequest) (*BindVerifyResponse, error)
- func (*UnimplementedBindTelephoneServer) Check(ctx context.Context, req *CheckRequest) (*CheckResponse, error)
- type UnimplementedCodeServer
- func (*UnimplementedCodeServer) GetSendStatus(ctx context.Context, req *GetSendStatusRequest) (*GetSendStatusResponse, error)
- func (*UnimplementedCodeServer) IsCheckImageCode(ctx context.Context, req *IsCheckImageCodeRequest) (*IsCheckImageCodeResponse, error)
- func (*UnimplementedCodeServer) SendCode(ctx context.Context, req *SendCodeRequest) (*SendCodeResponse, error)
- func (*UnimplementedCodeServer) Verify(ctx context.Context, req *VerifyRequest) (*VerifyResponse, error)
- func (*UnimplementedCodeServer) VerifyImageCode(ctx context.Context, req *VerifyImageCodeRequest) (*VerifyImageCodeResponse, error)
- type UnimplementedLoginServer
- type UnimplementedMergeServer
- func (*UnimplementedMergeServer) Telephone(ctx context.Context, req *TelephoneRequest) (*Reply, error)
- func (*UnimplementedMergeServer) TelephoneCheck(ctx context.Context, req *TelephoneRequest) (*Reply, error)
- func (*UnimplementedMergeServer) WeChat(ctx context.Context, req *WeChatRequest) (*Reply, error)
- func (*UnimplementedMergeServer) WeChatCheck(ctx context.Context, req *WeChatRequest) (*Reply, error)
- func (*UnimplementedMergeServer) WeChatUnMerge(ctx context.Context, req *WeChatUnMergeRequest) (*Reply, error)
- type VerifyImageCodeRequest
- func (*VerifyImageCodeRequest) Descriptor() ([]byte, []int)
- func (m *VerifyImageCodeRequest) GetIp() string
- func (m *VerifyImageCodeRequest) GetNationCode() string
- func (m *VerifyImageCodeRequest) GetRandStr() string
- func (m *VerifyImageCodeRequest) GetScene() string
- func (m *VerifyImageCodeRequest) GetTelephone() string
- func (m *VerifyImageCodeRequest) GetTicket() string
- func (*VerifyImageCodeRequest) ProtoMessage()
- func (m *VerifyImageCodeRequest) Reset()
- func (m *VerifyImageCodeRequest) String() string
- func (m *VerifyImageCodeRequest) XXX_DiscardUnknown()
- func (m *VerifyImageCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyImageCodeRequest) XXX_Merge(src proto.Message)
- func (m *VerifyImageCodeRequest) XXX_Size() int
- func (m *VerifyImageCodeRequest) XXX_Unmarshal(b []byte) error
- type VerifyImageCodeResponse
- func (*VerifyImageCodeResponse) Descriptor() ([]byte, []int)
- func (m *VerifyImageCodeResponse) GetCode() int64
- func (m *VerifyImageCodeResponse) GetMsg() string
- func (m *VerifyImageCodeResponse) GetNowTime() int64
- func (*VerifyImageCodeResponse) ProtoMessage()
- func (m *VerifyImageCodeResponse) Reset()
- func (m *VerifyImageCodeResponse) String() string
- func (m *VerifyImageCodeResponse) XXX_DiscardUnknown()
- func (m *VerifyImageCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyImageCodeResponse) XXX_Merge(src proto.Message)
- func (m *VerifyImageCodeResponse) XXX_Size() int
- func (m *VerifyImageCodeResponse) XXX_Unmarshal(b []byte) error
- type VerifyRequest
- func (*VerifyRequest) Descriptor() ([]byte, []int)
- func (m *VerifyRequest) GetCode() string
- func (m *VerifyRequest) GetNationCode() string
- func (m *VerifyRequest) GetTelephone() string
- func (m *VerifyRequest) GetTemplate() string
- func (*VerifyRequest) ProtoMessage()
- func (m *VerifyRequest) Reset()
- func (m *VerifyRequest) String() string
- func (m *VerifyRequest) XXX_DiscardUnknown()
- func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyRequest) XXX_Merge(src proto.Message)
- func (m *VerifyRequest) XXX_Size() int
- func (m *VerifyRequest) XXX_Unmarshal(b []byte) error
- type VerifyResponse
- func (*VerifyResponse) Descriptor() ([]byte, []int)
- func (m *VerifyResponse) GetCode() int64
- func (m *VerifyResponse) GetData() map[string]string
- func (m *VerifyResponse) GetMsg() string
- func (m *VerifyResponse) GetNowTime() int64
- func (*VerifyResponse) ProtoMessage()
- func (m *VerifyResponse) Reset()
- func (m *VerifyResponse) String() string
- func (m *VerifyResponse) XXX_DiscardUnknown()
- func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyResponse) XXX_Merge(src proto.Message)
- func (m *VerifyResponse) XXX_Size() int
- func (m *VerifyResponse) XXX_Unmarshal(b []byte) error
- type WeChatRequest
- func (*WeChatRequest) Descriptor() ([]byte, []int)
- func (m *WeChatRequest) GetTargetUid() int64
- func (m *WeChatRequest) GetUid() int64
- func (*WeChatRequest) ProtoMessage()
- func (m *WeChatRequest) Reset()
- func (m *WeChatRequest) String() string
- func (m *WeChatRequest) XXX_DiscardUnknown()
- func (m *WeChatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WeChatRequest) XXX_Merge(src proto.Message)
- func (m *WeChatRequest) XXX_Size() int
- func (m *WeChatRequest) XXX_Unmarshal(b []byte) error
- type WeChatUnMergeRequest
- func (*WeChatUnMergeRequest) Descriptor() ([]byte, []int)
- func (m *WeChatUnMergeRequest) GetUid() int64
- func (*WeChatUnMergeRequest) ProtoMessage()
- func (m *WeChatUnMergeRequest) Reset()
- func (m *WeChatUnMergeRequest) String() string
- func (m *WeChatUnMergeRequest) XXX_DiscardUnknown()
- func (m *WeChatUnMergeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WeChatUnMergeRequest) XXX_Merge(src proto.Message)
- func (m *WeChatUnMergeRequest) XXX_Size() int
- func (m *WeChatUnMergeRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBindTelephoneGateway ¶ added in v0.0.2
func RegisterBindTelephoneServer ¶
func RegisterBindTelephoneServer(s *grpc.Server, srv BindTelephoneServer)
func RegisterCodeGateway ¶ added in v0.0.2
func RegisterCodeServer ¶
func RegisterCodeServer(s *grpc.Server, srv CodeServer)
func RegisterLoginGateway ¶ added in v0.0.2
func RegisterLoginServer ¶
func RegisterLoginServer(s *grpc.Server, srv LoginServer)
func RegisterMergeGateway ¶ added in v0.0.2
func RegisterMergeServer ¶
func RegisterMergeServer(s *grpc.Server, srv MergeServer)
Types ¶
type AuthenticateRequest ¶
type AuthenticateRequest struct {
// 凭证,cookie:string or token:sting
Credentials map[string]string `` /* 163-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AuthenticateRequest) Descriptor ¶
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
func (*AuthenticateRequest) GetCredentials ¶
func (m *AuthenticateRequest) GetCredentials() map[string]string
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) Reset ¶
func (m *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (m *AuthenticateRequest) String() string
func (*AuthenticateRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *AuthenticateRequest) XXX_DiscardUnknown()
func (*AuthenticateRequest) XXX_Marshal ¶ added in v0.0.2
func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateRequest) XXX_Merge ¶ added in v0.0.2
func (m *AuthenticateRequest) XXX_Merge(src proto.Message)
func (*AuthenticateRequest) XXX_Size ¶ added in v0.0.2
func (m *AuthenticateRequest) XXX_Size() int
func (*AuthenticateRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error
type AuthenticateResponse ¶
type AuthenticateResponse struct {
// 错误码,0 为正常
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// 错误信息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 请求响应时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data *Data `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AuthenticateResponse) Descriptor ¶
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
func (*AuthenticateResponse) GetCode ¶
func (m *AuthenticateResponse) GetCode() int64
func (*AuthenticateResponse) GetData ¶
func (m *AuthenticateResponse) GetData() *Data
func (*AuthenticateResponse) GetMsg ¶
func (m *AuthenticateResponse) GetMsg() string
func (*AuthenticateResponse) GetNowTime ¶
func (m *AuthenticateResponse) GetNowTime() int64
func (*AuthenticateResponse) ProtoMessage ¶
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) Reset ¶
func (m *AuthenticateResponse) Reset()
func (*AuthenticateResponse) String ¶
func (m *AuthenticateResponse) String() string
func (*AuthenticateResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *AuthenticateResponse) XXX_DiscardUnknown()
func (*AuthenticateResponse) XXX_Marshal ¶ added in v0.0.2
func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateResponse) XXX_Merge ¶ added in v0.0.2
func (m *AuthenticateResponse) XXX_Merge(src proto.Message)
func (*AuthenticateResponse) XXX_Size ¶ added in v0.0.2
func (m *AuthenticateResponse) XXX_Size() int
func (*AuthenticateResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error
type AutomaticBindRequest ¶
type AutomaticBindRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 手机号
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// uid
Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
// 前缀,通常为空,抖音必须为DY-
Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AutomaticBindRequest) Descriptor ¶
func (*AutomaticBindRequest) Descriptor() ([]byte, []int)
func (*AutomaticBindRequest) GetNationCode ¶
func (m *AutomaticBindRequest) GetNationCode() string
func (*AutomaticBindRequest) GetOrigin ¶
func (m *AutomaticBindRequest) GetOrigin() string
func (*AutomaticBindRequest) GetTelephone ¶
func (m *AutomaticBindRequest) GetTelephone() string
func (*AutomaticBindRequest) GetUid ¶
func (m *AutomaticBindRequest) GetUid() int64
func (*AutomaticBindRequest) ProtoMessage ¶
func (*AutomaticBindRequest) ProtoMessage()
func (*AutomaticBindRequest) Reset ¶
func (m *AutomaticBindRequest) Reset()
func (*AutomaticBindRequest) String ¶
func (m *AutomaticBindRequest) String() string
func (*AutomaticBindRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *AutomaticBindRequest) XXX_DiscardUnknown()
func (*AutomaticBindRequest) XXX_Marshal ¶ added in v0.0.2
func (m *AutomaticBindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AutomaticBindRequest) XXX_Merge ¶ added in v0.0.2
func (m *AutomaticBindRequest) XXX_Merge(src proto.Message)
func (*AutomaticBindRequest) XXX_Size ¶ added in v0.0.2
func (m *AutomaticBindRequest) XXX_Size() int
func (*AutomaticBindRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *AutomaticBindRequest) XXX_Unmarshal(b []byte) error
type AutomaticBindResponse ¶
type AutomaticBindResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// 消息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data *BindData `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AutomaticBindResponse) Descriptor ¶
func (*AutomaticBindResponse) Descriptor() ([]byte, []int)
func (*AutomaticBindResponse) GetCode ¶
func (m *AutomaticBindResponse) GetCode() int64
func (*AutomaticBindResponse) GetData ¶
func (m *AutomaticBindResponse) GetData() *BindData
func (*AutomaticBindResponse) GetMsg ¶
func (m *AutomaticBindResponse) GetMsg() string
func (*AutomaticBindResponse) GetNowTime ¶
func (m *AutomaticBindResponse) GetNowTime() int64
func (*AutomaticBindResponse) ProtoMessage ¶
func (*AutomaticBindResponse) ProtoMessage()
func (*AutomaticBindResponse) Reset ¶
func (m *AutomaticBindResponse) Reset()
func (*AutomaticBindResponse) String ¶
func (m *AutomaticBindResponse) String() string
func (*AutomaticBindResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *AutomaticBindResponse) XXX_DiscardUnknown()
func (*AutomaticBindResponse) XXX_Marshal ¶ added in v0.0.2
func (m *AutomaticBindResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AutomaticBindResponse) XXX_Merge ¶ added in v0.0.2
func (m *AutomaticBindResponse) XXX_Merge(src proto.Message)
func (*AutomaticBindResponse) XXX_Size ¶ added in v0.0.2
func (m *AutomaticBindResponse) XXX_Size() int
func (*AutomaticBindResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *AutomaticBindResponse) XXX_Unmarshal(b []byte) error
type BindChangeRequest ¶
type BindChangeRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 手机号
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// uid
Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
// 验证码
Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
// 前缀,通常为空,抖音必须为DY-
Origin string `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindChangeRequest) Descriptor ¶
func (*BindChangeRequest) Descriptor() ([]byte, []int)
func (*BindChangeRequest) GetCode ¶
func (m *BindChangeRequest) GetCode() string
func (*BindChangeRequest) GetNationCode ¶
func (m *BindChangeRequest) GetNationCode() string
func (*BindChangeRequest) GetOrigin ¶
func (m *BindChangeRequest) GetOrigin() string
func (*BindChangeRequest) GetTelephone ¶
func (m *BindChangeRequest) GetTelephone() string
func (*BindChangeRequest) GetUid ¶
func (m *BindChangeRequest) GetUid() int64
func (*BindChangeRequest) ProtoMessage ¶
func (*BindChangeRequest) ProtoMessage()
func (*BindChangeRequest) Reset ¶
func (m *BindChangeRequest) Reset()
func (*BindChangeRequest) String ¶
func (m *BindChangeRequest) String() string
func (*BindChangeRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindChangeRequest) XXX_DiscardUnknown()
func (*BindChangeRequest) XXX_Marshal ¶ added in v0.0.2
func (m *BindChangeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BindChangeRequest) XXX_Merge ¶ added in v0.0.2
func (m *BindChangeRequest) XXX_Merge(src proto.Message)
func (*BindChangeRequest) XXX_Size ¶ added in v0.0.2
func (m *BindChangeRequest) XXX_Size() int
func (*BindChangeRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *BindChangeRequest) XXX_Unmarshal(b []byte) error
type BindChangeResponse ¶
type BindChangeResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// msg
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data *BindData `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindChangeResponse) Descriptor ¶
func (*BindChangeResponse) Descriptor() ([]byte, []int)
func (*BindChangeResponse) GetCode ¶
func (m *BindChangeResponse) GetCode() int64
func (*BindChangeResponse) GetData ¶
func (m *BindChangeResponse) GetData() *BindData
func (*BindChangeResponse) GetMsg ¶
func (m *BindChangeResponse) GetMsg() string
func (*BindChangeResponse) GetNowTime ¶
func (m *BindChangeResponse) GetNowTime() int64
func (*BindChangeResponse) ProtoMessage ¶
func (*BindChangeResponse) ProtoMessage()
func (*BindChangeResponse) Reset ¶
func (m *BindChangeResponse) Reset()
func (*BindChangeResponse) String ¶
func (m *BindChangeResponse) String() string
func (*BindChangeResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindChangeResponse) XXX_DiscardUnknown()
func (*BindChangeResponse) XXX_Marshal ¶ added in v0.0.2
func (m *BindChangeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BindChangeResponse) XXX_Merge ¶ added in v0.0.2
func (m *BindChangeResponse) XXX_Merge(src proto.Message)
func (*BindChangeResponse) XXX_Size ¶ added in v0.0.2
func (m *BindChangeResponse) XXX_Size() int
func (*BindChangeResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *BindChangeResponse) XXX_Unmarshal(b []byte) error
type BindData ¶
type BindData struct {
// uid
BindId int64 `protobuf:"varint,1,opt,name=bindId,proto3" json:"bindId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindData) Descriptor ¶
func (*BindData) ProtoMessage ¶
func (*BindData) ProtoMessage()
func (*BindData) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindData) XXX_DiscardUnknown()
func (*BindData) XXX_Marshal ¶ added in v0.0.2
func (*BindData) XXX_Unmarshal ¶ added in v0.0.2
type BindPhoneParseByOneClickRequest ¶
type BindPhoneParseByOneClickRequest struct {
// 用于解析手机号加密数据
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// platformId
PlatformId int64 `protobuf:"varint,2,opt,name=platformId,proto3" json:"platformId,omitempty"`
// telephone 有手机号即验证手机号
Telephone string `protobuf:"bytes,3,opt,name=telephone,proto3" json:"telephone,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindPhoneParseByOneClickRequest) Descriptor ¶
func (*BindPhoneParseByOneClickRequest) Descriptor() ([]byte, []int)
func (*BindPhoneParseByOneClickRequest) GetCode ¶
func (m *BindPhoneParseByOneClickRequest) GetCode() string
func (*BindPhoneParseByOneClickRequest) GetPlatformId ¶
func (m *BindPhoneParseByOneClickRequest) GetPlatformId() int64
func (*BindPhoneParseByOneClickRequest) GetTelephone ¶
func (m *BindPhoneParseByOneClickRequest) GetTelephone() string
func (*BindPhoneParseByOneClickRequest) ProtoMessage ¶
func (*BindPhoneParseByOneClickRequest) ProtoMessage()
func (*BindPhoneParseByOneClickRequest) Reset ¶
func (m *BindPhoneParseByOneClickRequest) Reset()
func (*BindPhoneParseByOneClickRequest) String ¶
func (m *BindPhoneParseByOneClickRequest) String() string
func (*BindPhoneParseByOneClickRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickRequest) XXX_DiscardUnknown()
func (*BindPhoneParseByOneClickRequest) XXX_Marshal ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BindPhoneParseByOneClickRequest) XXX_Merge ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickRequest) XXX_Merge(src proto.Message)
func (*BindPhoneParseByOneClickRequest) XXX_Size ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickRequest) XXX_Size() int
func (*BindPhoneParseByOneClickRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickRequest) XXX_Unmarshal(b []byte) error
type BindPhoneParseByOneClickResponse ¶
type BindPhoneParseByOneClickResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// 消息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data map[string]string `` /* 149-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindPhoneParseByOneClickResponse) Descriptor ¶
func (*BindPhoneParseByOneClickResponse) Descriptor() ([]byte, []int)
func (*BindPhoneParseByOneClickResponse) GetCode ¶
func (m *BindPhoneParseByOneClickResponse) GetCode() int64
func (*BindPhoneParseByOneClickResponse) GetData ¶
func (m *BindPhoneParseByOneClickResponse) GetData() map[string]string
func (*BindPhoneParseByOneClickResponse) GetMsg ¶
func (m *BindPhoneParseByOneClickResponse) GetMsg() string
func (*BindPhoneParseByOneClickResponse) GetNowTime ¶
func (m *BindPhoneParseByOneClickResponse) GetNowTime() int64
func (*BindPhoneParseByOneClickResponse) ProtoMessage ¶
func (*BindPhoneParseByOneClickResponse) ProtoMessage()
func (*BindPhoneParseByOneClickResponse) Reset ¶
func (m *BindPhoneParseByOneClickResponse) Reset()
func (*BindPhoneParseByOneClickResponse) String ¶
func (m *BindPhoneParseByOneClickResponse) String() string
func (*BindPhoneParseByOneClickResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickResponse) XXX_DiscardUnknown()
func (*BindPhoneParseByOneClickResponse) XXX_Marshal ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BindPhoneParseByOneClickResponse) XXX_Merge ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickResponse) XXX_Merge(src proto.Message)
func (*BindPhoneParseByOneClickResponse) XXX_Size ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickResponse) XXX_Size() int
func (*BindPhoneParseByOneClickResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *BindPhoneParseByOneClickResponse) XXX_Unmarshal(b []byte) error
type BindPhoneParseRequest ¶
type BindPhoneParseRequest struct {
// 用于解析手机号加密数据
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// 用于解析手机号加密数据
EncryptedData string `protobuf:"bytes,2,opt,name=encryptedData,proto3" json:"encryptedData,omitempty"`
// 用于解析手机号加密数据
Iv string `protobuf:"bytes,3,opt,name=iv,proto3" json:"iv,omitempty"`
// platformId
PlatformId int64 `protobuf:"varint,4,opt,name=platformId,proto3" json:"platformId,omitempty"`
// uid,有uid的情况下不使用code
Uid int64 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindPhoneParseRequest) Descriptor ¶
func (*BindPhoneParseRequest) Descriptor() ([]byte, []int)
func (*BindPhoneParseRequest) GetCode ¶
func (m *BindPhoneParseRequest) GetCode() string
func (*BindPhoneParseRequest) GetEncryptedData ¶
func (m *BindPhoneParseRequest) GetEncryptedData() string
func (*BindPhoneParseRequest) GetIv ¶
func (m *BindPhoneParseRequest) GetIv() string
func (*BindPhoneParseRequest) GetPlatformId ¶
func (m *BindPhoneParseRequest) GetPlatformId() int64
func (*BindPhoneParseRequest) GetUid ¶
func (m *BindPhoneParseRequest) GetUid() int64
func (*BindPhoneParseRequest) ProtoMessage ¶
func (*BindPhoneParseRequest) ProtoMessage()
func (*BindPhoneParseRequest) Reset ¶
func (m *BindPhoneParseRequest) Reset()
func (*BindPhoneParseRequest) String ¶
func (m *BindPhoneParseRequest) String() string
func (*BindPhoneParseRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindPhoneParseRequest) XXX_DiscardUnknown()
func (*BindPhoneParseRequest) XXX_Marshal ¶ added in v0.0.2
func (m *BindPhoneParseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BindPhoneParseRequest) XXX_Merge ¶ added in v0.0.2
func (m *BindPhoneParseRequest) XXX_Merge(src proto.Message)
func (*BindPhoneParseRequest) XXX_Size ¶ added in v0.0.2
func (m *BindPhoneParseRequest) XXX_Size() int
func (*BindPhoneParseRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *BindPhoneParseRequest) XXX_Unmarshal(b []byte) error
type BindPhoneParseResponse ¶
type BindPhoneParseResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// 消息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data map[string]string `` /* 149-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindPhoneParseResponse) Descriptor ¶
func (*BindPhoneParseResponse) Descriptor() ([]byte, []int)
func (*BindPhoneParseResponse) GetCode ¶
func (m *BindPhoneParseResponse) GetCode() int64
func (*BindPhoneParseResponse) GetData ¶
func (m *BindPhoneParseResponse) GetData() map[string]string
func (*BindPhoneParseResponse) GetMsg ¶
func (m *BindPhoneParseResponse) GetMsg() string
func (*BindPhoneParseResponse) GetNowTime ¶
func (m *BindPhoneParseResponse) GetNowTime() int64
func (*BindPhoneParseResponse) ProtoMessage ¶
func (*BindPhoneParseResponse) ProtoMessage()
func (*BindPhoneParseResponse) Reset ¶
func (m *BindPhoneParseResponse) Reset()
func (*BindPhoneParseResponse) String ¶
func (m *BindPhoneParseResponse) String() string
func (*BindPhoneParseResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindPhoneParseResponse) XXX_DiscardUnknown()
func (*BindPhoneParseResponse) XXX_Marshal ¶ added in v0.0.2
func (m *BindPhoneParseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BindPhoneParseResponse) XXX_Merge ¶ added in v0.0.2
func (m *BindPhoneParseResponse) XXX_Merge(src proto.Message)
func (*BindPhoneParseResponse) XXX_Size ¶ added in v0.0.2
func (m *BindPhoneParseResponse) XXX_Size() int
func (*BindPhoneParseResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *BindPhoneParseResponse) XXX_Unmarshal(b []byte) error
type BindTelephoneClient ¶
type BindTelephoneClient interface {
// 检查是否可以绑定
Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
// 通过验证码,校验手机号是否可以接收验证码
BindVerify(ctx context.Context, in *BindVerifyRequest, opts ...grpc.CallOption) (*BindVerifyResponse, error)
// 通过验证码,进行手机号绑定,换绑
BindChange(ctx context.Context, in *BindChangeRequest, opts ...grpc.CallOption) (*BindChangeResponse, error)
// 手机号绑定,不通过验证码
AutomaticBind(ctx context.Context, in *AutomaticBindRequest, opts ...grpc.CallOption) (*AutomaticBindResponse, error)
// 绑定手机号解析,通过第三方小程序code换取手机号
BindPhoneParse(ctx context.Context, in *BindPhoneParseRequest, opts ...grpc.CallOption) (*BindPhoneParseResponse, error)
// 绑定手机号解析,通过阿里一键
BindPhoneParseByOneClick(ctx context.Context, in *BindPhoneParseByOneClickRequest, opts ...grpc.CallOption) (*BindPhoneParseByOneClickResponse, error)
}
BindTelephoneClient is the client API for BindTelephone service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func GetBindTelephoneClient ¶
func GetBindTelephoneClient(srv string, opts ...grpc.DialOption) (BindTelephoneClient, error)
func NewBindTelephoneClient ¶
func NewBindTelephoneClient(cc *grpc.ClientConn) BindTelephoneClient
type BindTelephoneServer ¶
type BindTelephoneServer interface {
// 检查是否可以绑定
Check(context.Context, *CheckRequest) (*CheckResponse, error)
// 通过验证码,校验手机号是否可以接收验证码
BindVerify(context.Context, *BindVerifyRequest) (*BindVerifyResponse, error)
// 通过验证码,进行手机号绑定,换绑
BindChange(context.Context, *BindChangeRequest) (*BindChangeResponse, error)
// 手机号绑定,不通过验证码
AutomaticBind(context.Context, *AutomaticBindRequest) (*AutomaticBindResponse, error)
// 绑定手机号解析,通过第三方小程序code换取手机号
BindPhoneParse(context.Context, *BindPhoneParseRequest) (*BindPhoneParseResponse, error)
// 绑定手机号解析,通过阿里一键
BindPhoneParseByOneClick(context.Context, *BindPhoneParseByOneClickRequest) (*BindPhoneParseByOneClickResponse, error)
}
BindTelephoneServer is the server API for BindTelephone service.
type BindVerifyRequest ¶
type BindVerifyRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 手机号
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// uid
Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
// 验证码
Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
// 前缀,通常为空,抖音必须为DY-
Origin string `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindVerifyRequest) Descriptor ¶
func (*BindVerifyRequest) Descriptor() ([]byte, []int)
func (*BindVerifyRequest) GetCode ¶
func (m *BindVerifyRequest) GetCode() string
func (*BindVerifyRequest) GetNationCode ¶
func (m *BindVerifyRequest) GetNationCode() string
func (*BindVerifyRequest) GetOrigin ¶
func (m *BindVerifyRequest) GetOrigin() string
func (*BindVerifyRequest) GetTelephone ¶
func (m *BindVerifyRequest) GetTelephone() string
func (*BindVerifyRequest) GetUid ¶
func (m *BindVerifyRequest) GetUid() int64
func (*BindVerifyRequest) ProtoMessage ¶
func (*BindVerifyRequest) ProtoMessage()
func (*BindVerifyRequest) Reset ¶
func (m *BindVerifyRequest) Reset()
func (*BindVerifyRequest) String ¶
func (m *BindVerifyRequest) String() string
func (*BindVerifyRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindVerifyRequest) XXX_DiscardUnknown()
func (*BindVerifyRequest) XXX_Marshal ¶ added in v0.0.2
func (m *BindVerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BindVerifyRequest) XXX_Merge ¶ added in v0.0.2
func (m *BindVerifyRequest) XXX_Merge(src proto.Message)
func (*BindVerifyRequest) XXX_Size ¶ added in v0.0.2
func (m *BindVerifyRequest) XXX_Size() int
func (*BindVerifyRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *BindVerifyRequest) XXX_Unmarshal(b []byte) error
type BindVerifyResponse ¶
type BindVerifyResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// 消息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data map[string]string `` /* 149-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BindVerifyResponse) Descriptor ¶
func (*BindVerifyResponse) Descriptor() ([]byte, []int)
func (*BindVerifyResponse) GetCode ¶
func (m *BindVerifyResponse) GetCode() int64
func (*BindVerifyResponse) GetData ¶
func (m *BindVerifyResponse) GetData() map[string]string
func (*BindVerifyResponse) GetMsg ¶
func (m *BindVerifyResponse) GetMsg() string
func (*BindVerifyResponse) GetNowTime ¶
func (m *BindVerifyResponse) GetNowTime() int64
func (*BindVerifyResponse) ProtoMessage ¶
func (*BindVerifyResponse) ProtoMessage()
func (*BindVerifyResponse) Reset ¶
func (m *BindVerifyResponse) Reset()
func (*BindVerifyResponse) String ¶
func (m *BindVerifyResponse) String() string
func (*BindVerifyResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *BindVerifyResponse) XXX_DiscardUnknown()
func (*BindVerifyResponse) XXX_Marshal ¶ added in v0.0.2
func (m *BindVerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BindVerifyResponse) XXX_Merge ¶ added in v0.0.2
func (m *BindVerifyResponse) XXX_Merge(src proto.Message)
func (*BindVerifyResponse) XXX_Size ¶ added in v0.0.2
func (m *BindVerifyResponse) XXX_Size() int
func (*BindVerifyResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *BindVerifyResponse) XXX_Unmarshal(b []byte) error
type CheckRequest ¶
type CheckRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 手机号
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// uid
Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
// 前缀,通常为空,抖音必须为DY-
Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CheckRequest) Descriptor ¶
func (*CheckRequest) Descriptor() ([]byte, []int)
func (*CheckRequest) GetNationCode ¶
func (m *CheckRequest) GetNationCode() string
func (*CheckRequest) GetOrigin ¶
func (m *CheckRequest) GetOrigin() string
func (*CheckRequest) GetTelephone ¶
func (m *CheckRequest) GetTelephone() string
func (*CheckRequest) GetUid ¶
func (m *CheckRequest) GetUid() int64
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) Reset ¶
func (m *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (m *CheckRequest) String() string
func (*CheckRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *CheckRequest) XXX_DiscardUnknown()
func (*CheckRequest) XXX_Marshal ¶ added in v0.0.2
func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckRequest) XXX_Merge ¶ added in v0.0.2
func (m *CheckRequest) XXX_Merge(src proto.Message)
func (*CheckRequest) XXX_Size ¶ added in v0.0.2
func (m *CheckRequest) XXX_Size() int
func (*CheckRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *CheckRequest) XXX_Unmarshal(b []byte) error
type CheckResponse ¶
type CheckResponse struct {
// code,不为0为错误
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// 错误信息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data map[string]string `` /* 149-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CheckResponse) Descriptor ¶
func (*CheckResponse) Descriptor() ([]byte, []int)
func (*CheckResponse) GetCode ¶
func (m *CheckResponse) GetCode() int64
func (*CheckResponse) GetData ¶
func (m *CheckResponse) GetData() map[string]string
func (*CheckResponse) GetMsg ¶
func (m *CheckResponse) GetMsg() string
func (*CheckResponse) GetNowTime ¶
func (m *CheckResponse) GetNowTime() int64
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) Reset ¶
func (m *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (m *CheckResponse) String() string
func (*CheckResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *CheckResponse) XXX_DiscardUnknown()
func (*CheckResponse) XXX_Marshal ¶ added in v0.0.2
func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckResponse) XXX_Merge ¶ added in v0.0.2
func (m *CheckResponse) XXX_Merge(src proto.Message)
func (*CheckResponse) XXX_Size ¶ added in v0.0.2
func (m *CheckResponse) XXX_Size() int
func (*CheckResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *CheckResponse) XXX_Unmarshal(b []byte) error
type CodeClient ¶
type CodeClient interface {
// 发送
SendCode(ctx context.Context, in *SendCodeRequest, opts ...grpc.CallOption) (*SendCodeResponse, error)
// 校验
Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error)
// 是否校验图片验证码
IsCheckImageCode(ctx context.Context, in *IsCheckImageCodeRequest, opts ...grpc.CallOption) (*IsCheckImageCodeResponse, error)
// 校验图片验证码
VerifyImageCode(ctx context.Context, in *VerifyImageCodeRequest, opts ...grpc.CallOption) (*VerifyImageCodeResponse, error)
// 获取发送状态
GetSendStatus(ctx context.Context, in *GetSendStatusRequest, opts ...grpc.CallOption) (*GetSendStatusResponse, error)
}
CodeClient is the client API for Code service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func GetCodeClient ¶
func GetCodeClient(srv string, opts ...grpc.DialOption) (CodeClient, error)
func NewCodeClient ¶
func NewCodeClient(cc *grpc.ClientConn) CodeClient
type CodeServer ¶
type CodeServer interface {
// 发送
SendCode(context.Context, *SendCodeRequest) (*SendCodeResponse, error)
// 校验
Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
// 是否校验图片验证码
IsCheckImageCode(context.Context, *IsCheckImageCodeRequest) (*IsCheckImageCodeResponse, error)
// 校验图片验证码
VerifyImageCode(context.Context, *VerifyImageCodeRequest) (*VerifyImageCodeResponse, error)
// 获取发送状态
GetSendStatus(context.Context, *GetSendStatusRequest) (*GetSendStatusResponse, error)
}
CodeServer is the server API for Code service.
type Credentials ¶
type Credentials struct {
// userinfoId 对应 bindId
Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
// uri
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// openid
Openid string `protobuf:"bytes,3,opt,name=openid,proto3" json:"openid,omitempty"`
// isNew
IsNew bool `protobuf:"varint,4,opt,name=isNew,proto3" json:"isNew,omitempty"`
// 是否首次注册
IsFirstRegister bool `protobuf:"varint,5,opt,name=isFirstRegister,proto3" json:"isFirstRegister,omitempty"`
// 是否绑定手机号
IsBindTelephone bool `protobuf:"varint,6,opt,name=isBindTelephone,proto3" json:"isBindTelephone,omitempty"`
// platformId
PlatformInfo *PlatformInfo `protobuf:"bytes,7,opt,name=platformInfo,proto3" json:"platformInfo,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Credentials) Descriptor ¶
func (*Credentials) Descriptor() ([]byte, []int)
func (*Credentials) GetIsBindTelephone ¶
func (m *Credentials) GetIsBindTelephone() bool
func (*Credentials) GetIsFirstRegister ¶
func (m *Credentials) GetIsFirstRegister() bool
func (*Credentials) GetIsNew ¶
func (m *Credentials) GetIsNew() bool
func (*Credentials) GetOpenid ¶
func (m *Credentials) GetOpenid() string
func (*Credentials) GetPlatformInfo ¶
func (m *Credentials) GetPlatformInfo() *PlatformInfo
func (*Credentials) GetUid ¶
func (m *Credentials) GetUid() int64
func (*Credentials) GetUri ¶
func (m *Credentials) GetUri() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) Reset ¶
func (m *Credentials) Reset()
func (*Credentials) String ¶
func (m *Credentials) String() string
func (*Credentials) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *Credentials) XXX_DiscardUnknown()
func (*Credentials) XXX_Marshal ¶ added in v0.0.2
func (m *Credentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Credentials) XXX_Merge ¶ added in v0.0.2
func (m *Credentials) XXX_Merge(src proto.Message)
func (*Credentials) XXX_Size ¶ added in v0.0.2
func (m *Credentials) XXX_Size() int
func (*Credentials) XXX_Unmarshal ¶ added in v0.0.2
func (m *Credentials) XXX_Unmarshal(b []byte) error
type Data ¶
type Data struct {
// userinfoId
Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
// uri
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
// 个人昵称,没有店铺昵称覆盖逻辑
Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
// 个人头像,没有店铺头像覆盖逻辑
HeadImgUrl string `protobuf:"bytes,4,opt,name=headImgUrl,proto3" json:"headImgUrl,omitempty"`
// 签名
Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
// 性别, 性别 0未知,1男,2女
Sex int64 `protobuf:"varint,6,opt,name=sex,proto3" json:"sex,omitempty"`
// 区域
Region string `protobuf:"bytes,7,opt,name=region,proto3" json:"region,omitempty"`
// 国家
Country string `protobuf:"bytes,8,opt,name=country,proto3" json:"country,omitempty"`
// 省市
Province string `protobuf:"bytes,9,opt,name=province,proto3" json:"province,omitempty"`
// 城市
City string `protobuf:"bytes,10,opt,name=city,proto3" json:"city,omitempty"`
// 语言类型,默认 ""
Lang string `protobuf:"bytes,11,opt,name=lang,proto3" json:"lang,omitempty"`
// 注册时间戳
CreateTime int64 `protobuf:"varint,12,opt,name=createTime,proto3" json:"createTime,omitempty"`
// 更新时间戳
ModifyTime int64 `protobuf:"varint,13,opt,name=modifyTime,proto3" json:"modifyTime,omitempty"`
// 当前登录平台id ,对应 center 表 type 字段
CurrentlyLoggedPlatformId int64 `protobuf:"varint,14,opt,name=currentlyLoggedPlatformId,proto3" json:"currentlyLoggedPlatformId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Data) Descriptor ¶
func (*Data) GetCountry ¶
func (*Data) GetCreateTime ¶
func (*Data) GetCurrentlyLoggedPlatformId ¶
func (*Data) GetHeadImgUrl ¶
func (*Data) GetModifyTime ¶
func (*Data) GetNickname ¶
func (*Data) GetProvince ¶
func (*Data) GetSignature ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Marshal ¶ added in v0.0.2
func (*Data) XXX_Unmarshal ¶ added in v0.0.2
type GetSendStatusRequest ¶
type GetSendStatusRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 手机号
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// 发送类型
SendType string `protobuf:"bytes,3,opt,name=sendType,proto3" json:"sendType,omitempty"`
// 模板
Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"`
// 是否越狱标示
SignR int64 `protobuf:"varint,5,opt,name=signR,proto3" json:"signR,omitempty"`
// ip
Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetSendStatusRequest) Descriptor ¶
func (*GetSendStatusRequest) Descriptor() ([]byte, []int)
func (*GetSendStatusRequest) GetIp ¶
func (m *GetSendStatusRequest) GetIp() string
func (*GetSendStatusRequest) GetNationCode ¶
func (m *GetSendStatusRequest) GetNationCode() string
func (*GetSendStatusRequest) GetSendType ¶
func (m *GetSendStatusRequest) GetSendType() string
func (*GetSendStatusRequest) GetSignR ¶
func (m *GetSendStatusRequest) GetSignR() int64
func (*GetSendStatusRequest) GetTelephone ¶
func (m *GetSendStatusRequest) GetTelephone() string
func (*GetSendStatusRequest) GetTemplate ¶
func (m *GetSendStatusRequest) GetTemplate() string
func (*GetSendStatusRequest) ProtoMessage ¶
func (*GetSendStatusRequest) ProtoMessage()
func (*GetSendStatusRequest) Reset ¶
func (m *GetSendStatusRequest) Reset()
func (*GetSendStatusRequest) String ¶
func (m *GetSendStatusRequest) String() string
func (*GetSendStatusRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *GetSendStatusRequest) XXX_DiscardUnknown()
func (*GetSendStatusRequest) XXX_Marshal ¶ added in v0.0.2
func (m *GetSendStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSendStatusRequest) XXX_Merge ¶ added in v0.0.2
func (m *GetSendStatusRequest) XXX_Merge(src proto.Message)
func (*GetSendStatusRequest) XXX_Size ¶ added in v0.0.2
func (m *GetSendStatusRequest) XXX_Size() int
func (*GetSendStatusRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *GetSendStatusRequest) XXX_Unmarshal(b []byte) error
type GetSendStatusResponse ¶
type GetSendStatusResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// msg
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data *SendStatus `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetSendStatusResponse) Descriptor ¶
func (*GetSendStatusResponse) Descriptor() ([]byte, []int)
func (*GetSendStatusResponse) GetCode ¶
func (m *GetSendStatusResponse) GetCode() int64
func (*GetSendStatusResponse) GetData ¶
func (m *GetSendStatusResponse) GetData() *SendStatus
func (*GetSendStatusResponse) GetMsg ¶
func (m *GetSendStatusResponse) GetMsg() string
func (*GetSendStatusResponse) GetNowTime ¶
func (m *GetSendStatusResponse) GetNowTime() int64
func (*GetSendStatusResponse) ProtoMessage ¶
func (*GetSendStatusResponse) ProtoMessage()
func (*GetSendStatusResponse) Reset ¶
func (m *GetSendStatusResponse) Reset()
func (*GetSendStatusResponse) String ¶
func (m *GetSendStatusResponse) String() string
func (*GetSendStatusResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *GetSendStatusResponse) XXX_DiscardUnknown()
func (*GetSendStatusResponse) XXX_Marshal ¶ added in v0.0.2
func (m *GetSendStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSendStatusResponse) XXX_Merge ¶ added in v0.0.2
func (m *GetSendStatusResponse) XXX_Merge(src proto.Message)
func (*GetSendStatusResponse) XXX_Size ¶ added in v0.0.2
func (m *GetSendStatusResponse) XXX_Size() int
func (*GetSendStatusResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *GetSendStatusResponse) XXX_Unmarshal(b []byte) error
type IsCheckImageCodeRequest ¶
type IsCheckImageCodeRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 手机号
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// 场景
Scene string `protobuf:"bytes,3,opt,name=scene,proto3" json:"scene,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IsCheckImageCodeRequest) Descriptor ¶
func (*IsCheckImageCodeRequest) Descriptor() ([]byte, []int)
func (*IsCheckImageCodeRequest) GetNationCode ¶
func (m *IsCheckImageCodeRequest) GetNationCode() string
func (*IsCheckImageCodeRequest) GetScene ¶
func (m *IsCheckImageCodeRequest) GetScene() string
func (*IsCheckImageCodeRequest) GetTelephone ¶
func (m *IsCheckImageCodeRequest) GetTelephone() string
func (*IsCheckImageCodeRequest) ProtoMessage ¶
func (*IsCheckImageCodeRequest) ProtoMessage()
func (*IsCheckImageCodeRequest) Reset ¶
func (m *IsCheckImageCodeRequest) Reset()
func (*IsCheckImageCodeRequest) String ¶
func (m *IsCheckImageCodeRequest) String() string
func (*IsCheckImageCodeRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *IsCheckImageCodeRequest) XXX_DiscardUnknown()
func (*IsCheckImageCodeRequest) XXX_Marshal ¶ added in v0.0.2
func (m *IsCheckImageCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsCheckImageCodeRequest) XXX_Merge ¶ added in v0.0.2
func (m *IsCheckImageCodeRequest) XXX_Merge(src proto.Message)
func (*IsCheckImageCodeRequest) XXX_Size ¶ added in v0.0.2
func (m *IsCheckImageCodeRequest) XXX_Size() int
func (*IsCheckImageCodeRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *IsCheckImageCodeRequest) XXX_Unmarshal(b []byte) error
type IsCheckImageCodeResponse ¶
type IsCheckImageCodeResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// msg
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data bool `protobuf:"varint,4,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IsCheckImageCodeResponse) Descriptor ¶
func (*IsCheckImageCodeResponse) Descriptor() ([]byte, []int)
func (*IsCheckImageCodeResponse) GetCode ¶
func (m *IsCheckImageCodeResponse) GetCode() int64
func (*IsCheckImageCodeResponse) GetData ¶
func (m *IsCheckImageCodeResponse) GetData() bool
func (*IsCheckImageCodeResponse) GetMsg ¶
func (m *IsCheckImageCodeResponse) GetMsg() string
func (*IsCheckImageCodeResponse) GetNowTime ¶
func (m *IsCheckImageCodeResponse) GetNowTime() int64
func (*IsCheckImageCodeResponse) ProtoMessage ¶
func (*IsCheckImageCodeResponse) ProtoMessage()
func (*IsCheckImageCodeResponse) Reset ¶
func (m *IsCheckImageCodeResponse) Reset()
func (*IsCheckImageCodeResponse) String ¶
func (m *IsCheckImageCodeResponse) String() string
func (*IsCheckImageCodeResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *IsCheckImageCodeResponse) XXX_DiscardUnknown()
func (*IsCheckImageCodeResponse) XXX_Marshal ¶ added in v0.0.2
func (m *IsCheckImageCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsCheckImageCodeResponse) XXX_Merge ¶ added in v0.0.2
func (m *IsCheckImageCodeResponse) XXX_Merge(src proto.Message)
func (*IsCheckImageCodeResponse) XXX_Size ¶ added in v0.0.2
func (m *IsCheckImageCodeResponse) XXX_Size() int
func (*IsCheckImageCodeResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *IsCheckImageCodeResponse) XXX_Unmarshal(b []byte) error
type LoginClient ¶
type LoginClient interface {
// 登录注册获取凭证,cookie,token
Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
// 使用凭证获取用户信息
Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
}
LoginClient is the client API for Login service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func GetLoginClient ¶
func GetLoginClient(srv string, opts ...grpc.DialOption) (LoginClient, error)
func NewLoginClient ¶
func NewLoginClient(cc *grpc.ClientConn) LoginClient
type LoginRequest ¶
type LoginRequest struct {
// 平台id ,对应 center 表 type 字段
PlatformId int64 `protobuf:"varint,1,opt,name=platformId,proto3" json:"platformId,omitempty"`
// 登录相关信息,json,手机号登录参数
// UserType int64 `json:"userType"`
// VerifyType string `json:"verifyType"`
// NationCode string `json:"nationCode"`
// Telephone string `json:"telephone"`
// Code string `json:"code"`
// LoginToken string `json:"loginToken"`
// DeviceId string `json:"deviceId"`
// SysMessageNum int64 `json:"sysMessageNum"`
Data map[string]string `` /* 149-byte string literal not displayed */
// 凭据类型,普通用户 base, 特权?超级? super
Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LoginRequest) Descriptor ¶
func (*LoginRequest) Descriptor() ([]byte, []int)
func (*LoginRequest) GetData ¶
func (m *LoginRequest) GetData() map[string]string
func (*LoginRequest) GetPlatformId ¶
func (m *LoginRequest) GetPlatformId() int64
func (*LoginRequest) GetScope ¶
func (m *LoginRequest) GetScope() string
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 ¶ added in v0.0.2
func (m *LoginRequest) XXX_DiscardUnknown()
func (*LoginRequest) XXX_Marshal ¶ added in v0.0.2
func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginRequest) XXX_Merge ¶ added in v0.0.2
func (m *LoginRequest) XXX_Merge(src proto.Message)
func (*LoginRequest) XXX_Size ¶ added in v0.0.2
func (m *LoginRequest) XXX_Size() int
func (*LoginRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *LoginRequest) XXX_Unmarshal(b []byte) error
type LoginResponse ¶
type LoginResponse struct {
// 错误码,0 为正常
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// 错误信息
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 请求响应时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data *Credentials `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*LoginResponse) Descriptor ¶
func (*LoginResponse) Descriptor() ([]byte, []int)
func (*LoginResponse) GetCode ¶
func (m *LoginResponse) GetCode() int64
func (*LoginResponse) GetData ¶
func (m *LoginResponse) GetData() *Credentials
func (*LoginResponse) GetMsg ¶
func (m *LoginResponse) GetMsg() string
func (*LoginResponse) GetNowTime ¶
func (m *LoginResponse) GetNowTime() int64
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 ¶ added in v0.0.2
func (m *LoginResponse) XXX_DiscardUnknown()
func (*LoginResponse) XXX_Marshal ¶ added in v0.0.2
func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginResponse) XXX_Merge ¶ added in v0.0.2
func (m *LoginResponse) XXX_Merge(src proto.Message)
func (*LoginResponse) XXX_Size ¶ added in v0.0.2
func (m *LoginResponse) XXX_Size() int
func (*LoginResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *LoginResponse) XXX_Unmarshal(b []byte) error
type LoginServer ¶
type LoginServer interface {
// 登录注册获取凭证,cookie,token
Login(context.Context, *LoginRequest) (*LoginResponse, error)
// 使用凭证获取用户信息
Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
}
LoginServer is the server API for Login service.
type MergeClient ¶
type MergeClient interface {
// 手机号合并,换绑,手机号更换
Telephone(ctx context.Context, in *TelephoneRequest, opts ...grpc.CallOption) (*Reply, error)
// 手机号账户合并检查
TelephoneCheck(ctx context.Context, in *TelephoneRequest, opts ...grpc.CallOption) (*Reply, error)
// 微信账户绑定
WeChat(ctx context.Context, in *WeChatRequest, opts ...grpc.CallOption) (*Reply, error)
// 微信合并检查
WeChatCheck(ctx context.Context, in *WeChatRequest, opts ...grpc.CallOption) (*Reply, error)
// 解除微信绑定, 必须拥有手机号
WeChatUnMerge(ctx context.Context, in *WeChatUnMergeRequest, opts ...grpc.CallOption) (*Reply, error)
}
MergeClient is the client API for Merge service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func GetMergeClient ¶
func GetMergeClient(srv string, opts ...grpc.DialOption) (MergeClient, error)
func NewMergeClient ¶
func NewMergeClient(cc *grpc.ClientConn) MergeClient
type MergeServer ¶
type MergeServer interface {
// 手机号合并,换绑,手机号更换
Telephone(context.Context, *TelephoneRequest) (*Reply, error)
// 手机号账户合并检查
TelephoneCheck(context.Context, *TelephoneRequest) (*Reply, error)
// 微信账户绑定
WeChat(context.Context, *WeChatRequest) (*Reply, error)
// 微信合并检查
WeChatCheck(context.Context, *WeChatRequest) (*Reply, error)
// 解除微信绑定, 必须拥有手机号
WeChatUnMerge(context.Context, *WeChatUnMergeRequest) (*Reply, error)
}
MergeServer is the server API for Merge service.
type PlatformInfo ¶
type PlatformInfo struct {
// platformId
PlatformId int64 `protobuf:"varint,1,opt,name=platformId,proto3" json:"platformId,omitempty"`
// originalId 原始ID,platformId 对应的user
OriginalUid int64 `protobuf:"varint,2,opt,name=originalUid,proto3" json:"originalUid,omitempty"`
// originalUri 原始uri,platformId 对应的user
OriginalUri string `protobuf:"bytes,3,opt,name=originalUri,proto3" json:"originalUri,omitempty"`
// originalOpenid 原始openid,platformId 对应的user
OriginalOpenid string `protobuf:"bytes,4,opt,name=originalOpenid,proto3" json:"originalOpenid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PlatformInfo) Descriptor ¶
func (*PlatformInfo) Descriptor() ([]byte, []int)
func (*PlatformInfo) GetOriginalOpenid ¶
func (m *PlatformInfo) GetOriginalOpenid() string
func (*PlatformInfo) GetOriginalUid ¶
func (m *PlatformInfo) GetOriginalUid() int64
func (*PlatformInfo) GetOriginalUri ¶
func (m *PlatformInfo) GetOriginalUri() string
func (*PlatformInfo) GetPlatformId ¶
func (m *PlatformInfo) GetPlatformId() int64
func (*PlatformInfo) ProtoMessage ¶
func (*PlatformInfo) ProtoMessage()
func (*PlatformInfo) Reset ¶
func (m *PlatformInfo) Reset()
func (*PlatformInfo) String ¶
func (m *PlatformInfo) String() string
func (*PlatformInfo) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *PlatformInfo) XXX_DiscardUnknown()
func (*PlatformInfo) XXX_Marshal ¶ added in v0.0.2
func (m *PlatformInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlatformInfo) XXX_Merge ¶ added in v0.0.2
func (m *PlatformInfo) XXX_Merge(src proto.Message)
func (*PlatformInfo) XXX_Size ¶ added in v0.0.2
func (m *PlatformInfo) XXX_Size() int
func (*PlatformInfo) XXX_Unmarshal ¶ added in v0.0.2
func (m *PlatformInfo) XXX_Unmarshal(b []byte) error
type Reply ¶
type Reply struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// msg
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data map[string]string `` /* 149-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Reply) Descriptor ¶
func (*Reply) GetNowTime ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
func (*Reply) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *Reply) XXX_DiscardUnknown()
func (*Reply) XXX_Marshal ¶ added in v0.0.2
func (*Reply) XXX_Unmarshal ¶ added in v0.0.2
type SendCodeRequest ¶
type SendCodeRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 电话
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// 发送类型,call ,sms
SendType string `protobuf:"bytes,3,opt,name=sendType,proto3" json:"sendType,omitempty"`
// ip
Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
// 模板
Template string `protobuf:"bytes,5,opt,name=template,proto3" json:"template,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendCodeRequest) Descriptor ¶
func (*SendCodeRequest) Descriptor() ([]byte, []int)
func (*SendCodeRequest) GetIp ¶
func (m *SendCodeRequest) GetIp() string
func (*SendCodeRequest) GetNationCode ¶
func (m *SendCodeRequest) GetNationCode() string
func (*SendCodeRequest) GetSendType ¶
func (m *SendCodeRequest) GetSendType() string
func (*SendCodeRequest) GetTelephone ¶
func (m *SendCodeRequest) GetTelephone() string
func (*SendCodeRequest) GetTemplate ¶
func (m *SendCodeRequest) GetTemplate() string
func (*SendCodeRequest) ProtoMessage ¶
func (*SendCodeRequest) ProtoMessage()
func (*SendCodeRequest) Reset ¶
func (m *SendCodeRequest) Reset()
func (*SendCodeRequest) String ¶
func (m *SendCodeRequest) String() string
func (*SendCodeRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *SendCodeRequest) XXX_DiscardUnknown()
func (*SendCodeRequest) XXX_Marshal ¶ added in v0.0.2
func (m *SendCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendCodeRequest) XXX_Merge ¶ added in v0.0.2
func (m *SendCodeRequest) XXX_Merge(src proto.Message)
func (*SendCodeRequest) XXX_Size ¶ added in v0.0.2
func (m *SendCodeRequest) XXX_Size() int
func (*SendCodeRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *SendCodeRequest) XXX_Unmarshal(b []byte) error
type SendCodeResponse ¶
type SendCodeResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// msg
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data map[string]string `` /* 149-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendCodeResponse) Descriptor ¶
func (*SendCodeResponse) Descriptor() ([]byte, []int)
func (*SendCodeResponse) GetCode ¶
func (m *SendCodeResponse) GetCode() int64
func (*SendCodeResponse) GetData ¶
func (m *SendCodeResponse) GetData() map[string]string
func (*SendCodeResponse) GetMsg ¶
func (m *SendCodeResponse) GetMsg() string
func (*SendCodeResponse) GetNowTime ¶
func (m *SendCodeResponse) GetNowTime() int64
func (*SendCodeResponse) ProtoMessage ¶
func (*SendCodeResponse) ProtoMessage()
func (*SendCodeResponse) Reset ¶
func (m *SendCodeResponse) Reset()
func (*SendCodeResponse) String ¶
func (m *SendCodeResponse) String() string
func (*SendCodeResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *SendCodeResponse) XXX_DiscardUnknown()
func (*SendCodeResponse) XXX_Marshal ¶ added in v0.0.2
func (m *SendCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendCodeResponse) XXX_Merge ¶ added in v0.0.2
func (m *SendCodeResponse) XXX_Merge(src proto.Message)
func (*SendCodeResponse) XXX_Size ¶ added in v0.0.2
func (m *SendCodeResponse) XXX_Size() int
func (*SendCodeResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *SendCodeResponse) XXX_Unmarshal(b []byte) error
type SendStatus ¶
type SendStatus struct {
// 需要图形验证码
NeedImageCode bool `protobuf:"varint,1,opt,name=needImageCode,proto3" json:"needImageCode,omitempty"`
// 强制语音
ForceCall bool `protobuf:"varint,2,opt,name=forceCall,proto3" json:"forceCall,omitempty"`
// 被禁止
IsForbidden bool `protobuf:"varint,3,opt,name=isForbidden,proto3" json:"isForbidden,omitempty"`
// 数量超限制
NumberLimit bool `protobuf:"varint,4,opt,name=numberLimit,proto3" json:"numberLimit,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendStatus) Descriptor ¶
func (*SendStatus) Descriptor() ([]byte, []int)
func (*SendStatus) GetForceCall ¶
func (m *SendStatus) GetForceCall() bool
func (*SendStatus) GetIsForbidden ¶
func (m *SendStatus) GetIsForbidden() bool
func (*SendStatus) GetNeedImageCode ¶
func (m *SendStatus) GetNeedImageCode() bool
func (*SendStatus) GetNumberLimit ¶
func (m *SendStatus) GetNumberLimit() bool
func (*SendStatus) ProtoMessage ¶
func (*SendStatus) ProtoMessage()
func (*SendStatus) Reset ¶
func (m *SendStatus) Reset()
func (*SendStatus) String ¶
func (m *SendStatus) String() string
func (*SendStatus) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *SendStatus) XXX_DiscardUnknown()
func (*SendStatus) XXX_Marshal ¶ added in v0.0.2
func (m *SendStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendStatus) XXX_Merge ¶ added in v0.0.2
func (m *SendStatus) XXX_Merge(src proto.Message)
func (*SendStatus) XXX_Size ¶ added in v0.0.2
func (m *SendStatus) XXX_Size() int
func (*SendStatus) XXX_Unmarshal ¶ added in v0.0.2
func (m *SendStatus) XXX_Unmarshal(b []byte) error
type TelephoneRequest ¶
type TelephoneRequest struct {
// 登陆用户
Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
// 新手机号
TargetTelephone string `protobuf:"bytes,2,opt,name=targetTelephone,proto3" json:"targetTelephone,omitempty"`
// 是否走新流程
IsNewProcess bool `protobuf:"varint,3,opt,name=isNewProcess,proto3" json:"isNewProcess,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TelephoneRequest) Descriptor ¶
func (*TelephoneRequest) Descriptor() ([]byte, []int)
func (*TelephoneRequest) GetIsNewProcess ¶
func (m *TelephoneRequest) GetIsNewProcess() bool
func (*TelephoneRequest) GetTargetTelephone ¶
func (m *TelephoneRequest) GetTargetTelephone() string
func (*TelephoneRequest) GetUid ¶
func (m *TelephoneRequest) GetUid() int64
func (*TelephoneRequest) ProtoMessage ¶
func (*TelephoneRequest) ProtoMessage()
func (*TelephoneRequest) Reset ¶
func (m *TelephoneRequest) Reset()
func (*TelephoneRequest) String ¶
func (m *TelephoneRequest) String() string
func (*TelephoneRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *TelephoneRequest) XXX_DiscardUnknown()
func (*TelephoneRequest) XXX_Marshal ¶ added in v0.0.2
func (m *TelephoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TelephoneRequest) XXX_Merge ¶ added in v0.0.2
func (m *TelephoneRequest) XXX_Merge(src proto.Message)
func (*TelephoneRequest) XXX_Size ¶ added in v0.0.2
func (m *TelephoneRequest) XXX_Size() int
func (*TelephoneRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *TelephoneRequest) XXX_Unmarshal(b []byte) error
type UnimplementedBindTelephoneServer ¶
type UnimplementedBindTelephoneServer struct {
}
UnimplementedBindTelephoneServer can be embedded to have forward compatible implementations.
func (*UnimplementedBindTelephoneServer) AutomaticBind ¶
func (*UnimplementedBindTelephoneServer) AutomaticBind(ctx context.Context, req *AutomaticBindRequest) (*AutomaticBindResponse, error)
func (*UnimplementedBindTelephoneServer) BindChange ¶
func (*UnimplementedBindTelephoneServer) BindChange(ctx context.Context, req *BindChangeRequest) (*BindChangeResponse, error)
func (*UnimplementedBindTelephoneServer) BindPhoneParse ¶
func (*UnimplementedBindTelephoneServer) BindPhoneParse(ctx context.Context, req *BindPhoneParseRequest) (*BindPhoneParseResponse, error)
func (*UnimplementedBindTelephoneServer) BindPhoneParseByOneClick ¶
func (*UnimplementedBindTelephoneServer) BindPhoneParseByOneClick(ctx context.Context, req *BindPhoneParseByOneClickRequest) (*BindPhoneParseByOneClickResponse, error)
func (*UnimplementedBindTelephoneServer) BindVerify ¶
func (*UnimplementedBindTelephoneServer) BindVerify(ctx context.Context, req *BindVerifyRequest) (*BindVerifyResponse, error)
func (*UnimplementedBindTelephoneServer) Check ¶
func (*UnimplementedBindTelephoneServer) Check(ctx context.Context, req *CheckRequest) (*CheckResponse, error)
type UnimplementedCodeServer ¶
type UnimplementedCodeServer struct {
}
UnimplementedCodeServer can be embedded to have forward compatible implementations.
func (*UnimplementedCodeServer) GetSendStatus ¶
func (*UnimplementedCodeServer) GetSendStatus(ctx context.Context, req *GetSendStatusRequest) (*GetSendStatusResponse, error)
func (*UnimplementedCodeServer) IsCheckImageCode ¶
func (*UnimplementedCodeServer) IsCheckImageCode(ctx context.Context, req *IsCheckImageCodeRequest) (*IsCheckImageCodeResponse, error)
func (*UnimplementedCodeServer) SendCode ¶
func (*UnimplementedCodeServer) SendCode(ctx context.Context, req *SendCodeRequest) (*SendCodeResponse, error)
func (*UnimplementedCodeServer) Verify ¶
func (*UnimplementedCodeServer) Verify(ctx context.Context, req *VerifyRequest) (*VerifyResponse, error)
func (*UnimplementedCodeServer) VerifyImageCode ¶
func (*UnimplementedCodeServer) VerifyImageCode(ctx context.Context, req *VerifyImageCodeRequest) (*VerifyImageCodeResponse, error)
type UnimplementedLoginServer ¶
type UnimplementedLoginServer struct {
}
UnimplementedLoginServer can be embedded to have forward compatible implementations.
func (*UnimplementedLoginServer) Authenticate ¶
func (*UnimplementedLoginServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error)
func (*UnimplementedLoginServer) Login ¶
func (*UnimplementedLoginServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
type UnimplementedMergeServer ¶
type UnimplementedMergeServer struct {
}
UnimplementedMergeServer can be embedded to have forward compatible implementations.
func (*UnimplementedMergeServer) Telephone ¶
func (*UnimplementedMergeServer) Telephone(ctx context.Context, req *TelephoneRequest) (*Reply, error)
func (*UnimplementedMergeServer) TelephoneCheck ¶
func (*UnimplementedMergeServer) TelephoneCheck(ctx context.Context, req *TelephoneRequest) (*Reply, error)
func (*UnimplementedMergeServer) WeChat ¶
func (*UnimplementedMergeServer) WeChat(ctx context.Context, req *WeChatRequest) (*Reply, error)
func (*UnimplementedMergeServer) WeChatCheck ¶
func (*UnimplementedMergeServer) WeChatCheck(ctx context.Context, req *WeChatRequest) (*Reply, error)
func (*UnimplementedMergeServer) WeChatUnMerge ¶
func (*UnimplementedMergeServer) WeChatUnMerge(ctx context.Context, req *WeChatUnMergeRequest) (*Reply, error)
type VerifyImageCodeRequest ¶
type VerifyImageCodeRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 手机号
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// 图形验证码ticket
Ticket string `protobuf:"bytes,3,opt,name=ticket,proto3" json:"ticket,omitempty"`
// 图形验证码randStr
RandStr string `protobuf:"bytes,4,opt,name=randStr,proto3" json:"randStr,omitempty"`
// 图形验证码ip
Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`
// 场景
Scene string `protobuf:"bytes,6,opt,name=scene,proto3" json:"scene,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VerifyImageCodeRequest) Descriptor ¶
func (*VerifyImageCodeRequest) Descriptor() ([]byte, []int)
func (*VerifyImageCodeRequest) GetIp ¶
func (m *VerifyImageCodeRequest) GetIp() string
func (*VerifyImageCodeRequest) GetNationCode ¶
func (m *VerifyImageCodeRequest) GetNationCode() string
func (*VerifyImageCodeRequest) GetRandStr ¶
func (m *VerifyImageCodeRequest) GetRandStr() string
func (*VerifyImageCodeRequest) GetScene ¶
func (m *VerifyImageCodeRequest) GetScene() string
func (*VerifyImageCodeRequest) GetTelephone ¶
func (m *VerifyImageCodeRequest) GetTelephone() string
func (*VerifyImageCodeRequest) GetTicket ¶
func (m *VerifyImageCodeRequest) GetTicket() string
func (*VerifyImageCodeRequest) ProtoMessage ¶
func (*VerifyImageCodeRequest) ProtoMessage()
func (*VerifyImageCodeRequest) Reset ¶
func (m *VerifyImageCodeRequest) Reset()
func (*VerifyImageCodeRequest) String ¶
func (m *VerifyImageCodeRequest) String() string
func (*VerifyImageCodeRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *VerifyImageCodeRequest) XXX_DiscardUnknown()
func (*VerifyImageCodeRequest) XXX_Marshal ¶ added in v0.0.2
func (m *VerifyImageCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyImageCodeRequest) XXX_Merge ¶ added in v0.0.2
func (m *VerifyImageCodeRequest) XXX_Merge(src proto.Message)
func (*VerifyImageCodeRequest) XXX_Size ¶ added in v0.0.2
func (m *VerifyImageCodeRequest) XXX_Size() int
func (*VerifyImageCodeRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *VerifyImageCodeRequest) XXX_Unmarshal(b []byte) error
type VerifyImageCodeResponse ¶
type VerifyImageCodeResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// msg
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VerifyImageCodeResponse) Descriptor ¶
func (*VerifyImageCodeResponse) Descriptor() ([]byte, []int)
func (*VerifyImageCodeResponse) GetCode ¶
func (m *VerifyImageCodeResponse) GetCode() int64
func (*VerifyImageCodeResponse) GetMsg ¶
func (m *VerifyImageCodeResponse) GetMsg() string
func (*VerifyImageCodeResponse) GetNowTime ¶
func (m *VerifyImageCodeResponse) GetNowTime() int64
func (*VerifyImageCodeResponse) ProtoMessage ¶
func (*VerifyImageCodeResponse) ProtoMessage()
func (*VerifyImageCodeResponse) Reset ¶
func (m *VerifyImageCodeResponse) Reset()
func (*VerifyImageCodeResponse) String ¶
func (m *VerifyImageCodeResponse) String() string
func (*VerifyImageCodeResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *VerifyImageCodeResponse) XXX_DiscardUnknown()
func (*VerifyImageCodeResponse) XXX_Marshal ¶ added in v0.0.2
func (m *VerifyImageCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyImageCodeResponse) XXX_Merge ¶ added in v0.0.2
func (m *VerifyImageCodeResponse) XXX_Merge(src proto.Message)
func (*VerifyImageCodeResponse) XXX_Size ¶ added in v0.0.2
func (m *VerifyImageCodeResponse) XXX_Size() int
func (*VerifyImageCodeResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *VerifyImageCodeResponse) XXX_Unmarshal(b []byte) error
type VerifyRequest ¶
type VerifyRequest struct {
// 区号
NationCode string `protobuf:"bytes,1,opt,name=nationCode,proto3" json:"nationCode,omitempty"`
// 手机号
Telephone string `protobuf:"bytes,2,opt,name=telephone,proto3" json:"telephone,omitempty"`
// 验证码
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
// 模板
Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VerifyRequest) Descriptor ¶
func (*VerifyRequest) Descriptor() ([]byte, []int)
func (*VerifyRequest) GetCode ¶
func (m *VerifyRequest) GetCode() string
func (*VerifyRequest) GetNationCode ¶
func (m *VerifyRequest) GetNationCode() string
func (*VerifyRequest) GetTelephone ¶
func (m *VerifyRequest) GetTelephone() string
func (*VerifyRequest) GetTemplate ¶
func (m *VerifyRequest) GetTemplate() string
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) Reset ¶
func (m *VerifyRequest) Reset()
func (*VerifyRequest) String ¶
func (m *VerifyRequest) String() string
func (*VerifyRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *VerifyRequest) XXX_DiscardUnknown()
func (*VerifyRequest) XXX_Marshal ¶ added in v0.0.2
func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyRequest) XXX_Merge ¶ added in v0.0.2
func (m *VerifyRequest) XXX_Merge(src proto.Message)
func (*VerifyRequest) XXX_Size ¶ added in v0.0.2
func (m *VerifyRequest) XXX_Size() int
func (*VerifyRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *VerifyRequest) XXX_Unmarshal(b []byte) error
type VerifyResponse ¶
type VerifyResponse struct {
// code
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
// msg
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// 时间戳
NowTime int64 `protobuf:"varint,3,opt,name=nowTime,proto3" json:"nowTime,omitempty"`
// 数据
Data map[string]string `` /* 149-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*VerifyResponse) Descriptor ¶
func (*VerifyResponse) Descriptor() ([]byte, []int)
func (*VerifyResponse) GetCode ¶
func (m *VerifyResponse) GetCode() int64
func (*VerifyResponse) GetData ¶
func (m *VerifyResponse) GetData() map[string]string
func (*VerifyResponse) GetMsg ¶
func (m *VerifyResponse) GetMsg() string
func (*VerifyResponse) GetNowTime ¶
func (m *VerifyResponse) GetNowTime() int64
func (*VerifyResponse) ProtoMessage ¶
func (*VerifyResponse) ProtoMessage()
func (*VerifyResponse) Reset ¶
func (m *VerifyResponse) Reset()
func (*VerifyResponse) String ¶
func (m *VerifyResponse) String() string
func (*VerifyResponse) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *VerifyResponse) XXX_DiscardUnknown()
func (*VerifyResponse) XXX_Marshal ¶ added in v0.0.2
func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyResponse) XXX_Merge ¶ added in v0.0.2
func (m *VerifyResponse) XXX_Merge(src proto.Message)
func (*VerifyResponse) XXX_Size ¶ added in v0.0.2
func (m *VerifyResponse) XXX_Size() int
func (*VerifyResponse) XXX_Unmarshal ¶ added in v0.0.2
func (m *VerifyResponse) XXX_Unmarshal(b []byte) error
type WeChatRequest ¶
type WeChatRequest struct {
// 登陆用户
Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
// 要合并的用户
TargetUid int64 `protobuf:"varint,2,opt,name=targetUid,proto3" json:"targetUid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*WeChatRequest) Descriptor ¶
func (*WeChatRequest) Descriptor() ([]byte, []int)
func (*WeChatRequest) GetTargetUid ¶
func (m *WeChatRequest) GetTargetUid() int64
func (*WeChatRequest) GetUid ¶
func (m *WeChatRequest) GetUid() int64
func (*WeChatRequest) ProtoMessage ¶
func (*WeChatRequest) ProtoMessage()
func (*WeChatRequest) Reset ¶
func (m *WeChatRequest) Reset()
func (*WeChatRequest) String ¶
func (m *WeChatRequest) String() string
func (*WeChatRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *WeChatRequest) XXX_DiscardUnknown()
func (*WeChatRequest) XXX_Marshal ¶ added in v0.0.2
func (m *WeChatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WeChatRequest) XXX_Merge ¶ added in v0.0.2
func (m *WeChatRequest) XXX_Merge(src proto.Message)
func (*WeChatRequest) XXX_Size ¶ added in v0.0.2
func (m *WeChatRequest) XXX_Size() int
func (*WeChatRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *WeChatRequest) XXX_Unmarshal(b []byte) error
type WeChatUnMergeRequest ¶
type WeChatUnMergeRequest struct {
// 登陆用户
Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*WeChatUnMergeRequest) Descriptor ¶
func (*WeChatUnMergeRequest) Descriptor() ([]byte, []int)
func (*WeChatUnMergeRequest) GetUid ¶
func (m *WeChatUnMergeRequest) GetUid() int64
func (*WeChatUnMergeRequest) ProtoMessage ¶
func (*WeChatUnMergeRequest) ProtoMessage()
func (*WeChatUnMergeRequest) Reset ¶
func (m *WeChatUnMergeRequest) Reset()
func (*WeChatUnMergeRequest) String ¶
func (m *WeChatUnMergeRequest) String() string
func (*WeChatUnMergeRequest) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *WeChatUnMergeRequest) XXX_DiscardUnknown()
func (*WeChatUnMergeRequest) XXX_Marshal ¶ added in v0.0.2
func (m *WeChatUnMergeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WeChatUnMergeRequest) XXX_Merge ¶ added in v0.0.2
func (m *WeChatUnMergeRequest) XXX_Merge(src proto.Message)
func (*WeChatUnMergeRequest) XXX_Size ¶ added in v0.0.2
func (m *WeChatUnMergeRequest) XXX_Size() int
func (*WeChatUnMergeRequest) XXX_Unmarshal ¶ added in v0.0.2
func (m *WeChatUnMergeRequest) XXX_Unmarshal(b []byte) error