login

package
v0.0.0-...-de52346 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package login is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package login is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package login is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package login is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_proto_login_bind_proto protoreflect.FileDescriptor
View Source
var File_proto_login_code_proto protoreflect.FileDescriptor
View Source
var File_proto_login_login_proto protoreflect.FileDescriptor
View Source
var File_proto_login_merge_proto protoreflect.FileDescriptor

Functions

func GetBindTelephoneClient

func GetBindTelephoneClient(srv string, opts ...func(cfg *grpcc.Cfg)) func(func(cli BindTelephoneClient)) error

func GetCodeClient

func GetCodeClient(srv string, opts ...func(cfg *grpcc.Cfg)) func(func(cli CodeClient)) error

func GetLoginClient

func GetLoginClient(srv string, opts ...func(cfg *grpcc.Cfg)) func(func(cli LoginClient)) error

func GetMergeClient

func GetMergeClient(srv string, opts ...func(cfg *grpcc.Cfg)) func(func(cli MergeClient)) error

func RegisterBindTelephoneHandler

func RegisterBindTelephoneHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBindTelephoneHandler registers the http handlers for service BindTelephone to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBindTelephoneHandlerClient

func RegisterBindTelephoneHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BindTelephoneClient) error

RegisterBindTelephoneHandlerClient registers the http handlers for service BindTelephone to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BindTelephoneClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BindTelephoneClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BindTelephoneClient" to call the correct interceptors.

func RegisterBindTelephoneHandlerFromEndpoint

func RegisterBindTelephoneHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBindTelephoneHandlerFromEndpoint is same as RegisterBindTelephoneHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBindTelephoneHandlerServer

func RegisterBindTelephoneHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BindTelephoneServer) error

RegisterBindTelephoneHandlerServer registers the http handlers for service BindTelephone to "mux". UnaryRPC :call BindTelephoneServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBindTelephoneHandlerFromEndpoint instead.

func RegisterBindTelephoneRestServer

func RegisterBindTelephoneRestServer(app fiber.Router, server BindTelephoneServer)

func RegisterBindTelephoneServer

func RegisterBindTelephoneServer(s grpc.ServiceRegistrar, srv BindTelephoneServer)

func RegisterCodeHandler

func RegisterCodeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterCodeHandler registers the http handlers for service Code to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterCodeHandlerClient

func RegisterCodeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CodeClient) error

RegisterCodeHandlerClient registers the http handlers for service Code to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CodeClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CodeClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CodeClient" to call the correct interceptors.

func RegisterCodeHandlerFromEndpoint

func RegisterCodeHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterCodeHandlerFromEndpoint is same as RegisterCodeHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterCodeHandlerServer

func RegisterCodeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CodeServer) error

RegisterCodeHandlerServer registers the http handlers for service Code to "mux". UnaryRPC :call CodeServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCodeHandlerFromEndpoint instead.

func RegisterCodeRestServer

func RegisterCodeRestServer(app fiber.Router, server CodeServer)

func RegisterCodeServer

func RegisterCodeServer(s grpc.ServiceRegistrar, srv CodeServer)

func RegisterLoginHandler

func RegisterLoginHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLoginHandler registers the http handlers for service Login to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLoginHandlerClient

func RegisterLoginHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LoginClient) error

RegisterLoginHandlerClient registers the http handlers for service Login to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LoginClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LoginClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LoginClient" to call the correct interceptors.

func RegisterLoginHandlerFromEndpoint

func RegisterLoginHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLoginHandlerFromEndpoint is same as RegisterLoginHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLoginHandlerServer

func RegisterLoginHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LoginServer) error

RegisterLoginHandlerServer registers the http handlers for service Login to "mux". UnaryRPC :call LoginServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLoginHandlerFromEndpoint instead.

func RegisterLoginRestServer

func RegisterLoginRestServer(app fiber.Router, server LoginServer)

func RegisterLoginServer

func RegisterLoginServer(s grpc.ServiceRegistrar, srv LoginServer)

func RegisterMergeHandler

func RegisterMergeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMergeHandler registers the http handlers for service Merge to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMergeHandlerClient

func RegisterMergeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MergeClient) error

RegisterMergeHandlerClient registers the http handlers for service Merge to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MergeClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MergeClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MergeClient" to call the correct interceptors.

func RegisterMergeHandlerFromEndpoint

func RegisterMergeHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMergeHandlerFromEndpoint is same as RegisterMergeHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMergeHandlerServer

func RegisterMergeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MergeServer) error

RegisterMergeHandlerServer registers the http handlers for service Merge to "mux". UnaryRPC :call MergeServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMergeHandlerFromEndpoint instead.

func RegisterMergeRestServer

func RegisterMergeRestServer(app fiber.Router, server MergeServer)

func RegisterMergeServer

func RegisterMergeServer(s grpc.ServiceRegistrar, srv MergeServer)

Types

type AuthenticateRequest

type AuthenticateRequest struct {

	// 凭证,cookie:string or token:sting
	Credentials map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuthenticateRequest) Descriptor deprecated

