Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterMmsServer(s grpc.ServiceRegistrar, srv MmsServer)
- type BaseIDResp
- type BaseResp
- type BaseUUIDResp
- func (*BaseUUIDResp) Descriptor() ([]byte, []int)deprecated
- func (x *BaseUUIDResp) GetId() string
- func (x *BaseUUIDResp) GetMsg() string
- func (*BaseUUIDResp) ProtoMessage()
- func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message
- func (x *BaseUUIDResp) Reset()
- func (x *BaseUUIDResp) String() string
- type CallbackReq
- type Empty
- type IDReq
- type IDsReq
- type MemberInfo
- func (*MemberInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MemberInfo) GetAvatar() string
- func (x *MemberInfo) GetCreatedAt() int64
- func (x *MemberInfo) GetEmail() string
- func (x *MemberInfo) GetExpiredAt() int64
- func (x *MemberInfo) GetId() string
- func (x *MemberInfo) GetMobile() string
- func (x *MemberInfo) GetNickname() string
- func (x *MemberInfo) GetPassword() string
- func (x *MemberInfo) GetRankCode() string
- func (x *MemberInfo) GetRankId() uint64
- func (x *MemberInfo) GetStatus() uint32
- func (x *MemberInfo) GetUpdatedAt() int64
- func (x *MemberInfo) GetUsername() string
- func (x *MemberInfo) GetWechatId() string
- func (*MemberInfo) ProtoMessage()
- func (x *MemberInfo) ProtoReflect() protoreflect.Message
- func (x *MemberInfo) Reset()
- func (x *MemberInfo) String() string
- type MemberListReq
- func (*MemberListReq) Descriptor() ([]byte, []int)deprecated
- func (x *MemberListReq) GetEmail() string
- func (x *MemberListReq) GetMobile() string
- func (x *MemberListReq) GetNickname() string
- func (x *MemberListReq) GetPage() uint64
- func (x *MemberListReq) GetPageSize() uint64
- func (x *MemberListReq) GetRankId() uint64
- func (x *MemberListReq) GetUsername() string
- func (x *MemberListReq) GetWechatId() string
- func (*MemberListReq) ProtoMessage()
- func (x *MemberListReq) ProtoReflect() protoreflect.Message
- func (x *MemberListReq) Reset()
- func (x *MemberListReq) String() string
- type MemberListResp
- func (*MemberListResp) Descriptor() ([]byte, []int)deprecated
- func (x *MemberListResp) GetData() []*MemberInfo
- func (x *MemberListResp) GetTotal() uint64
- func (*MemberListResp) ProtoMessage()
- func (x *MemberListResp) ProtoReflect() protoreflect.Message
- func (x *MemberListResp) Reset()
- func (x *MemberListResp) String() string
- type MemberLoginResp
- func (*MemberLoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *MemberLoginResp) GetAvatar() string
- func (x *MemberLoginResp) GetId() string
- func (x *MemberLoginResp) GetNickname() string
- func (x *MemberLoginResp) GetRankId() uint64
- func (*MemberLoginResp) ProtoMessage()
- func (x *MemberLoginResp) ProtoReflect() protoreflect.Message
- func (x *MemberLoginResp) Reset()
- func (x *MemberLoginResp) String() string
- type MemberRankInfo
- func (*MemberRankInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MemberRankInfo) GetCode() string
- func (x *MemberRankInfo) GetCreatedAt() int64
- func (x *MemberRankInfo) GetDescription() string
- func (x *MemberRankInfo) GetId() uint64
- func (x *MemberRankInfo) GetName() string
- func (x *MemberRankInfo) GetRemark() string
- func (x *MemberRankInfo) GetUpdatedAt() int64
- func (*MemberRankInfo) ProtoMessage()
- func (x *MemberRankInfo) ProtoReflect() protoreflect.Message
- func (x *MemberRankInfo) Reset()
- func (x *MemberRankInfo) String() string
- type MemberRankListReq
- func (*MemberRankListReq) Descriptor() ([]byte, []int)deprecated
- func (x *MemberRankListReq) GetDescription() string
- func (x *MemberRankListReq) GetName() string
- func (x *MemberRankListReq) GetPage() uint64
- func (x *MemberRankListReq) GetPageSize() uint64
- func (x *MemberRankListReq) GetRemark() string
- func (*MemberRankListReq) ProtoMessage()
- func (x *MemberRankListReq) ProtoReflect() protoreflect.Message
- func (x *MemberRankListReq) Reset()
- func (x *MemberRankListReq) String() string
- type MemberRankListResp
- func (*MemberRankListResp) Descriptor() ([]byte, []int)deprecated
- func (x *MemberRankListResp) GetData() []*MemberRankInfo
- func (x *MemberRankListResp) GetTotal() uint64
- func (*MemberRankListResp) ProtoMessage()
- func (x *MemberRankListResp) ProtoReflect() protoreflect.Message
- func (x *MemberRankListResp) Reset()
- func (x *MemberRankListResp) String() string
- type MemberRegisterReq
- func (*MemberRegisterReq) Descriptor() ([]byte, []int)deprecated
- func (x *MemberRegisterReq) GetEmail() string
- func (x *MemberRegisterReq) GetPassword() string
- func (x *MemberRegisterReq) GetUsername() string
- func (*MemberRegisterReq) ProtoMessage()
- func (x *MemberRegisterReq) ProtoReflect() protoreflect.Message
- func (x *MemberRegisterReq) Reset()
- func (x *MemberRegisterReq) String() string
- type MmsClient
- type MmsServer
- type OauthLoginReq
- func (*OauthLoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *OauthLoginReq) GetProvider() string
- func (x *OauthLoginReq) GetState() string
- func (*OauthLoginReq) ProtoMessage()
- func (x *OauthLoginReq) ProtoReflect() protoreflect.Message
- func (x *OauthLoginReq) Reset()
- func (x *OauthLoginReq) String() string
- type OauthProviderInfo
- func (*OauthProviderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OauthProviderInfo) GetAuthStyle() uint64
- func (x *OauthProviderInfo) GetAuthUrl() string
- func (x *OauthProviderInfo) GetClientId() string
- func (x *OauthProviderInfo) GetClientSecret() string
- func (x *OauthProviderInfo) GetCreatedAt() int64
- func (x *OauthProviderInfo) GetId() uint64
- func (x *OauthProviderInfo) GetInfoUrl() string
- func (x *OauthProviderInfo) GetName() string
- func (x *OauthProviderInfo) GetRedirectUrl() string
- func (x *OauthProviderInfo) GetScopes() string
- func (x *OauthProviderInfo) GetTokenUrl() string
- func (x *OauthProviderInfo) GetUpdatedAt() int64
- func (*OauthProviderInfo) ProtoMessage()
- func (x *OauthProviderInfo) ProtoReflect() protoreflect.Message
- func (x *OauthProviderInfo) Reset()
- func (x *OauthProviderInfo) String() string
- type OauthProviderListReq
- func (*OauthProviderListReq) Descriptor() ([]byte, []int)deprecated
- func (x *OauthProviderListReq) GetName() string
- func (x *OauthProviderListReq) GetPage() uint64
- func (x *OauthProviderListReq) GetPageSize() uint64
- func (*OauthProviderListReq) ProtoMessage()
- func (x *OauthProviderListReq) ProtoReflect() protoreflect.Message
- func (x *OauthProviderListReq) Reset()
- func (x *OauthProviderListReq) String() string
- type OauthProviderListResp
- func (*OauthProviderListResp) Descriptor() ([]byte, []int)deprecated
- func (x *OauthProviderListResp) GetData() []*OauthProviderInfo
- func (x *OauthProviderListResp) GetTotal() uint64
- func (*OauthProviderListResp) ProtoMessage()
- func (x *OauthProviderListResp) ProtoReflect() protoreflect.Message
- func (x *OauthProviderListResp) Reset()
- func (x *OauthProviderListResp) String() string
- type OauthRedirectResp
- type PageInfoReq
- func (*PageInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfoReq) GetPage() uint64
- func (x *PageInfoReq) GetPageSize() uint64
- func (*PageInfoReq) ProtoMessage()
- func (x *PageInfoReq) ProtoReflect() protoreflect.Message
- func (x *PageInfoReq) Reset()
- func (x *PageInfoReq) String() string
- type TokenInfo
- func (*TokenInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TokenInfo) GetCreatedAt() int64
- func (x *TokenInfo) GetExpiredAt() int64
- func (x *TokenInfo) GetId() string
- func (x *TokenInfo) GetSource() string
- func (x *TokenInfo) GetStatus() uint32
- func (x *TokenInfo) GetToken() string
- func (x *TokenInfo) GetUpdatedAt() int64
- func (x *TokenInfo) GetUsername() string
- func (x *TokenInfo) GetUuid() string
- func (*TokenInfo) ProtoMessage()
- func (x *TokenInfo) ProtoReflect() protoreflect.Message
- func (x *TokenInfo) Reset()
- func (x *TokenInfo) String() string
- type TokenListReq
- func (*TokenListReq) Descriptor() ([]byte, []int)deprecated
- func (x *TokenListReq) GetEmail() string
- func (x *TokenListReq) GetNickname() string
- func (x *TokenListReq) GetPage() uint64
- func (x *TokenListReq) GetPageSize() uint64
- func (x *TokenListReq) GetUsername() string
- func (x *TokenListReq) GetUuid() string
- func (*TokenListReq) ProtoMessage()
- func (x *TokenListReq) ProtoReflect() protoreflect.Message
- func (x *TokenListReq) Reset()
- func (x *TokenListReq) String() string
- type TokenListResp
- func (*TokenListResp) Descriptor() ([]byte, []int)deprecated
- func (x *TokenListResp) GetData() []*TokenInfo
- func (x *TokenListResp) GetTotal() uint64
- func (*TokenListResp) ProtoMessage()
- func (x *TokenListResp) ProtoReflect() protoreflect.Message
- func (x *TokenListResp) Reset()
- func (x *TokenListResp) String() string
- type UUIDReq
- type UUIDsReq
- type UnimplementedMmsServer
- func (UnimplementedMmsServer) BlockUserAllToken(context.Context, *UUIDReq) (*BaseResp, error)
- func (UnimplementedMmsServer) CreateMember(context.Context, *MemberInfo) (*BaseUUIDResp, error)
- func (UnimplementedMmsServer) CreateMemberRank(context.Context, *MemberRankInfo) (*BaseIDResp, error)
- func (UnimplementedMmsServer) CreateOauthProvider(context.Context, *OauthProviderInfo) (*BaseIDResp, error)
- func (UnimplementedMmsServer) CreateToken(context.Context, *TokenInfo) (*BaseUUIDResp, error)
- func (UnimplementedMmsServer) DeleteMember(context.Context, *UUIDsReq) (*BaseResp, error)
- func (UnimplementedMmsServer) DeleteMemberRank(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedMmsServer) DeleteOauthProvider(context.Context, *IDsReq) (*BaseResp, error)
- func (UnimplementedMmsServer) DeleteToken(context.Context, *UUIDsReq) (*BaseResp, error)
- func (UnimplementedMmsServer) GetMemberById(context.Context, *UUIDReq) (*MemberInfo, error)
- func (UnimplementedMmsServer) GetMemberByUsername(context.Context, *UsernameReq) (*MemberInfo, error)
- func (UnimplementedMmsServer) GetMemberList(context.Context, *MemberListReq) (*MemberListResp, error)
- func (UnimplementedMmsServer) GetMemberRankById(context.Context, *IDReq) (*MemberRankInfo, error)
- func (UnimplementedMmsServer) GetMemberRankList(context.Context, *MemberRankListReq) (*MemberRankListResp, error)
- func (UnimplementedMmsServer) GetOauthProviderById(context.Context, *IDReq) (*OauthProviderInfo, error)
- func (UnimplementedMmsServer) GetOauthProviderList(context.Context, *OauthProviderListReq) (*OauthProviderListResp, error)
- func (UnimplementedMmsServer) GetTokenById(context.Context, *UUIDReq) (*TokenInfo, error)
- func (UnimplementedMmsServer) GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error)
- func (UnimplementedMmsServer) InitDatabase(context.Context, *Empty) (*BaseResp, error)
- func (UnimplementedMmsServer) OauthCallback(context.Context, *CallbackReq) (*MemberInfo, error)
- func (UnimplementedMmsServer) OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error)
- func (UnimplementedMmsServer) UpdateMember(context.Context, *MemberInfo) (*BaseResp, error)
- func (UnimplementedMmsServer) UpdateMemberRank(context.Context, *MemberRankInfo) (*BaseResp, error)
- func (UnimplementedMmsServer) UpdateOauthProvider(context.Context, *OauthProviderInfo) (*BaseResp, error)
- func (UnimplementedMmsServer) UpdateToken(context.Context, *TokenInfo) (*BaseResp, error)
- func (UnimplementedMmsServer) WechatMiniProgramLogin(context.Context, *OauthLoginReq) (*BaseResp, error)
- type UnsafeMmsServer
- type UsernameReq
Constants ¶
const ( Mms_InitDatabase_FullMethodName = "/mms.Mms/initDatabase" Mms_CreateMember_FullMethodName = "/mms.Mms/createMember" Mms_UpdateMember_FullMethodName = "/mms.Mms/updateMember" Mms_GetMemberList_FullMethodName = "/mms.Mms/getMemberList" Mms_DeleteMember_FullMethodName = "/mms.Mms/deleteMember" Mms_GetMemberById_FullMethodName = "/mms.Mms/getMemberById" Mms_GetMemberByUsername_FullMethodName = "/mms.Mms/getMemberByUsername" Mms_CreateMemberRank_FullMethodName = "/mms.Mms/createMemberRank" Mms_UpdateMemberRank_FullMethodName = "/mms.Mms/updateMemberRank" Mms_GetMemberRankList_FullMethodName = "/mms.Mms/getMemberRankList" Mms_GetMemberRankById_FullMethodName = "/mms.Mms/getMemberRankById" Mms_DeleteMemberRank_FullMethodName = "/mms.Mms/deleteMemberRank" Mms_CreateOauthProvider_FullMethodName = "/mms.Mms/createOauthProvider" Mms_UpdateOauthProvider_FullMethodName = "/mms.Mms/updateOauthProvider" Mms_GetOauthProviderList_FullMethodName = "/mms.Mms/getOauthProviderList" Mms_GetOauthProviderById_FullMethodName = "/mms.Mms/getOauthProviderById" Mms_DeleteOauthProvider_FullMethodName = "/mms.Mms/deleteOauthProvider" Mms_OauthLogin_FullMethodName = "/mms.Mms/oauthLogin" Mms_OauthCallback_FullMethodName = "/mms.Mms/oauthCallback" Mms_WechatMiniProgramLogin_FullMethodName = "/mms.Mms/wechatMiniProgramLogin" Mms_CreateToken_FullMethodName = "/mms.Mms/createToken" Mms_DeleteToken_FullMethodName = "/mms.Mms/deleteToken" Mms_GetTokenList_FullMethodName = "/mms.Mms/getTokenList" Mms_GetTokenById_FullMethodName = "/mms.Mms/getTokenById" Mms_BlockUserAllToken_FullMethodName = "/mms.Mms/blockUserAllToken" Mms_UpdateToken_FullMethodName = "/mms.Mms/updateToken" )
Variables ¶
var File_mms_proto protoreflect.FileDescriptor
var Mms_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mms.Mms", HandlerType: (*MmsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "initDatabase", Handler: _Mms_InitDatabase_Handler, }, { MethodName: "createMember", Handler: _Mms_CreateMember_Handler, }, { MethodName: "updateMember", Handler: _Mms_UpdateMember_Handler, }, { MethodName: "getMemberList", Handler: _Mms_GetMemberList_Handler, }, { MethodName: "deleteMember", Handler: _Mms_DeleteMember_Handler, }, { MethodName: "getMemberById", Handler: _Mms_GetMemberById_Handler, }, { MethodName: "getMemberByUsername", Handler: _Mms_GetMemberByUsername_Handler, }, { MethodName: "createMemberRank", Handler: _Mms_CreateMemberRank_Handler, }, { MethodName: "updateMemberRank", Handler: _Mms_UpdateMemberRank_Handler, }, { MethodName: "getMemberRankList", Handler: _Mms_GetMemberRankList_Handler, }, { MethodName: "getMemberRankById", Handler: _Mms_GetMemberRankById_Handler, }, { MethodName: "deleteMemberRank", Handler: _Mms_DeleteMemberRank_Handler, }, { MethodName: "createOauthProvider", Handler: _Mms_CreateOauthProvider_Handler, }, { MethodName: "updateOauthProvider", Handler: _Mms_UpdateOauthProvider_Handler, }, { MethodName: "getOauthProviderList", Handler: _Mms_GetOauthProviderList_Handler, }, { MethodName: "getOauthProviderById", Handler: _Mms_GetOauthProviderById_Handler, }, { MethodName: "deleteOauthProvider", Handler: _Mms_DeleteOauthProvider_Handler, }, { MethodName: "oauthLogin", Handler: _Mms_OauthLogin_Handler, }, { MethodName: "oauthCallback", Handler: _Mms_OauthCallback_Handler, }, { MethodName: "wechatMiniProgramLogin", Handler: _Mms_WechatMiniProgramLogin_Handler, }, { MethodName: "createToken", Handler: _Mms_CreateToken_Handler, }, { MethodName: "deleteToken", Handler: _Mms_DeleteToken_Handler, }, { MethodName: "getTokenList", Handler: _Mms_GetTokenList_Handler, }, { MethodName: "getTokenById", Handler: _Mms_GetTokenById_Handler, }, { MethodName: "blockUserAllToken", Handler: _Mms_BlockUserAllToken_Handler, }, { MethodName: "updateToken", Handler: _Mms_UpdateToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mms.proto", }
Mms_ServiceDesc is the grpc.ServiceDesc for Mms service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMmsServer ¶
func RegisterMmsServer(s grpc.ServiceRegistrar, srv MmsServer)
Types ¶
type BaseIDResp ¶
type BaseIDResp struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // contains filtered or unexported fields }
func (*BaseIDResp) Descriptor
deprecated
func (*BaseIDResp) Descriptor() ([]byte, []int)
Deprecated: Use BaseIDResp.ProtoReflect.Descriptor instead.
func (*BaseIDResp) GetId ¶
func (x *BaseIDResp) GetId() uint64
func (*BaseIDResp) GetMsg ¶
func (x *BaseIDResp) GetMsg() string
func (*BaseIDResp) ProtoMessage ¶
func (*BaseIDResp) ProtoMessage()
func (*BaseIDResp) ProtoReflect ¶
func (x *BaseIDResp) ProtoReflect() protoreflect.Message
func (*BaseIDResp) Reset ¶
func (x *BaseIDResp) Reset()
func (*BaseIDResp) String ¶
func (x *BaseIDResp) String() string
type BaseResp ¶
type BaseResp struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg"` // contains filtered or unexported fields }
func (*BaseResp) Descriptor
deprecated
func (*BaseResp) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
type BaseUUIDResp ¶
type BaseUUIDResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // contains filtered or unexported fields }
func (*BaseUUIDResp) Descriptor
deprecated
func (*BaseUUIDResp) Descriptor() ([]byte, []int)
Deprecated: Use BaseUUIDResp.ProtoReflect.Descriptor instead.
func (*BaseUUIDResp) GetId ¶
func (x *BaseUUIDResp) GetId() string
func (*BaseUUIDResp) GetMsg ¶
func (x *BaseUUIDResp) GetMsg() string
func (*BaseUUIDResp) ProtoMessage ¶
func (*BaseUUIDResp) ProtoMessage()
func (*BaseUUIDResp) ProtoReflect ¶
func (x *BaseUUIDResp) ProtoReflect() protoreflect.Message
func (*BaseUUIDResp) Reset ¶
func (x *BaseUUIDResp) Reset()
func (*BaseUUIDResp) String ¶
func (x *BaseUUIDResp) String() string
type CallbackReq ¶
type CallbackReq struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"` // contains filtered or unexported fields }
func (*CallbackReq) Descriptor
deprecated
func (*CallbackReq) Descriptor() ([]byte, []int)
Deprecated: Use CallbackReq.ProtoReflect.Descriptor instead.
func (*CallbackReq) GetCode ¶
func (x *CallbackReq) GetCode() string
func (*CallbackReq) GetState ¶
func (x *CallbackReq) GetState() string
func (*CallbackReq) ProtoMessage ¶
func (*CallbackReq) ProtoMessage()
func (*CallbackReq) ProtoReflect ¶
func (x *CallbackReq) ProtoReflect() protoreflect.Message
func (*CallbackReq) Reset ¶
func (x *CallbackReq) Reset()
func (*CallbackReq) String ¶
func (x *CallbackReq) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
base message
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type IDReq ¶
type IDReq struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // contains filtered or unexported fields }
func (*IDReq) Descriptor
deprecated
func (*IDReq) ProtoMessage ¶
func (*IDReq) ProtoMessage()
func (*IDReq) ProtoReflect ¶
func (x *IDReq) ProtoReflect() protoreflect.Message
type IDsReq ¶
type IDsReq struct { Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids"` // contains filtered or unexported fields }
func (*IDsReq) Descriptor
deprecated
func (*IDsReq) ProtoMessage ¶
func (*IDsReq) ProtoMessage()
func (*IDsReq) ProtoReflect ¶
func (x *IDsReq) ProtoReflect() protoreflect.Message
type MemberInfo ¶
type MemberInfo struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status"` Username *string `protobuf:"bytes,5,opt,name=username,proto3,oneof" json:"username"` Password *string `protobuf:"bytes,6,opt,name=password,proto3,oneof" json:"password"` Nickname *string `protobuf:"bytes,7,opt,name=nickname,proto3,oneof" json:"nickname"` RankId *uint64 `protobuf:"varint,8,opt,name=rank_id,json=rankId,proto3,oneof" json:"rank_id"` Mobile *string `protobuf:"bytes,9,opt,name=mobile,proto3,oneof" json:"mobile"` Email *string `protobuf:"bytes,10,opt,name=email,proto3,oneof" json:"email"` Avatar *string `protobuf:"bytes,11,opt,name=avatar,proto3,oneof" json:"avatar"` WechatId *string `protobuf:"bytes,12,opt,name=wechat_id,json=wechatId,proto3,oneof" json:"wechat_id"` RankCode *string `protobuf:"bytes,13,opt,name=rank_code,json=rankCode,proto3,oneof" json:"rank_code"` ExpiredAt *int64 `protobuf:"varint,14,opt,name=expired_at,json=expiredAt,proto3,oneof" json:"expired_at"` // contains filtered or unexported fields }
func (*MemberInfo) Descriptor
deprecated
func (*MemberInfo) Descriptor() ([]byte, []int)
Deprecated: Use MemberInfo.ProtoReflect.Descriptor instead.
func (*MemberInfo) GetAvatar ¶
func (x *MemberInfo) GetAvatar() string
func (*MemberInfo) GetCreatedAt ¶
func (x *MemberInfo) GetCreatedAt() int64
func (*MemberInfo) GetEmail ¶
func (x *MemberInfo) GetEmail() string
func (*MemberInfo) GetExpiredAt ¶
func (x *MemberInfo) GetExpiredAt() int64
func (*MemberInfo) GetId ¶
func (x *MemberInfo) GetId() string
func (*MemberInfo) GetMobile ¶
func (x *MemberInfo) GetMobile() string
func (*MemberInfo) GetNickname ¶
func (x *MemberInfo) GetNickname() string
func (*MemberInfo) GetPassword ¶
func (x *MemberInfo) GetPassword() string
func (*MemberInfo) GetRankCode ¶
func (x *MemberInfo) GetRankCode() string
func (*MemberInfo) GetRankId ¶
func (x *MemberInfo) GetRankId() uint64
func (*MemberInfo) GetStatus ¶
func (x *MemberInfo) GetStatus() uint32
func (*MemberInfo) GetUpdatedAt ¶
func (x *MemberInfo) GetUpdatedAt() int64
func (*MemberInfo) GetUsername ¶
func (x *MemberInfo) GetUsername() string
func (*MemberInfo) GetWechatId ¶
func (x *MemberInfo) GetWechatId() string
func (*MemberInfo) ProtoMessage ¶
func (*MemberInfo) ProtoMessage()
func (*MemberInfo) ProtoReflect ¶
func (x *MemberInfo) ProtoReflect() protoreflect.Message
func (*MemberInfo) Reset ¶
func (x *MemberInfo) Reset()
func (*MemberInfo) String ¶
func (x *MemberInfo) String() string
type MemberListReq ¶
type MemberListReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username"` Nickname *string `protobuf:"bytes,4,opt,name=nickname,proto3,oneof" json:"nickname"` Mobile *string `protobuf:"bytes,5,opt,name=mobile,proto3,oneof" json:"mobile"` Email *string `protobuf:"bytes,6,opt,name=email,proto3,oneof" json:"email"` RankId *uint64 `protobuf:"varint,7,opt,name=rank_id,json=rankId,proto3,oneof" json:"rank_id"` WechatId *string `protobuf:"bytes,8,opt,name=wechat_id,json=wechatId,proto3,oneof" json:"wechat_id"` // contains filtered or unexported fields }
func (*MemberListReq) Descriptor
deprecated
func (*MemberListReq) Descriptor() ([]byte, []int)
Deprecated: Use MemberListReq.ProtoReflect.Descriptor instead.
func (*MemberListReq) GetEmail ¶
func (x *MemberListReq) GetEmail() string
func (*MemberListReq) GetMobile ¶
func (x *MemberListReq) GetMobile() string
func (*MemberListReq) GetNickname ¶
func (x *MemberListReq) GetNickname() string
func (*MemberListReq) GetPage ¶
func (x *MemberListReq) GetPage() uint64
func (*MemberListReq) GetPageSize ¶
func (x *MemberListReq) GetPageSize() uint64
func (*MemberListReq) GetRankId ¶
func (x *MemberListReq) GetRankId() uint64
func (*MemberListReq) GetUsername ¶
func (x *MemberListReq) GetUsername() string
func (*MemberListReq) GetWechatId ¶
func (x *MemberListReq) GetWechatId() string
func (*MemberListReq) ProtoMessage ¶
func (*MemberListReq) ProtoMessage()
func (*MemberListReq) ProtoReflect ¶
func (x *MemberListReq) ProtoReflect() protoreflect.Message
func (*MemberListReq) Reset ¶
func (x *MemberListReq) Reset()
func (*MemberListReq) String ¶
func (x *MemberListReq) String() string
type MemberListResp ¶
type MemberListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Data []*MemberInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*MemberListResp) Descriptor
deprecated
func (*MemberListResp) Descriptor() ([]byte, []int)
Deprecated: Use MemberListResp.ProtoReflect.Descriptor instead.
func (*MemberListResp) GetData ¶
func (x *MemberListResp) GetData() []*MemberInfo
func (*MemberListResp) GetTotal ¶
func (x *MemberListResp) GetTotal() uint64
func (*MemberListResp) ProtoMessage ¶
func (*MemberListResp) ProtoMessage()
func (*MemberListResp) ProtoReflect ¶
func (x *MemberListResp) ProtoReflect() protoreflect.Message
func (*MemberListResp) Reset ¶
func (x *MemberListResp) Reset()
func (*MemberListResp) String ¶
func (x *MemberListResp) String() string
type MemberLoginResp ¶
type MemberLoginResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar"` RankId uint64 `protobuf:"varint,4,opt,name=rank_id,json=rankId,proto3" json:"rank_id"` // contains filtered or unexported fields }
func (*MemberLoginResp) Descriptor
deprecated
func (*MemberLoginResp) Descriptor() ([]byte, []int)
Deprecated: Use MemberLoginResp.ProtoReflect.Descriptor instead.
func (*MemberLoginResp) GetAvatar ¶
func (x *MemberLoginResp) GetAvatar() string
func (*MemberLoginResp) GetId ¶
func (x *MemberLoginResp) GetId() string
func (*MemberLoginResp) GetNickname ¶
func (x *MemberLoginResp) GetNickname() string
func (*MemberLoginResp) GetRankId ¶
func (x *MemberLoginResp) GetRankId() uint64
func (*MemberLoginResp) ProtoMessage ¶
func (*MemberLoginResp) ProtoMessage()
func (*MemberLoginResp) ProtoReflect ¶
func (x *MemberLoginResp) ProtoReflect() protoreflect.Message
func (*MemberLoginResp) Reset ¶
func (x *MemberLoginResp) Reset()
func (*MemberLoginResp) String ¶
func (x *MemberLoginResp) String() string
type MemberRankInfo ¶
type MemberRankInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at"` Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description"` Remark *string `protobuf:"bytes,6,opt,name=remark,proto3,oneof" json:"remark"` Code *string `protobuf:"bytes,7,opt,name=code,proto3,oneof" json:"code"` // contains filtered or unexported fields }
func (*MemberRankInfo) Descriptor
deprecated
func (*MemberRankInfo) Descriptor() ([]byte, []int)
Deprecated: Use MemberRankInfo.ProtoReflect.Descriptor instead.
func (*MemberRankInfo) GetCode ¶
func (x *MemberRankInfo) GetCode() string
func (*MemberRankInfo) GetCreatedAt ¶
func (x *MemberRankInfo) GetCreatedAt() int64
func (*MemberRankInfo) GetDescription ¶
func (x *MemberRankInfo) GetDescription() string
func (*MemberRankInfo) GetId ¶
func (x *MemberRankInfo) GetId() uint64
func (*MemberRankInfo) GetName ¶
func (x *MemberRankInfo) GetName() string
func (*MemberRankInfo) GetRemark ¶
func (x *MemberRankInfo) GetRemark() string
func (*MemberRankInfo) GetUpdatedAt ¶
func (x *MemberRankInfo) GetUpdatedAt() int64
func (*MemberRankInfo) ProtoMessage ¶
func (*MemberRankInfo) ProtoMessage()
func (*MemberRankInfo) ProtoReflect ¶
func (x *MemberRankInfo) ProtoReflect() protoreflect.Message
func (*MemberRankInfo) Reset ¶
func (x *MemberRankInfo) Reset()
func (*MemberRankInfo) String ¶
func (x *MemberRankInfo) String() string
type MemberRankListReq ¶
type MemberRankListReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name"` Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description"` Remark *string `protobuf:"bytes,5,opt,name=remark,proto3,oneof" json:"remark"` // contains filtered or unexported fields }
func (*MemberRankListReq) Descriptor
deprecated
func (*MemberRankListReq) Descriptor() ([]byte, []int)
Deprecated: Use MemberRankListReq.ProtoReflect.Descriptor instead.
func (*MemberRankListReq) GetDescription ¶
func (x *MemberRankListReq) GetDescription() string
func (*MemberRankListReq) GetName ¶
func (x *MemberRankListReq) GetName() string
func (*MemberRankListReq) GetPage ¶
func (x *MemberRankListReq) GetPage() uint64
func (*MemberRankListReq) GetPageSize ¶
func (x *MemberRankListReq) GetPageSize() uint64
func (*MemberRankListReq) GetRemark ¶
func (x *MemberRankListReq) GetRemark() string
func (*MemberRankListReq) ProtoMessage ¶
func (*MemberRankListReq) ProtoMessage()
func (*MemberRankListReq) ProtoReflect ¶
func (x *MemberRankListReq) ProtoReflect() protoreflect.Message
func (*MemberRankListReq) Reset ¶
func (x *MemberRankListReq) Reset()
func (*MemberRankListReq) String ¶
func (x *MemberRankListReq) String() string
type MemberRankListResp ¶
type MemberRankListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Data []*MemberRankInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*MemberRankListResp) Descriptor
deprecated
func (*MemberRankListResp) Descriptor() ([]byte, []int)
Deprecated: Use MemberRankListResp.ProtoReflect.Descriptor instead.
func (*MemberRankListResp) GetData ¶
func (x *MemberRankListResp) GetData() []*MemberRankInfo
func (*MemberRankListResp) GetTotal ¶
func (x *MemberRankListResp) GetTotal() uint64
func (*MemberRankListResp) ProtoMessage ¶
func (*MemberRankListResp) ProtoMessage()
func (*MemberRankListResp) ProtoReflect ¶
func (x *MemberRankListResp) ProtoReflect() protoreflect.Message
func (*MemberRankListResp) Reset ¶
func (x *MemberRankListResp) Reset()
func (*MemberRankListResp) String ¶
func (x *MemberRankListResp) String() string
type MemberRegisterReq ¶
type MemberRegisterReq struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password"` // contains filtered or unexported fields }
func (*MemberRegisterReq) Descriptor
deprecated
func (*MemberRegisterReq) Descriptor() ([]byte, []int)
Deprecated: Use MemberRegisterReq.ProtoReflect.Descriptor instead.
func (*MemberRegisterReq) GetEmail ¶
func (x *MemberRegisterReq) GetEmail() string
func (*MemberRegisterReq) GetPassword ¶
func (x *MemberRegisterReq) GetPassword() string
func (*MemberRegisterReq) GetUsername ¶
func (x *MemberRegisterReq) GetUsername() string
func (*MemberRegisterReq) ProtoMessage ¶
func (*MemberRegisterReq) ProtoMessage()
func (*MemberRegisterReq) ProtoReflect ¶
func (x *MemberRegisterReq) ProtoReflect() protoreflect.Message
func (*MemberRegisterReq) Reset ¶
func (x *MemberRegisterReq) Reset()
func (*MemberRegisterReq) String ¶
func (x *MemberRegisterReq) String() string
type MmsClient ¶
type MmsClient interface { // group: base InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // Member management // group: member CreateMember(ctx context.Context, in *MemberInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) // group: member UpdateMember(ctx context.Context, in *MemberInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: member GetMemberList(ctx context.Context, in *MemberListReq, opts ...grpc.CallOption) (*MemberListResp, error) // group: member DeleteMember(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) // group: member GetMemberById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*MemberInfo, error) // group: member GetMemberByUsername(ctx context.Context, in *UsernameReq, opts ...grpc.CallOption) (*MemberInfo, error) // MemberRank management // group: memberrank CreateMemberRank(ctx context.Context, in *MemberRankInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: memberrank UpdateMemberRank(ctx context.Context, in *MemberRankInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: memberrank GetMemberRankList(ctx context.Context, in *MemberRankListReq, opts ...grpc.CallOption) (*MemberRankListResp, error) // group: memberrank GetMemberRankById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*MemberRankInfo, error) // group: memberrank DeleteMemberRank(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // OauthProvider management // group: oauthprovider CreateOauthProvider(ctx context.Context, in *OauthProviderInfo, opts ...grpc.CallOption) (*BaseIDResp, error) // group: oauthprovider UpdateOauthProvider(ctx context.Context, in *OauthProviderInfo, opts ...grpc.CallOption) (*BaseResp, error) // group: oauthprovider GetOauthProviderList(ctx context.Context, in *OauthProviderListReq, opts ...grpc.CallOption) (*OauthProviderListResp, error) // group: oauthprovider GetOauthProviderById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OauthProviderInfo, error) // group: oauthprovider DeleteOauthProvider(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // group: oauthprovider OauthLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*OauthRedirectResp, error) // group: oauthprovider OauthCallback(ctx context.Context, in *CallbackReq, opts ...grpc.CallOption) (*MemberInfo, error) // group: oauthprovider WechatMiniProgramLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*BaseResp, error) // Token management // group: token CreateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) // group: token DeleteToken(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) // group: token GetTokenList(ctx context.Context, in *TokenListReq, opts ...grpc.CallOption) (*TokenListResp, error) // group: token GetTokenById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*TokenInfo, error) // group: token BlockUserAllToken(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*BaseResp, error) // group: token UpdateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseResp, error) }
MmsClient is the client API for Mms 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 NewMmsClient ¶
func NewMmsClient(cc grpc.ClientConnInterface) MmsClient
type MmsServer ¶
type MmsServer interface { // group: base InitDatabase(context.Context, *Empty) (*BaseResp, error) // Member management // group: member CreateMember(context.Context, *MemberInfo) (*BaseUUIDResp, error) // group: member UpdateMember(context.Context, *MemberInfo) (*BaseResp, error) // group: member GetMemberList(context.Context, *MemberListReq) (*MemberListResp, error) // group: member DeleteMember(context.Context, *UUIDsReq) (*BaseResp, error) // group: member GetMemberById(context.Context, *UUIDReq) (*MemberInfo, error) // group: member GetMemberByUsername(context.Context, *UsernameReq) (*MemberInfo, error) // MemberRank management // group: memberrank CreateMemberRank(context.Context, *MemberRankInfo) (*BaseIDResp, error) // group: memberrank UpdateMemberRank(context.Context, *MemberRankInfo) (*BaseResp, error) // group: memberrank GetMemberRankList(context.Context, *MemberRankListReq) (*MemberRankListResp, error) // group: memberrank GetMemberRankById(context.Context, *IDReq) (*MemberRankInfo, error) // group: memberrank DeleteMemberRank(context.Context, *IDsReq) (*BaseResp, error) // OauthProvider management // group: oauthprovider CreateOauthProvider(context.Context, *OauthProviderInfo) (*BaseIDResp, error) // group: oauthprovider UpdateOauthProvider(context.Context, *OauthProviderInfo) (*BaseResp, error) // group: oauthprovider GetOauthProviderList(context.Context, *OauthProviderListReq) (*OauthProviderListResp, error) // group: oauthprovider GetOauthProviderById(context.Context, *IDReq) (*OauthProviderInfo, error) // group: oauthprovider DeleteOauthProvider(context.Context, *IDsReq) (*BaseResp, error) // group: oauthprovider OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error) // group: oauthprovider OauthCallback(context.Context, *CallbackReq) (*MemberInfo, error) // group: oauthprovider WechatMiniProgramLogin(context.Context, *OauthLoginReq) (*BaseResp, error) // Token management // group: token CreateToken(context.Context, *TokenInfo) (*BaseUUIDResp, error) // group: token DeleteToken(context.Context, *UUIDsReq) (*BaseResp, error) // group: token GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error) // group: token GetTokenById(context.Context, *UUIDReq) (*TokenInfo, error) // group: token BlockUserAllToken(context.Context, *UUIDReq) (*BaseResp, error) // group: token UpdateToken(context.Context, *TokenInfo) (*BaseResp, error) // contains filtered or unexported methods }
MmsServer is the server API for Mms service. All implementations must embed UnimplementedMmsServer for forward compatibility
type OauthLoginReq ¶
type OauthLoginReq struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider"` // contains filtered or unexported fields }
func (*OauthLoginReq) Descriptor
deprecated
func (*OauthLoginReq) Descriptor() ([]byte, []int)
Deprecated: Use OauthLoginReq.ProtoReflect.Descriptor instead.
func (*OauthLoginReq) GetProvider ¶
func (x *OauthLoginReq) GetProvider() string
func (*OauthLoginReq) GetState ¶
func (x *OauthLoginReq) GetState() string
func (*OauthLoginReq) ProtoMessage ¶
func (*OauthLoginReq) ProtoMessage()
func (*OauthLoginReq) ProtoReflect ¶
func (x *OauthLoginReq) ProtoReflect() protoreflect.Message
func (*OauthLoginReq) Reset ¶
func (x *OauthLoginReq) Reset()
func (*OauthLoginReq) String ¶
func (x *OauthLoginReq) String() string
type OauthProviderInfo ¶
type OauthProviderInfo struct { Id *uint64 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at"` Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name"` ClientId *string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id"` ClientSecret *string `protobuf:"bytes,6,opt,name=client_secret,json=clientSecret,proto3,oneof" json:"client_secret"` RedirectUrl *string `protobuf:"bytes,7,opt,name=redirect_url,json=redirectUrl,proto3,oneof" json:"redirect_url"` Scopes *string `protobuf:"bytes,8,opt,name=scopes,proto3,oneof" json:"scopes"` AuthUrl *string `protobuf:"bytes,9,opt,name=auth_url,json=authUrl,proto3,oneof" json:"auth_url"` TokenUrl *string `protobuf:"bytes,10,opt,name=token_url,json=tokenUrl,proto3,oneof" json:"token_url"` AuthStyle *uint64 `protobuf:"varint,11,opt,name=auth_style,json=authStyle,proto3,oneof" json:"auth_style"` InfoUrl *string `protobuf:"bytes,12,opt,name=info_url,json=infoUrl,proto3,oneof" json:"info_url"` // contains filtered or unexported fields }
func (*OauthProviderInfo) Descriptor
deprecated
func (*OauthProviderInfo) Descriptor() ([]byte, []int)
Deprecated: Use OauthProviderInfo.ProtoReflect.Descriptor instead.
func (*OauthProviderInfo) GetAuthStyle ¶
func (x *OauthProviderInfo) GetAuthStyle() uint64
func (*OauthProviderInfo) GetAuthUrl ¶
func (x *OauthProviderInfo) GetAuthUrl() string
func (*OauthProviderInfo) GetClientId ¶
func (x *OauthProviderInfo) GetClientId() string
func (*OauthProviderInfo) GetClientSecret ¶
func (x *OauthProviderInfo) GetClientSecret() string
func (*OauthProviderInfo) GetCreatedAt ¶
func (x *OauthProviderInfo) GetCreatedAt() int64
func (*OauthProviderInfo) GetId ¶
func (x *OauthProviderInfo) GetId() uint64
func (*OauthProviderInfo) GetInfoUrl ¶
func (x *OauthProviderInfo) GetInfoUrl() string
func (*OauthProviderInfo) GetName ¶
func (x *OauthProviderInfo) GetName() string
func (*OauthProviderInfo) GetRedirectUrl ¶
func (x *OauthProviderInfo) GetRedirectUrl() string
func (*OauthProviderInfo) GetScopes ¶
func (x *OauthProviderInfo) GetScopes() string
func (*OauthProviderInfo) GetTokenUrl ¶
func (x *OauthProviderInfo) GetTokenUrl() string
func (*OauthProviderInfo) GetUpdatedAt ¶
func (x *OauthProviderInfo) GetUpdatedAt() int64
func (*OauthProviderInfo) ProtoMessage ¶
func (*OauthProviderInfo) ProtoMessage()
func (*OauthProviderInfo) ProtoReflect ¶
func (x *OauthProviderInfo) ProtoReflect() protoreflect.Message
func (*OauthProviderInfo) Reset ¶
func (x *OauthProviderInfo) Reset()
func (*OauthProviderInfo) String ¶
func (x *OauthProviderInfo) String() string
type OauthProviderListReq ¶
type OauthProviderListReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name"` // contains filtered or unexported fields }
func (*OauthProviderListReq) Descriptor
deprecated
func (*OauthProviderListReq) Descriptor() ([]byte, []int)
Deprecated: Use OauthProviderListReq.ProtoReflect.Descriptor instead.
func (*OauthProviderListReq) GetName ¶
func (x *OauthProviderListReq) GetName() string
func (*OauthProviderListReq) GetPage ¶
func (x *OauthProviderListReq) GetPage() uint64
func (*OauthProviderListReq) GetPageSize ¶
func (x *OauthProviderListReq) GetPageSize() uint64
func (*OauthProviderListReq) ProtoMessage ¶
func (*OauthProviderListReq) ProtoMessage()
func (*OauthProviderListReq) ProtoReflect ¶
func (x *OauthProviderListReq) ProtoReflect() protoreflect.Message
func (*OauthProviderListReq) Reset ¶
func (x *OauthProviderListReq) Reset()
func (*OauthProviderListReq) String ¶
func (x *OauthProviderListReq) String() string
type OauthProviderListResp ¶
type OauthProviderListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Data []*OauthProviderInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*OauthProviderListResp) Descriptor
deprecated
func (*OauthProviderListResp) Descriptor() ([]byte, []int)
Deprecated: Use OauthProviderListResp.ProtoReflect.Descriptor instead.
func (*OauthProviderListResp) GetData ¶
func (x *OauthProviderListResp) GetData() []*OauthProviderInfo
func (*OauthProviderListResp) GetTotal ¶
func (x *OauthProviderListResp) GetTotal() uint64
func (*OauthProviderListResp) ProtoMessage ¶
func (*OauthProviderListResp) ProtoMessage()
func (*OauthProviderListResp) ProtoReflect ¶
func (x *OauthProviderListResp) ProtoReflect() protoreflect.Message
func (*OauthProviderListResp) Reset ¶
func (x *OauthProviderListResp) Reset()
func (*OauthProviderListResp) String ¶
func (x *OauthProviderListResp) String() string
type OauthRedirectResp ¶
type OauthRedirectResp struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"` // contains filtered or unexported fields }
func (*OauthRedirectResp) Descriptor
deprecated
func (*OauthRedirectResp) Descriptor() ([]byte, []int)
Deprecated: Use OauthRedirectResp.ProtoReflect.Descriptor instead.
func (*OauthRedirectResp) GetUrl ¶
func (x *OauthRedirectResp) GetUrl() string
func (*OauthRedirectResp) ProtoMessage ¶
func (*OauthRedirectResp) ProtoMessage()
func (*OauthRedirectResp) ProtoReflect ¶
func (x *OauthRedirectResp) ProtoReflect() protoreflect.Message
func (*OauthRedirectResp) Reset ¶
func (x *OauthRedirectResp) Reset()
func (*OauthRedirectResp) String ¶
func (x *OauthRedirectResp) String() string
type PageInfoReq ¶
type PageInfoReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` // contains filtered or unexported fields }
func (*PageInfoReq) Descriptor
deprecated
func (*PageInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use PageInfoReq.ProtoReflect.Descriptor instead.
func (*PageInfoReq) GetPage ¶
func (x *PageInfoReq) GetPage() uint64
func (*PageInfoReq) GetPageSize ¶
func (x *PageInfoReq) GetPageSize() uint64
func (*PageInfoReq) ProtoMessage ¶
func (*PageInfoReq) ProtoMessage()
func (*PageInfoReq) ProtoReflect ¶
func (x *PageInfoReq) ProtoReflect() protoreflect.Message
func (*PageInfoReq) Reset ¶
func (x *PageInfoReq) Reset()
func (*PageInfoReq) String ¶
func (x *PageInfoReq) String() string
type TokenInfo ¶
type TokenInfo struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id"` CreatedAt *int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at"` UpdatedAt *int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at"` Status *uint32 `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status"` Uuid *string `protobuf:"bytes,5,opt,name=uuid,proto3,oneof" json:"uuid"` Token *string `protobuf:"bytes,6,opt,name=token,proto3,oneof" json:"token"` Source *string `protobuf:"bytes,7,opt,name=source,proto3,oneof" json:"source"` ExpiredAt *int64 `protobuf:"varint,8,opt,name=expired_at,json=expiredAt,proto3,oneof" json:"expired_at"` Username *string `protobuf:"bytes,9,opt,name=username,proto3,oneof" json:"username"` // contains filtered or unexported fields }
func (*TokenInfo) Descriptor
deprecated
func (*TokenInfo) GetCreatedAt ¶
func (*TokenInfo) GetExpiredAt ¶
func (*TokenInfo) GetUpdatedAt ¶
func (*TokenInfo) GetUsername ¶
func (*TokenInfo) ProtoMessage ¶
func (*TokenInfo) ProtoMessage()
func (*TokenInfo) ProtoReflect ¶
func (x *TokenInfo) ProtoReflect() protoreflect.Message
type TokenListReq ¶
type TokenListReq struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"` Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username"` Nickname *string `protobuf:"bytes,4,opt,name=nickname,proto3,oneof" json:"nickname"` Email *string `protobuf:"bytes,5,opt,name=email,proto3,oneof" json:"email"` Uuid *string `protobuf:"bytes,6,opt,name=uuid,proto3,oneof" json:"uuid"` // contains filtered or unexported fields }
func (*TokenListReq) Descriptor
deprecated
func (*TokenListReq) Descriptor() ([]byte, []int)
Deprecated: Use TokenListReq.ProtoReflect.Descriptor instead.
func (*TokenListReq) GetEmail ¶
func (x *TokenListReq) GetEmail() string
func (*TokenListReq) GetNickname ¶
func (x *TokenListReq) GetNickname() string
func (*TokenListReq) GetPage ¶
func (x *TokenListReq) GetPage() uint64
func (*TokenListReq) GetPageSize ¶
func (x *TokenListReq) GetPageSize() uint64
func (*TokenListReq) GetUsername ¶
func (x *TokenListReq) GetUsername() string
func (*TokenListReq) GetUuid ¶
func (x *TokenListReq) GetUuid() string
func (*TokenListReq) ProtoMessage ¶
func (*TokenListReq) ProtoMessage()
func (*TokenListReq) ProtoReflect ¶
func (x *TokenListReq) ProtoReflect() protoreflect.Message
func (*TokenListReq) Reset ¶
func (x *TokenListReq) Reset()
func (*TokenListReq) String ¶
func (x *TokenListReq) String() string
type TokenListResp ¶
type TokenListResp struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` Data []*TokenInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"` // contains filtered or unexported fields }
func (*TokenListResp) Descriptor
deprecated
func (*TokenListResp) Descriptor() ([]byte, []int)
Deprecated: Use TokenListResp.ProtoReflect.Descriptor instead.
func (*TokenListResp) GetData ¶
func (x *TokenListResp) GetData() []*TokenInfo
func (*TokenListResp) GetTotal ¶
func (x *TokenListResp) GetTotal() uint64
func (*TokenListResp) ProtoMessage ¶
func (*TokenListResp) ProtoMessage()
func (*TokenListResp) ProtoReflect ¶
func (x *TokenListResp) ProtoReflect() protoreflect.Message
func (*TokenListResp) Reset ¶
func (x *TokenListResp) Reset()
func (*TokenListResp) String ¶
func (x *TokenListResp) String() string
type UUIDReq ¶
type UUIDReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` // contains filtered or unexported fields }
func (*UUIDReq) Descriptor
deprecated
func (*UUIDReq) ProtoMessage ¶
func (*UUIDReq) ProtoMessage()
func (*UUIDReq) ProtoReflect ¶
func (x *UUIDReq) ProtoReflect() protoreflect.Message
type UUIDsReq ¶
type UUIDsReq struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids"` // contains filtered or unexported fields }
func (*UUIDsReq) Descriptor
deprecated
func (*UUIDsReq) ProtoMessage ¶
func (*UUIDsReq) ProtoMessage()
func (*UUIDsReq) ProtoReflect ¶
func (x *UUIDsReq) ProtoReflect() protoreflect.Message
type UnimplementedMmsServer ¶
type UnimplementedMmsServer struct { }
UnimplementedMmsServer must be embedded to have forward compatible implementations.
func (UnimplementedMmsServer) BlockUserAllToken ¶
func (UnimplementedMmsServer) CreateMember ¶
func (UnimplementedMmsServer) CreateMember(context.Context, *MemberInfo) (*BaseUUIDResp, error)
func (UnimplementedMmsServer) CreateMemberRank ¶
func (UnimplementedMmsServer) CreateMemberRank(context.Context, *MemberRankInfo) (*BaseIDResp, error)
func (UnimplementedMmsServer) CreateOauthProvider ¶
func (UnimplementedMmsServer) CreateOauthProvider(context.Context, *OauthProviderInfo) (*BaseIDResp, error)
func (UnimplementedMmsServer) CreateToken ¶
func (UnimplementedMmsServer) CreateToken(context.Context, *TokenInfo) (*BaseUUIDResp, error)
func (UnimplementedMmsServer) DeleteMember ¶
func (UnimplementedMmsServer) DeleteMemberRank ¶
func (UnimplementedMmsServer) DeleteOauthProvider ¶
func (UnimplementedMmsServer) DeleteToken ¶
func (UnimplementedMmsServer) GetMemberById ¶
func (UnimplementedMmsServer) GetMemberById(context.Context, *UUIDReq) (*MemberInfo, error)
func (UnimplementedMmsServer) GetMemberByUsername ¶
func (UnimplementedMmsServer) GetMemberByUsername(context.Context, *UsernameReq) (*MemberInfo, error)
func (UnimplementedMmsServer) GetMemberList ¶
func (UnimplementedMmsServer) GetMemberList(context.Context, *MemberListReq) (*MemberListResp, error)
func (UnimplementedMmsServer) GetMemberRankById ¶
func (UnimplementedMmsServer) GetMemberRankById(context.Context, *IDReq) (*MemberRankInfo, error)
func (UnimplementedMmsServer) GetMemberRankList ¶
func (UnimplementedMmsServer) GetMemberRankList(context.Context, *MemberRankListReq) (*MemberRankListResp, error)
func (UnimplementedMmsServer) GetOauthProviderById ¶
func (UnimplementedMmsServer) GetOauthProviderById(context.Context, *IDReq) (*OauthProviderInfo, error)
func (UnimplementedMmsServer) GetOauthProviderList ¶
func (UnimplementedMmsServer) GetOauthProviderList(context.Context, *OauthProviderListReq) (*OauthProviderListResp, error)
func (UnimplementedMmsServer) GetTokenById ¶
func (UnimplementedMmsServer) GetTokenList ¶
func (UnimplementedMmsServer) GetTokenList(context.Context, *TokenListReq) (*TokenListResp, error)
func (UnimplementedMmsServer) InitDatabase ¶
func (UnimplementedMmsServer) OauthCallback ¶
func (UnimplementedMmsServer) OauthCallback(context.Context, *CallbackReq) (*MemberInfo, error)
func (UnimplementedMmsServer) OauthLogin ¶
func (UnimplementedMmsServer) OauthLogin(context.Context, *OauthLoginReq) (*OauthRedirectResp, error)
func (UnimplementedMmsServer) UpdateMember ¶
func (UnimplementedMmsServer) UpdateMember(context.Context, *MemberInfo) (*BaseResp, error)
func (UnimplementedMmsServer) UpdateMemberRank ¶
func (UnimplementedMmsServer) UpdateMemberRank(context.Context, *MemberRankInfo) (*BaseResp, error)
func (UnimplementedMmsServer) UpdateOauthProvider ¶
func (UnimplementedMmsServer) UpdateOauthProvider(context.Context, *OauthProviderInfo) (*BaseResp, error)
func (UnimplementedMmsServer) UpdateToken ¶
func (UnimplementedMmsServer) WechatMiniProgramLogin ¶
func (UnimplementedMmsServer) WechatMiniProgramLogin(context.Context, *OauthLoginReq) (*BaseResp, error)
type UnsafeMmsServer ¶
type UnsafeMmsServer interface {
// contains filtered or unexported methods
}
UnsafeMmsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MmsServer will result in compilation errors.
type UsernameReq ¶
type UsernameReq struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username"` // contains filtered or unexported fields }
func (*UsernameReq) Descriptor
deprecated
func (*UsernameReq) Descriptor() ([]byte, []int)
Deprecated: Use UsernameReq.ProtoReflect.Descriptor instead.
func (*UsernameReq) GetUsername ¶
func (x *UsernameReq) GetUsername() string
func (*UsernameReq) ProtoMessage ¶
func (*UsernameReq) ProtoMessage()
func (*UsernameReq) ProtoReflect ¶
func (x *UsernameReq) ProtoReflect() protoreflect.Message
func (*UsernameReq) Reset ¶
func (x *UsernameReq) Reset()
func (*UsernameReq) String ¶
func (x *UsernameReq) String() string