Documentation ¶
Index ¶
- type BaseIDResp
- type BaseResp
- type BaseUUIDResp
- type CallbackReq
- type Empty
- type IDReq
- type IDsReq
- type MemberInfo
- type MemberListReq
- type MemberListResp
- type MemberLoginResp
- type MemberRankInfo
- type MemberRankListReq
- type MemberRankListResp
- type MemberRegisterReq
- type Mms
- type OauthLoginReq
- type OauthProviderInfo
- type OauthProviderListReq
- type OauthProviderListResp
- type OauthRedirectResp
- type PageInfoReq
- type TokenInfo
- type TokenListReq
- type TokenListResp
- type UUIDReq
- type UUIDsReq
- type UsernameReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseIDResp ¶
type BaseIDResp = mms.BaseIDResp
type BaseUUIDResp ¶
type BaseUUIDResp = mms.BaseUUIDResp
type CallbackReq ¶
type CallbackReq = mms.CallbackReq
type MemberInfo ¶
type MemberInfo = mms.MemberInfo
type MemberListReq ¶
type MemberListReq = mms.MemberListReq
type MemberListResp ¶
type MemberListResp = mms.MemberListResp
type MemberLoginResp ¶
type MemberLoginResp = mms.MemberLoginResp
type MemberRankInfo ¶
type MemberRankInfo = mms.MemberRankInfo
type MemberRankListReq ¶
type MemberRankListReq = mms.MemberRankListReq
type MemberRankListResp ¶
type MemberRankListResp = mms.MemberRankListResp
type MemberRegisterReq ¶
type MemberRegisterReq = mms.MemberRegisterReq
type Mms ¶
type Mms interface { InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // Member management CreateMember(ctx context.Context, in *MemberInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) UpdateMember(ctx context.Context, in *MemberInfo, opts ...grpc.CallOption) (*BaseResp, error) GetMemberList(ctx context.Context, in *MemberListReq, opts ...grpc.CallOption) (*MemberListResp, error) DeleteMember(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) GetMemberById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*MemberInfo, error) GetMemberByUsername(ctx context.Context, in *UsernameReq, opts ...grpc.CallOption) (*MemberInfo, error) // MemberRank management CreateMemberRank(ctx context.Context, in *MemberRankInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateMemberRank(ctx context.Context, in *MemberRankInfo, opts ...grpc.CallOption) (*BaseResp, error) GetMemberRankList(ctx context.Context, in *MemberRankListReq, opts ...grpc.CallOption) (*MemberRankListResp, error) GetMemberRankById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*MemberRankInfo, error) DeleteMemberRank(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // OauthProvider management CreateOauthProvider(ctx context.Context, in *OauthProviderInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateOauthProvider(ctx context.Context, in *OauthProviderInfo, opts ...grpc.CallOption) (*BaseResp, error) GetOauthProviderList(ctx context.Context, in *OauthProviderListReq, opts ...grpc.CallOption) (*OauthProviderListResp, error) GetOauthProviderById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OauthProviderInfo, error) DeleteOauthProvider(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) OauthLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*OauthRedirectResp, error) OauthCallback(ctx context.Context, in *CallbackReq, opts ...grpc.CallOption) (*MemberInfo, error) WechatMiniProgramLogin(ctx context.Context, in *OauthLoginReq, opts ...grpc.CallOption) (*BaseResp, error) // Token management CreateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error) DeleteToken(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error) GetTokenList(ctx context.Context, in *TokenListReq, opts ...grpc.CallOption) (*TokenListResp, error) GetTokenById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*TokenInfo, error) BlockUserAllToken(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*BaseResp, error) UpdateToken(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BaseResp, error) }
type OauthLoginReq ¶
type OauthLoginReq = mms.OauthLoginReq
type OauthProviderInfo ¶
type OauthProviderInfo = mms.OauthProviderInfo
type OauthProviderListReq ¶
type OauthProviderListReq = mms.OauthProviderListReq
type OauthProviderListResp ¶
type OauthProviderListResp = mms.OauthProviderListResp
type OauthRedirectResp ¶
type OauthRedirectResp = mms.OauthRedirectResp
type PageInfoReq ¶
type PageInfoReq = mms.PageInfoReq
type TokenListReq ¶
type TokenListReq = mms.TokenListReq
type TokenListResp ¶
type TokenListResp = mms.TokenListResp
type UsernameReq ¶
type UsernameReq = mms.UsernameReq
Click to show internal directories.
Click to hide internal directories.