func (*AuthenticateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateRequest) GetCredentials

func (x *AuthenticateRequest) GetCredentials() map[string]string

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) ProtoReflect

func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateRequest) Reset

func (x *AuthenticateRequest) Reset()

func (*AuthenticateRequest) String

func (x *AuthenticateRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*AuthenticateResponse) Descriptor deprecated

func (*AuthenticateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateResponse) GetCode

func (x *AuthenticateResponse) GetCode() int64

func (*AuthenticateResponse) GetData

func (x *AuthenticateResponse) GetData() *Data

func (*AuthenticateResponse) GetMsg

func (x *AuthenticateResponse) GetMsg() string

func (*AuthenticateResponse) GetNowTime

func (x *AuthenticateResponse) GetNowTime() int64

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) ProtoReflect

func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message

func (*AuthenticateResponse) Reset

func (x *AuthenticateResponse) Reset()

func (*AuthenticateResponse) String

func (x *AuthenticateResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*AutomaticBindRequest) Descriptor deprecated

func (*AutomaticBindRequest) Descriptor() ([]byte, []int)

Deprecated: Use AutomaticBindRequest.ProtoReflect.Descriptor instead.

func (*AutomaticBindRequest) GetNationCode

func (x *AutomaticBindRequest) GetNationCode() string

func (*AutomaticBindRequest) GetOrigin

func (x *AutomaticBindRequest) GetOrigin() string

func (*AutomaticBindRequest) GetTelephone

func (x *AutomaticBindRequest) GetTelephone() string

func (*AutomaticBindRequest) GetUid

func (x *AutomaticBindRequest) GetUid() int64

func (*AutomaticBindRequest) ProtoMessage

func (*AutomaticBindRequest) ProtoMessage()

func (*AutomaticBindRequest) ProtoReflect

func (x *AutomaticBindRequest) ProtoReflect() protoreflect.Message

func (*AutomaticBindRequest) Reset

func (x *AutomaticBindRequest) Reset()

func (*AutomaticBindRequest) String

func (x *AutomaticBindRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*AutomaticBindResponse) Descriptor deprecated

func (*AutomaticBindResponse) Descriptor() ([]byte, []int)

Deprecated: Use AutomaticBindResponse.ProtoReflect.Descriptor instead.

func (*AutomaticBindResponse) GetCode

func (x *AutomaticBindResponse) GetCode() int64

func (*AutomaticBindResponse) GetData

func (x *AutomaticBindResponse) GetData() *BindData

func (*AutomaticBindResponse) GetMsg

func (x *AutomaticBindResponse) GetMsg() string

func (*AutomaticBindResponse) GetNowTime

func (x *AutomaticBindResponse) GetNowTime() int64

func (*AutomaticBindResponse) ProtoMessage

func (*AutomaticBindResponse) ProtoMessage()

func (*AutomaticBindResponse) ProtoReflect

func (x *AutomaticBindResponse) ProtoReflect() protoreflect.Message

func (*AutomaticBindResponse) Reset

func (x *AutomaticBindResponse) Reset()

func (*AutomaticBindResponse) String

func (x *AutomaticBindResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*BindChangeRequest) Descriptor deprecated

func (*BindChangeRequest) Descriptor() ([]byte, []int)

Deprecated: Use BindChangeRequest.ProtoReflect.Descriptor instead.

func (*BindChangeRequest) GetCode

func (x *BindChangeRequest) GetCode() string

func (*BindChangeRequest) GetNationCode

func (x *BindChangeRequest) GetNationCode() string

func (*BindChangeRequest) GetOrigin

func (x *BindChangeRequest) GetOrigin() string

func (*BindChangeRequest) GetTelephone

func (x *BindChangeRequest) GetTelephone() string

func (*BindChangeRequest) GetUid

func (x *BindChangeRequest) GetUid() int64

func (*BindChangeRequest) ProtoMessage

func (*BindChangeRequest) ProtoMessage()

func (*BindChangeRequest) ProtoReflect

func (x *BindChangeRequest) ProtoReflect() protoreflect.Message

func (*BindChangeRequest) Reset

func (x *BindChangeRequest) Reset()

func (*BindChangeRequest) String

func (x *BindChangeRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*BindChangeResponse) Descriptor deprecated

func (*BindChangeResponse) Descriptor() ([]byte, []int)

Deprecated: Use BindChangeResponse.ProtoReflect.Descriptor instead.

func (*BindChangeResponse) GetCode

func (x *BindChangeResponse) GetCode() int64

func (*BindChangeResponse) GetData

func (x *BindChangeResponse) GetData() *BindData

func (*BindChangeResponse) GetMsg

func (x *BindChangeResponse) GetMsg() string

func (*BindChangeResponse) GetNowTime

func (x *BindChangeResponse) GetNowTime() int64

func (*BindChangeResponse) ProtoMessage

func (*BindChangeResponse) ProtoMessage()

func (*BindChangeResponse) ProtoReflect

func (x *BindChangeResponse) ProtoReflect() protoreflect.Message

func (*BindChangeResponse) Reset

func (x *BindChangeResponse) Reset()

func (*BindChangeResponse) String

func (x *BindChangeResponse) String() string

type BindData

type BindData struct {

	// uid
	BindId int64 `protobuf:"varint,1,opt,name=bindId,proto3" json:"bindId,omitempty"`
	// contains filtered or unexported fields
}

func (*BindData) Descriptor deprecated

func (*BindData) Descriptor() ([]byte, []int)

Deprecated: Use BindData.ProtoReflect.Descriptor instead.

func (*BindData) GetBindId

func (x *BindData) GetBindId() int64

func (*BindData) ProtoMessage

func (*BindData) ProtoMessage()

func (*BindData) ProtoReflect

func (x *BindData) ProtoReflect() protoreflect.Message

func (*BindData) Reset

func (x *BindData) Reset()

func (*BindData) String

func (x *BindData) String() string

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"`
	// contains filtered or unexported fields
}

func (*BindPhoneParseByOneClickRequest) Descriptor deprecated

func (*BindPhoneParseByOneClickRequest) Descriptor() ([]byte, []int)

Deprecated: Use BindPhoneParseByOneClickRequest.ProtoReflect.Descriptor instead.

func (*BindPhoneParseByOneClickRequest) GetCode

func (*BindPhoneParseByOneClickRequest) GetPlatformId

func (x *BindPhoneParseByOneClickRequest) GetPlatformId() int64

func (*BindPhoneParseByOneClickRequest) GetTelephone

func (x *BindPhoneParseByOneClickRequest) GetTelephone() string

func (*BindPhoneParseByOneClickRequest) ProtoMessage

func (*BindPhoneParseByOneClickRequest) ProtoMessage()

func (*BindPhoneParseByOneClickRequest) ProtoReflect

func (*BindPhoneParseByOneClickRequest) Reset

func (*BindPhoneParseByOneClickRequest) String

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 */
	// contains filtered or unexported fields
}

func (*BindPhoneParseByOneClickResponse) Descriptor deprecated

func (*BindPhoneParseByOneClickResponse) Descriptor() ([]byte, []int)

Deprecated: Use BindPhoneParseByOneClickResponse.ProtoReflect.Descriptor instead.

func (*BindPhoneParseByOneClickResponse) GetCode

func (*BindPhoneParseByOneClickResponse) GetData

func (*BindPhoneParseByOneClickResponse) GetMsg

func (*BindPhoneParseByOneClickResponse) GetNowTime

func (x *BindPhoneParseByOneClickResponse) GetNowTime() int64

func (*BindPhoneParseByOneClickResponse) ProtoMessage

func (*BindPhoneParseByOneClickResponse) ProtoMessage()

func (*BindPhoneParseByOneClickResponse) ProtoReflect

func (*BindPhoneParseByOneClickResponse) Reset

func (*BindPhoneParseByOneClickResponse) String

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"`
	// contains filtered or unexported fields
}

func (*BindPhoneParseRequest) Descriptor deprecated

func (*BindPhoneParseRequest) Descriptor() ([]byte, []int)

Deprecated: Use BindPhoneParseRequest.ProtoReflect.Descriptor instead.

func (*BindPhoneParseRequest) GetCode

func (x *BindPhoneParseRequest) GetCode() string

func (*BindPhoneParseRequest) GetEncryptedData

func (x *BindPhoneParseRequest) GetEncryptedData() string

func (*BindPhoneParseRequest) GetIv

func (x *BindPhoneParseRequest) GetIv() string

func (*BindPhoneParseRequest) GetPlatformId

func (x *BindPhoneParseRequest) GetPlatformId() int64

func (*BindPhoneParseRequest) GetUid

func (x *BindPhoneParseRequest) GetUid() int64

func (*BindPhoneParseRequest) ProtoMessage

func (*BindPhoneParseRequest) ProtoMessage()

func (*BindPhoneParseRequest) ProtoReflect

func (x *BindPhoneParseRequest) ProtoReflect() protoreflect.Message

func (*BindPhoneParseRequest) Reset

func (x *BindPhoneParseRequest) Reset()

func (*BindPhoneParseRequest) String

func (x *BindPhoneParseRequest) String() string

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 */
	// contains filtered or unexported fields
}

func (*BindPhoneParseResponse) Descriptor deprecated

func (*BindPhoneParseResponse) Descriptor() ([]byte, []int)

Deprecated: Use BindPhoneParseResponse.ProtoReflect.Descriptor instead.

func (*BindPhoneParseResponse) GetCode

func (x *BindPhoneParseResponse) GetCode() int64

func (*BindPhoneParseResponse) GetData

func (x *BindPhoneParseResponse) GetData() map[string]string

func (*BindPhoneParseResponse) GetMsg

func (x *BindPhoneParseResponse) GetMsg() string

func (*BindPhoneParseResponse) GetNowTime

func (x *BindPhoneParseResponse) GetNowTime() int64

func (*BindPhoneParseResponse) ProtoMessage

func (*BindPhoneParseResponse) ProtoMessage()

func (*BindPhoneParseResponse) ProtoReflect

func (x *BindPhoneParseResponse) ProtoReflect() protoreflect.Message

func (*BindPhoneParseResponse) Reset

func (x *BindPhoneParseResponse) Reset()

func (*BindPhoneParseResponse) String

func (x *BindPhoneParseResponse) String() string

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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. All implementations should embed UnimplementedBindTelephoneServer for forward compatibility

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"`
	// contains filtered or unexported fields
}

func (*BindVerifyRequest) Descriptor deprecated

func (*BindVerifyRequest) Descriptor() ([]byte, []int)

Deprecated: Use BindVerifyRequest.ProtoReflect.Descriptor instead.

func (*BindVerifyRequest) GetCode

func (x *BindVerifyRequest) GetCode() string

func (*BindVerifyRequest) GetNationCode

func (x *BindVerifyRequest) GetNationCode() string

func (*BindVerifyRequest) GetOrigin

func (x *BindVerifyRequest) GetOrigin() string

func (*BindVerifyRequest) GetTelephone

func (x *BindVerifyRequest) GetTelephone() string

func (*BindVerifyRequest) GetUid

func (x *BindVerifyRequest) GetUid() int64

func (*BindVerifyRequest) ProtoMessage

func (*BindVerifyRequest) ProtoMessage()

func (*BindVerifyRequest) ProtoReflect

func (x *BindVerifyRequest) ProtoReflect() protoreflect.Message

func (*BindVerifyRequest) Reset

func (x *BindVerifyRequest) Reset()

func (*BindVerifyRequest) String

func (x *BindVerifyRequest) String() string

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 */
	// contains filtered or unexported fields
}

func (*BindVerifyResponse) Descriptor deprecated

func (*BindVerifyResponse) Descriptor() ([]byte, []int)

Deprecated: Use BindVerifyResponse.ProtoReflect.Descriptor instead.

func (*BindVerifyResponse) GetCode

func (x *BindVerifyResponse) GetCode() int64

func (*BindVerifyResponse) GetData

func (x *BindVerifyResponse) GetData() map[string]string

func (*BindVerifyResponse) GetMsg

func (x *BindVerifyResponse) GetMsg() string

func (*BindVerifyResponse) GetNowTime

func (x *BindVerifyResponse) GetNowTime() int64

func (*BindVerifyResponse) ProtoMessage

func (*BindVerifyResponse) ProtoMessage()

func (*BindVerifyResponse) ProtoReflect

func (x *BindVerifyResponse) ProtoReflect() protoreflect.Message

func (*BindVerifyResponse) Reset

func (x *BindVerifyResponse) Reset()

func (*BindVerifyResponse) String

func (x *BindVerifyResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*CheckRequest) Descriptor deprecated

func (*CheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) GetNationCode

func (x *CheckRequest) GetNationCode() string

func (*CheckRequest) GetOrigin

func (x *CheckRequest) GetOrigin() string

func (*CheckRequest) GetTelephone

func (x *CheckRequest) GetTelephone() string

func (*CheckRequest) GetUid

func (x *CheckRequest) GetUid() int64

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) ProtoReflect

func (x *CheckRequest) ProtoReflect() protoreflect.Message

func (*CheckRequest) Reset

func (x *CheckRequest) Reset()

func (*CheckRequest) String

func (x *CheckRequest) String() string

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 */
	// contains filtered or unexported fields
}

func (*CheckResponse) Descriptor deprecated

func (*CheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.

func (*CheckResponse) GetCode

func (x *CheckResponse) GetCode() int64

func (*CheckResponse) GetData

func (x *CheckResponse) GetData() map[string]string

func (*CheckResponse) GetMsg

func (x *CheckResponse) GetMsg() string

func (*CheckResponse) GetNowTime

func (x *CheckResponse) GetNowTime() int64

func (*CheckResponse) ProtoMessage

func (*CheckResponse) ProtoMessage()

func (*CheckResponse) ProtoReflect

func (x *CheckResponse) ProtoReflect() protoreflect.Message

func (*CheckResponse) Reset

func (x *CheckResponse) Reset()

func (*CheckResponse) String

func (x *CheckResponse) String() string

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCodeClient

func NewCodeClient(cc grpc.ClientConnInterface) 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. All implementations should embed UnimplementedCodeServer for forward compatibility

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"`
	// contains filtered or unexported fields
}

func (*Credentials) Descriptor deprecated

func (*Credentials) Descriptor() ([]byte, []int)

Deprecated: Use Credentials.ProtoReflect.Descriptor instead.

func (*Credentials) GetIsBindTelephone

func (x *Credentials) GetIsBindTelephone() bool

func (*Credentials) GetIsFirstRegister

func (x *Credentials) GetIsFirstRegister() bool

func (*Credentials) GetIsNew

func (x *Credentials) GetIsNew() bool

func (*Credentials) GetOpenid

func (x *Credentials) GetOpenid() string

func (*Credentials) GetPlatformInfo

func (x *Credentials) GetPlatformInfo() *PlatformInfo

func (*Credentials) GetUid

func (x *Credentials) GetUid() int64

func (*Credentials) GetUri

func (x *Credentials) GetUri() string

func (*Credentials) ProtoMessage

func (*Credentials) ProtoMessage()

func (*Credentials) ProtoReflect

func (x *Credentials) ProtoReflect() protoreflect.Message

func (*Credentials) Reset

func (x *Credentials) Reset()

func (*Credentials) String

func (x *Credentials) String() string

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"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

func (*Data) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetCity

func (x *Data) GetCity() string

func (*Data) GetCountry

func (x *Data) GetCountry() string

func (*Data) GetCreateTime

func (x *Data) GetCreateTime() int64

func (*Data) GetCurrentlyLoggedPlatformId

func (x *Data) GetCurrentlyLoggedPlatformId() int64

func (*Data) GetHeadImgUrl

func (x *Data) GetHeadImgUrl() string

func (*Data) GetLang

func (x *Data) GetLang() string

func (*Data) GetModifyTime

func (x *Data) GetModifyTime() int64

func (*Data) GetNickname

func (x *Data) GetNickname() string

func (*Data) GetProvince

func (x *Data) GetProvince() string

func (*Data) GetRegion

func (x *Data) GetRegion() string

func (*Data) GetSex

func (x *Data) GetSex() int64

func (*Data) GetSignature

func (x *Data) GetSignature() string

func (*Data) GetUid

func (x *Data) GetUid() int64

func (*Data) GetUri

func (x *Data) GetUri() string

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

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"`
	// contains filtered or unexported fields
}

func (*GetSendStatusRequest) Descriptor deprecated

func (*GetSendStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSendStatusRequest.ProtoReflect.Descriptor instead.

func (*GetSendStatusRequest) GetIp

func (x *GetSendStatusRequest) GetIp() string

func (*GetSendStatusRequest) GetNationCode

func (x *GetSendStatusRequest) GetNationCode() string

func (*GetSendStatusRequest) GetSendType

func (x *GetSendStatusRequest) GetSendType() string

func (*GetSendStatusRequest) GetSignR

func (x *GetSendStatusRequest) GetSignR() int64

func (*GetSendStatusRequest) GetTelephone

func (x *GetSendStatusRequest) GetTelephone() string

func (*GetSendStatusRequest) GetTemplate

func (x *GetSendStatusRequest) GetTemplate() string

func (*GetSendStatusRequest) ProtoMessage

func (*GetSendStatusRequest) ProtoMessage()

func (*GetSendStatusRequest) ProtoReflect

func (x *GetSendStatusRequest) ProtoReflect() protoreflect.Message

func (*GetSendStatusRequest) Reset

func (x *GetSendStatusRequest) Reset()

func (*GetSendStatusRequest) String

func (x *GetSendStatusRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*GetSendStatusResponse) Descriptor deprecated

func (*GetSendStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSendStatusResponse.ProtoReflect.Descriptor instead.

func (*GetSendStatusResponse) GetCode

func (x *GetSendStatusResponse) GetCode() int64

func (*GetSendStatusResponse) GetData

func (x *GetSendStatusResponse) GetData() *SendStatus

func (*GetSendStatusResponse) GetMsg

func (x *GetSendStatusResponse) GetMsg() string

func (*GetSendStatusResponse) GetNowTime

func (x *GetSendStatusResponse) GetNowTime() int64

func (*GetSendStatusResponse) ProtoMessage

func (*GetSendStatusResponse) ProtoMessage()

func (*GetSendStatusResponse) ProtoReflect

func (x *GetSendStatusResponse) ProtoReflect() protoreflect.Message

func (*GetSendStatusResponse) Reset

func (x *GetSendStatusResponse) Reset()

func (*GetSendStatusResponse) String

func (x *GetSendStatusResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*IsCheckImageCodeRequest) Descriptor deprecated

func (*IsCheckImageCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsCheckImageCodeRequest.ProtoReflect.Descriptor instead.

func (*IsCheckImageCodeRequest) GetNationCode

func (x *IsCheckImageCodeRequest) GetNationCode() string

func (*IsCheckImageCodeRequest) GetScene

func (x *IsCheckImageCodeRequest) GetScene() string

func (*IsCheckImageCodeRequest) GetTelephone

func (x *IsCheckImageCodeRequest) GetTelephone() string

func (*IsCheckImageCodeRequest) ProtoMessage

func (*IsCheckImageCodeRequest) ProtoMessage()

func (*IsCheckImageCodeRequest) ProtoReflect

func (x *IsCheckImageCodeRequest) ProtoReflect() protoreflect.Message

func (*IsCheckImageCodeRequest) Reset

func (x *IsCheckImageCodeRequest) Reset()

func (*IsCheckImageCodeRequest) String

func (x *IsCheckImageCodeRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*IsCheckImageCodeResponse) Descriptor deprecated

func (*IsCheckImageCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsCheckImageCodeResponse.ProtoReflect.Descriptor instead.

func (*IsCheckImageCodeResponse) GetCode

func (x *IsCheckImageCodeResponse) GetCode() int64

func (*IsCheckImageCodeResponse) GetData

func (x *IsCheckImageCodeResponse) GetData() bool

func (*IsCheckImageCodeResponse) GetMsg

func (x *IsCheckImageCodeResponse) GetMsg() string

func (*IsCheckImageCodeResponse) GetNowTime

func (x *IsCheckImageCodeResponse) GetNowTime() int64

func (*IsCheckImageCodeResponse) ProtoMessage

func (*IsCheckImageCodeResponse) ProtoMessage()

func (*IsCheckImageCodeResponse) ProtoReflect

func (x *IsCheckImageCodeResponse) ProtoReflect() protoreflect.Message

func (*IsCheckImageCodeResponse) Reset

func (x *IsCheckImageCodeResponse) Reset()

func (*IsCheckImageCodeResponse) String

func (x *IsCheckImageCodeResponse) String() string

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewLoginClient

func NewLoginClient(cc grpc.ClientConnInterface) 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"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetData

func (x *LoginRequest) GetData() map[string]string

func (*LoginRequest) GetPlatformId

func (x *LoginRequest) GetPlatformId() int64

func (*LoginRequest) GetScope

func (x *LoginRequest) GetScope() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetCode

func (x *LoginResponse) GetCode() int64

func (*LoginResponse) GetData

func (x *LoginResponse) GetData() *Credentials

func (*LoginResponse) GetMsg

func (x *LoginResponse) GetMsg() string

func (*LoginResponse) GetNowTime

func (x *LoginResponse) GetNowTime() int64

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

func (x *LoginResponse) ProtoReflect() protoreflect.Message

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

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. All implementations should embed UnimplementedLoginServer for forward compatibility

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMergeClient

func NewMergeClient(cc grpc.ClientConnInterface) 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. All implementations should embed UnimplementedMergeServer for forward compatibility

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"`
	// contains filtered or unexported fields
}

func (*PlatformInfo) Descriptor deprecated

func (*PlatformInfo) Descriptor() ([]byte, []int)

Deprecated: Use PlatformInfo.ProtoReflect.Descriptor instead.

func (*PlatformInfo) GetOriginalOpenid

func (x *PlatformInfo) GetOriginalOpenid() string

func (*PlatformInfo) GetOriginalUid

func (x *PlatformInfo) GetOriginalUid() int64

func (*PlatformInfo) GetOriginalUri

func (x *PlatformInfo) GetOriginalUri() string

func (*PlatformInfo) GetPlatformId

func (x *PlatformInfo) GetPlatformId() int64

func (*PlatformInfo) ProtoMessage

func (*PlatformInfo) ProtoMessage()

func (*PlatformInfo) ProtoReflect

func (x *PlatformInfo) ProtoReflect() protoreflect.Message

func (*PlatformInfo) Reset

func (x *PlatformInfo) Reset()

func (*PlatformInfo) String

func (x *PlatformInfo) String() string

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 */
	// contains filtered or unexported fields
}

func (*Reply) Descriptor deprecated

func (*Reply) Descriptor() ([]byte, []int)

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) GetCode

func (x *Reply) GetCode() int64

func (*Reply) GetData

func (x *Reply) GetData() map[string]string

func (*Reply) GetMsg

func (x *Reply) GetMsg() string

func (*Reply) GetNowTime

func (x *Reply) GetNowTime() int64

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

func (x *Reply) ProtoReflect() protoreflect.Message

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) String

func (x *Reply) String() string

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"`
	// contains filtered or unexported fields
}

func (*SendCodeRequest) Descriptor deprecated

func (*SendCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendCodeRequest.ProtoReflect.Descriptor instead.

func (*SendCodeRequest) GetIp

func (x *SendCodeRequest) GetIp() string

func (*SendCodeRequest) GetNationCode

func (x *SendCodeRequest) GetNationCode() string

func (*SendCodeRequest) GetSendType

func (x *SendCodeRequest) GetSendType() string

func (*SendCodeRequest) GetTelephone

func (x *SendCodeRequest) GetTelephone() string

func (*SendCodeRequest) GetTemplate

func (x *SendCodeRequest) GetTemplate() string

func (*SendCodeRequest) ProtoMessage

func (*SendCodeRequest) ProtoMessage()

func (*SendCodeRequest) ProtoReflect

func (x *SendCodeRequest) ProtoReflect() protoreflect.Message

func (*SendCodeRequest) Reset

func (x *SendCodeRequest) Reset()

func (*SendCodeRequest) String

func (x *SendCodeRequest) String() string

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 */
	// contains filtered or unexported fields
}

func (*SendCodeResponse) Descriptor deprecated

func (*SendCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendCodeResponse.ProtoReflect.Descriptor instead.

func (*SendCodeResponse) GetCode

func (x *SendCodeResponse) GetCode() int64

func (*SendCodeResponse) GetData

func (x *SendCodeResponse) GetData() map[string]string

func (*SendCodeResponse) GetMsg

func (x *SendCodeResponse) GetMsg() string

func (*SendCodeResponse) GetNowTime

func (x *SendCodeResponse) GetNowTime() int64

func (*SendCodeResponse) ProtoMessage

func (*SendCodeResponse) ProtoMessage()

func (*SendCodeResponse) ProtoReflect

func (x *SendCodeResponse) ProtoReflect() protoreflect.Message

func (*SendCodeResponse) Reset

func (x *SendCodeResponse) Reset()

func (*SendCodeResponse) String

func (x *SendCodeResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*SendStatus) Descriptor deprecated

func (*SendStatus) Descriptor() ([]byte, []int)

Deprecated: Use SendStatus.ProtoReflect.Descriptor instead.

func (*SendStatus) GetForceCall

func (x *SendStatus) GetForceCall() bool

func (*SendStatus) GetIsForbidden

func (x *SendStatus) GetIsForbidden() bool

func (*SendStatus) GetNeedImageCode

func (x *SendStatus) GetNeedImageCode() bool

func (*SendStatus) GetNumberLimit

func (x *SendStatus) GetNumberLimit() bool

func (*SendStatus) ProtoMessage

func (*SendStatus) ProtoMessage()

func (*SendStatus) ProtoReflect

func (x *SendStatus) ProtoReflect() protoreflect.Message

func (*SendStatus) Reset

func (x *SendStatus) Reset()

func (*SendStatus) String

func (x *SendStatus) String() string

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"`
	// contains filtered or unexported fields
}

func (*TelephoneRequest) Descriptor deprecated

func (*TelephoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use TelephoneRequest.ProtoReflect.Descriptor instead.

func (*TelephoneRequest) GetIsNewProcess

func (x *TelephoneRequest) GetIsNewProcess() bool

func (*TelephoneRequest) GetTargetTelephone

func (x *TelephoneRequest) GetTargetTelephone() string

func (*TelephoneRequest) GetUid

func (x *TelephoneRequest) GetUid() int64

func (*TelephoneRequest) ProtoMessage

func (*TelephoneRequest) ProtoMessage()

func (*TelephoneRequest) ProtoReflect

func (x *TelephoneRequest) ProtoReflect() protoreflect.Message

func (*TelephoneRequest) Reset

func (x *TelephoneRequest) Reset()

func (*TelephoneRequest) String

func (x *TelephoneRequest) String() string

type UnimplementedBindTelephoneServer

type UnimplementedBindTelephoneServer struct {
}

UnimplementedBindTelephoneServer should be embedded to have forward compatible implementations.

func (UnimplementedBindTelephoneServer) AutomaticBind

func (UnimplementedBindTelephoneServer) BindChange

func (UnimplementedBindTelephoneServer) BindPhoneParse

func (UnimplementedBindTelephoneServer) BindVerify

func (UnimplementedBindTelephoneServer) Check

type UnimplementedCodeServer

type UnimplementedCodeServer struct {
}

UnimplementedCodeServer should be embedded to have forward compatible implementations.

func (UnimplementedCodeServer) GetSendStatus

func (UnimplementedCodeServer) SendCode

func (UnimplementedCodeServer) Verify

func (UnimplementedCodeServer) VerifyImageCode

type UnimplementedLoginServer

type UnimplementedLoginServer struct {
}

UnimplementedLoginServer should be embedded to have forward compatible implementations.

func (UnimplementedLoginServer) Authenticate

func (UnimplementedLoginServer) Login

type UnimplementedMergeServer

type UnimplementedMergeServer struct {
}

UnimplementedMergeServer should be embedded to have forward compatible implementations.

func (UnimplementedMergeServer) Telephone

func (UnimplementedMergeServer) TelephoneCheck

func (UnimplementedMergeServer) WeChat

func (UnimplementedMergeServer) WeChatCheck

func (UnimplementedMergeServer) WeChatUnMerge

type UnsafeBindTelephoneServer

type UnsafeBindTelephoneServer interface {
	// contains filtered or unexported methods
}

UnsafeBindTelephoneServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BindTelephoneServer will result in compilation errors.

type UnsafeCodeServer

type UnsafeCodeServer interface {
	// contains filtered or unexported methods
}

UnsafeCodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CodeServer will result in compilation errors.

type UnsafeLoginServer

type UnsafeLoginServer interface {
	// contains filtered or unexported methods
}

UnsafeLoginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoginServer will result in compilation errors.

type UnsafeMergeServer

type UnsafeMergeServer interface {
	// contains filtered or unexported methods
}

UnsafeMergeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MergeServer will result in compilation errors.

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"`
	// contains filtered or unexported fields
}

func (*VerifyImageCodeRequest) Descriptor deprecated

func (*VerifyImageCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyImageCodeRequest.ProtoReflect.Descriptor instead.

func (*VerifyImageCodeRequest) GetIp

func (x *VerifyImageCodeRequest) GetIp() string

func (*VerifyImageCodeRequest) GetNationCode

func (x *VerifyImageCodeRequest) GetNationCode() string

func (*VerifyImageCodeRequest) GetRandStr

func (x *VerifyImageCodeRequest) GetRandStr() string

func (*VerifyImageCodeRequest) GetScene

func (x *VerifyImageCodeRequest) GetScene() string

func (*VerifyImageCodeRequest) GetTelephone

func (x *VerifyImageCodeRequest) GetTelephone() string

func (*VerifyImageCodeRequest) GetTicket

func (x *VerifyImageCodeRequest) GetTicket() string

func (*VerifyImageCodeRequest) ProtoMessage

func (*VerifyImageCodeRequest) ProtoMessage()

func (*VerifyImageCodeRequest) ProtoReflect

func (x *VerifyImageCodeRequest) ProtoReflect() protoreflect.Message

func (*VerifyImageCodeRequest) Reset

func (x *VerifyImageCodeRequest) Reset()

func (*VerifyImageCodeRequest) String

func (x *VerifyImageCodeRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*VerifyImageCodeResponse) Descriptor deprecated

func (*VerifyImageCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyImageCodeResponse.ProtoReflect.Descriptor instead.

func (*VerifyImageCodeResponse) GetCode

func (x *VerifyImageCodeResponse) GetCode() int64

func (*VerifyImageCodeResponse) GetMsg

func (x *VerifyImageCodeResponse) GetMsg() string

func (*VerifyImageCodeResponse) GetNowTime

func (x *VerifyImageCodeResponse) GetNowTime() int64

func (*VerifyImageCodeResponse) ProtoMessage

func (*VerifyImageCodeResponse) ProtoMessage()

func (*VerifyImageCodeResponse) ProtoReflect

func (x *VerifyImageCodeResponse) ProtoReflect() protoreflect.Message

func (*VerifyImageCodeResponse) Reset

func (x *VerifyImageCodeResponse) Reset()

func (*VerifyImageCodeResponse) String

func (x *VerifyImageCodeResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*VerifyRequest) Descriptor deprecated

func (*VerifyRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.

func (*VerifyRequest) GetCode

func (x *VerifyRequest) GetCode() string

func (*VerifyRequest) GetNationCode

func (x *VerifyRequest) GetNationCode() string

func (*VerifyRequest) GetTelephone

func (x *VerifyRequest) GetTelephone() string

func (*VerifyRequest) GetTemplate

func (x *VerifyRequest) GetTemplate() string

func (*VerifyRequest) ProtoMessage

func (*VerifyRequest) ProtoMessage()

func (*VerifyRequest) ProtoReflect

func (x *VerifyRequest) ProtoReflect() protoreflect.Message

func (*VerifyRequest) Reset

func (x *VerifyRequest) Reset()

func (*VerifyRequest) String

func (x *VerifyRequest) String() string

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 */
	// contains filtered or unexported fields
}

func (*VerifyResponse) Descriptor deprecated

func (*VerifyResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyResponse.ProtoReflect.Descriptor instead.

func (*VerifyResponse) GetCode

func (x *VerifyResponse) GetCode() int64

func (*VerifyResponse) GetData

func (x *VerifyResponse) GetData() map[string]string

func (*VerifyResponse) GetMsg

func (x *VerifyResponse) GetMsg() string

func (*VerifyResponse) GetNowTime

func (x *VerifyResponse) GetNowTime() int64

func (*VerifyResponse) ProtoMessage

func (*VerifyResponse) ProtoMessage()

func (*VerifyResponse) ProtoReflect

func (x *VerifyResponse) ProtoReflect() protoreflect.Message

func (*VerifyResponse) Reset

func (x *VerifyResponse) Reset()

func (*VerifyResponse) String

func (x *VerifyResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*WeChatRequest) Descriptor deprecated

func (*WeChatRequest) Descriptor() ([]byte, []int)

Deprecated: Use WeChatRequest.ProtoReflect.Descriptor instead.

func (*WeChatRequest) GetTargetUid

func (x *WeChatRequest) GetTargetUid() int64

func (*WeChatRequest) GetUid

func (x *WeChatRequest) GetUid() int64

func (*WeChatRequest) ProtoMessage

func (*WeChatRequest) ProtoMessage()

func (*WeChatRequest) ProtoReflect

func (x *WeChatRequest) ProtoReflect() protoreflect.Message

func (*WeChatRequest) Reset

func (x *WeChatRequest) Reset()

func (*WeChatRequest) String

func (x *WeChatRequest) String() string

type WeChatUnMergeRequest

type WeChatUnMergeRequest struct {

	// 登陆用户
	Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*WeChatUnMergeRequest) Descriptor deprecated

func (*WeChatUnMergeRequest) Descriptor() ([]byte, []int)

Deprecated: Use WeChatUnMergeRequest.ProtoReflect.Descriptor instead.

func (*WeChatUnMergeRequest) GetUid

func (x *WeChatUnMergeRequest) GetUid() int64

func (*WeChatUnMergeRequest) ProtoMessage

func (*WeChatUnMergeRequest) ProtoMessage()

func (*WeChatUnMergeRequest) ProtoReflect

func (x *WeChatUnMergeRequest) ProtoReflect() protoreflect.Message

func (*WeChatUnMergeRequest) Reset

func (x *WeChatUnMergeRequest) Reset()

func (*WeChatUnMergeRequest) String

func (x *WeChatUnMergeRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL