Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAdminAuthAdminApiServer(s grpc.ServiceRegistrar, srv AdminAuthAdminApiServer)
- func RegisterAdminAuthApiServer(s grpc.ServiceRegistrar, srv AdminAuthApiServer)
- type AdminAddUserRequest
- func (*AdminAddUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminAddUserRequest) GetAdminSessionId() string
- func (x *AdminAddUserRequest) GetPermInfo() *AdminPermInfo
- func (x *AdminAddUserRequest) GetPubKey() string
- func (x *AdminAddUserRequest) GetUserDesc() string
- func (x *AdminAddUserRequest) GetUserName() string
- func (*AdminAddUserRequest) ProtoMessage()
- func (x *AdminAddUserRequest) ProtoReflect() protoreflect.Message
- func (x *AdminAddUserRequest) Reset()
- func (x *AdminAddUserRequest) String() string
- type AdminAddUserResponse
- func (*AdminAddUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminAddUserResponse) GetCode() AdminAddUserResponse_CODE
- func (x *AdminAddUserResponse) GetErrMsg() string
- func (*AdminAddUserResponse) ProtoMessage()
- func (x *AdminAddUserResponse) ProtoReflect() protoreflect.Message
- func (x *AdminAddUserResponse) Reset()
- func (x *AdminAddUserResponse) String() string
- type AdminAddUserResponse_CODE
- func (AdminAddUserResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AdminAddUserResponse_CODE) Enum() *AdminAddUserResponse_CODE
- func (AdminAddUserResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdminAddUserResponse_CODE) Number() protoreflect.EnumNumber
- func (x AdminAddUserResponse_CODE) String() string
- func (AdminAddUserResponse_CODE) Type() protoreflect.EnumType
- type AdminAuthAdminApiClient
- type AdminAuthAdminApiServer
- type AdminAuthApiClient
- type AdminAuthApiServer
- type AdminGetUserRequest
- func (*AdminGetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminGetUserRequest) GetAdminSessionId() string
- func (x *AdminGetUserRequest) GetUserName() string
- func (*AdminGetUserRequest) ProtoMessage()
- func (x *AdminGetUserRequest) ProtoReflect() protoreflect.Message
- func (x *AdminGetUserRequest) Reset()
- func (x *AdminGetUserRequest) String() string
- type AdminGetUserResponse
- func (*AdminGetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminGetUserResponse) GetAdminUser() *AdminUserInfo
- func (x *AdminGetUserResponse) GetCode() AdminGetUserResponse_CODE
- func (x *AdminGetUserResponse) GetErrMsg() string
- func (*AdminGetUserResponse) ProtoMessage()
- func (x *AdminGetUserResponse) ProtoReflect() protoreflect.Message
- func (x *AdminGetUserResponse) Reset()
- func (x *AdminGetUserResponse) String() string
- type AdminGetUserResponse_CODE
- func (AdminGetUserResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AdminGetUserResponse_CODE) Enum() *AdminGetUserResponse_CODE
- func (AdminGetUserResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdminGetUserResponse_CODE) Number() protoreflect.EnumNumber
- func (x AdminGetUserResponse_CODE) String() string
- func (AdminGetUserResponse_CODE) Type() protoreflect.EnumType
- type AdminListUserRequest
- func (*AdminListUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminListUserRequest) GetAdminSessionId() string
- func (x *AdminListUserRequest) GetLimit() uint32
- func (x *AdminListUserRequest) GetOffset() uint32
- func (*AdminListUserRequest) ProtoMessage()
- func (x *AdminListUserRequest) ProtoReflect() protoreflect.Message
- func (x *AdminListUserRequest) Reset()
- func (x *AdminListUserRequest) String() string
- type AdminListUserResponse
- func (*AdminListUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminListUserResponse) GetAdminUserList() []*AdminUserInfo
- func (x *AdminListUserResponse) GetCode() AdminListUserResponse_CODE
- func (x *AdminListUserResponse) GetErrMsg() string
- func (x *AdminListUserResponse) GetTotalCount() uint32
- func (*AdminListUserResponse) ProtoMessage()
- func (x *AdminListUserResponse) ProtoReflect() protoreflect.Message
- func (x *AdminListUserResponse) Reset()
- func (x *AdminListUserResponse) String() string
- type AdminListUserResponse_CODE
- func (AdminListUserResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AdminListUserResponse_CODE) Enum() *AdminListUserResponse_CODE
- func (AdminListUserResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdminListUserResponse_CODE) Number() protoreflect.EnumNumber
- func (x AdminListUserResponse_CODE) String() string
- func (AdminListUserResponse_CODE) Type() protoreflect.EnumType
- type AdminPermInfo
- func (*AdminPermInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AdminPermInfo) GetAppStorePerm() *AppStorePerm
- func (x *AdminPermInfo) GetFeedBackPerm() *FeedBackPerm
- func (x *AdminPermInfo) GetIdeaStorePerm() *IdeaStorePerm
- func (x *AdminPermInfo) GetKeywordPerm() *KeywordPerm
- func (x *AdminPermInfo) GetMenuPerm() *MenuPerm
- func (x *AdminPermInfo) GetOrgMemberPerm() *OrgMemberPerm
- func (x *AdminPermInfo) GetOrgPerm() *OrgPerm
- func (x *AdminPermInfo) GetProjectMemberPerm() *ProjectMemberPerm
- func (x *AdminPermInfo) GetProjectPerm() *ProjectPerm
- func (x *AdminPermInfo) GetRoadmapPerm() *RoadmapPerm
- func (x *AdminPermInfo) GetSuperAdminUser() bool
- func (x *AdminPermInfo) GetSwStorePerm() *SwStorePerm
- func (x *AdminPermInfo) GetUserPerm() *UserPerm
- func (x *AdminPermInfo) GetWidgetStorePerm() *WidgetStorePerm
- func (*AdminPermInfo) ProtoMessage()
- func (x *AdminPermInfo) ProtoReflect() protoreflect.Message
- func (x *AdminPermInfo) Reset()
- func (x *AdminPermInfo) String() string
- type AdminRemoveUserRequest
- func (*AdminRemoveUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminRemoveUserRequest) GetAdminSessionId() string
- func (x *AdminRemoveUserRequest) GetUserName() string
- func (*AdminRemoveUserRequest) ProtoMessage()
- func (x *AdminRemoveUserRequest) ProtoReflect() protoreflect.Message
- func (x *AdminRemoveUserRequest) Reset()
- func (x *AdminRemoveUserRequest) String() string
- type AdminRemoveUserResponse
- func (*AdminRemoveUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminRemoveUserResponse) GetCode() AdminRemoveUserResponse_CODE
- func (x *AdminRemoveUserResponse) GetErrMsg() string
- func (*AdminRemoveUserResponse) ProtoMessage()
- func (x *AdminRemoveUserResponse) ProtoReflect() protoreflect.Message
- func (x *AdminRemoveUserResponse) Reset()
- func (x *AdminRemoveUserResponse) String() string
- type AdminRemoveUserResponse_CODE
- func (AdminRemoveUserResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AdminRemoveUserResponse_CODE) Enum() *AdminRemoveUserResponse_CODE
- func (AdminRemoveUserResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdminRemoveUserResponse_CODE) Number() protoreflect.EnumNumber
- func (x AdminRemoveUserResponse_CODE) String() string
- func (AdminRemoveUserResponse_CODE) Type() protoreflect.EnumType
- type AdminUpdateUserDescRequest
- func (*AdminUpdateUserDescRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUpdateUserDescRequest) GetAdminSessionId() string
- func (x *AdminUpdateUserDescRequest) GetUserDesc() string
- func (x *AdminUpdateUserDescRequest) GetUserName() string
- func (*AdminUpdateUserDescRequest) ProtoMessage()
- func (x *AdminUpdateUserDescRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUpdateUserDescRequest) Reset()
- func (x *AdminUpdateUserDescRequest) String() string
- type AdminUpdateUserDescResponse
- func (*AdminUpdateUserDescResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUpdateUserDescResponse) GetCode() AdminUpdateUserDescResponse_CODE
- func (x *AdminUpdateUserDescResponse) GetErrMsg() string
- func (*AdminUpdateUserDescResponse) ProtoMessage()
- func (x *AdminUpdateUserDescResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUpdateUserDescResponse) Reset()
- func (x *AdminUpdateUserDescResponse) String() string
- type AdminUpdateUserDescResponse_CODE
- func (AdminUpdateUserDescResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AdminUpdateUserDescResponse_CODE) Enum() *AdminUpdateUserDescResponse_CODE
- func (AdminUpdateUserDescResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdminUpdateUserDescResponse_CODE) Number() protoreflect.EnumNumber
- func (x AdminUpdateUserDescResponse_CODE) String() string
- func (AdminUpdateUserDescResponse_CODE) Type() protoreflect.EnumType
- type AdminUpdateUserPermRequest
- func (*AdminUpdateUserPermRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUpdateUserPermRequest) GetAdminSessionId() string
- func (x *AdminUpdateUserPermRequest) GetPermInfo() *AdminPermInfo
- func (x *AdminUpdateUserPermRequest) GetUserName() string
- func (*AdminUpdateUserPermRequest) ProtoMessage()
- func (x *AdminUpdateUserPermRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUpdateUserPermRequest) Reset()
- func (x *AdminUpdateUserPermRequest) String() string
- type AdminUpdateUserPermResponse
- func (*AdminUpdateUserPermResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUpdateUserPermResponse) GetCode() AdminUpdateUserPermResponse_CODE
- func (x *AdminUpdateUserPermResponse) GetErrMsg() string
- func (*AdminUpdateUserPermResponse) ProtoMessage()
- func (x *AdminUpdateUserPermResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUpdateUserPermResponse) Reset()
- func (x *AdminUpdateUserPermResponse) String() string
- type AdminUpdateUserPermResponse_CODE
- func (AdminUpdateUserPermResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AdminUpdateUserPermResponse_CODE) Enum() *AdminUpdateUserPermResponse_CODE
- func (AdminUpdateUserPermResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdminUpdateUserPermResponse_CODE) Number() protoreflect.EnumNumber
- func (x AdminUpdateUserPermResponse_CODE) String() string
- func (AdminUpdateUserPermResponse_CODE) Type() protoreflect.EnumType
- type AdminUpdateUserPubKeyRequest
- func (*AdminUpdateUserPubKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUpdateUserPubKeyRequest) GetAdminSessionId() string
- func (x *AdminUpdateUserPubKeyRequest) GetPubKey() string
- func (x *AdminUpdateUserPubKeyRequest) GetUserName() string
- func (*AdminUpdateUserPubKeyRequest) ProtoMessage()
- func (x *AdminUpdateUserPubKeyRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUpdateUserPubKeyRequest) Reset()
- func (x *AdminUpdateUserPubKeyRequest) String() string
- type AdminUpdateUserPubKeyResponse
- func (*AdminUpdateUserPubKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUpdateUserPubKeyResponse) GetCode() AdminUpdateUserPubKeyResponse_CODE
- func (x *AdminUpdateUserPubKeyResponse) GetErrMsg() string
- func (*AdminUpdateUserPubKeyResponse) ProtoMessage()
- func (x *AdminUpdateUserPubKeyResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUpdateUserPubKeyResponse) Reset()
- func (x *AdminUpdateUserPubKeyResponse) String() string
- type AdminUpdateUserPubKeyResponse_CODE
- func (AdminUpdateUserPubKeyResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AdminUpdateUserPubKeyResponse_CODE) Enum() *AdminUpdateUserPubKeyResponse_CODE
- func (AdminUpdateUserPubKeyResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AdminUpdateUserPubKeyResponse_CODE) Number() protoreflect.EnumNumber
- func (x AdminUpdateUserPubKeyResponse_CODE) String() string
- func (AdminUpdateUserPubKeyResponse_CODE) Type() protoreflect.EnumType
- type AdminUserInfo
- func (*AdminUserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserInfo) GetPermInfo() *AdminPermInfo
- func (x *AdminUserInfo) GetPubKey() string
- func (x *AdminUserInfo) GetUserDesc() string
- func (x *AdminUserInfo) GetUserName() string
- func (*AdminUserInfo) ProtoMessage()
- func (x *AdminUserInfo) ProtoReflect() protoreflect.Message
- func (x *AdminUserInfo) Reset()
- func (x *AdminUserInfo) String() string
- type AppStorePerm
- func (*AppStorePerm) Descriptor() ([]byte, []int)deprecated
- func (x *AppStorePerm) GetAddApp() bool
- func (x *AppStorePerm) GetAddCate() bool
- func (x *AppStorePerm) GetRead() bool
- func (x *AppStorePerm) GetRemoveApp() bool
- func (x *AppStorePerm) GetRemoveCate() bool
- func (x *AppStorePerm) GetUpdateApp() bool
- func (x *AppStorePerm) GetUpdateCate() bool
- func (*AppStorePerm) ProtoMessage()
- func (x *AppStorePerm) ProtoReflect() protoreflect.Message
- func (x *AppStorePerm) Reset()
- func (x *AppStorePerm) String() string
- type AuthRequest
- func (*AuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRequest) GetAdminSessionId() string
- func (x *AuthRequest) GetSign() *Signature
- func (*AuthRequest) ProtoMessage()
- func (x *AuthRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRequest) Reset()
- func (x *AuthRequest) String() string
- type AuthResponse
- func (*AuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthResponse) GetAdminPermInfo() *AdminPermInfo
- func (x *AuthResponse) GetCode() AuthResponse_CODE
- func (x *AuthResponse) GetErrMsg() string
- func (x *AuthResponse) GetGlobalServer() bool
- func (*AuthResponse) ProtoMessage()
- func (x *AuthResponse) ProtoReflect() protoreflect.Message
- func (x *AuthResponse) Reset()
- func (x *AuthResponse) String() string
- type AuthResponse_CODE
- func (AuthResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AuthResponse_CODE) Enum() *AuthResponse_CODE
- func (AuthResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthResponse_CODE) Number() protoreflect.EnumNumber
- func (x AuthResponse_CODE) String() string
- func (AuthResponse_CODE) Type() protoreflect.EnumType
- type FeedBackPerm
- func (*FeedBackPerm) Descriptor() ([]byte, []int)deprecated
- func (x *FeedBackPerm) GetRead() bool
- func (x *FeedBackPerm) GetRemove() bool
- func (*FeedBackPerm) ProtoMessage()
- func (x *FeedBackPerm) ProtoReflect() protoreflect.Message
- func (x *FeedBackPerm) Reset()
- func (x *FeedBackPerm) String() string
- type IdeaStorePerm
- func (*IdeaStorePerm) Descriptor() ([]byte, []int)deprecated
- func (x *IdeaStorePerm) GetCreateIdea() bool
- func (x *IdeaStorePerm) GetCreateStore() bool
- func (x *IdeaStorePerm) GetCreateStoreCate() bool
- func (x *IdeaStorePerm) GetMoveIdea() bool
- func (x *IdeaStorePerm) GetMoveStore() bool
- func (x *IdeaStorePerm) GetRead() bool
- func (x *IdeaStorePerm) GetRemoveIdea() bool
- func (x *IdeaStorePerm) GetRemoveStore() bool
- func (x *IdeaStorePerm) GetRemoveStoreCate() bool
- func (x *IdeaStorePerm) GetUpdateIdea() bool
- func (x *IdeaStorePerm) GetUpdateStore() bool
- func (x *IdeaStorePerm) GetUpdateStoreCate() bool
- func (*IdeaStorePerm) ProtoMessage()
- func (x *IdeaStorePerm) ProtoReflect() protoreflect.Message
- func (x *IdeaStorePerm) Reset()
- func (x *IdeaStorePerm) String() string
- type KeepAliveRequest
- type KeepAliveResponse
- func (*KeepAliveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeepAliveResponse) GetCode() KeepAliveResponse_CODE
- func (x *KeepAliveResponse) GetErrMsg() string
- func (*KeepAliveResponse) ProtoMessage()
- func (x *KeepAliveResponse) ProtoReflect() protoreflect.Message
- func (x *KeepAliveResponse) Reset()
- func (x *KeepAliveResponse) String() string
- type KeepAliveResponse_CODE
- func (KeepAliveResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x KeepAliveResponse_CODE) Enum() *KeepAliveResponse_CODE
- func (KeepAliveResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x KeepAliveResponse_CODE) Number() protoreflect.EnumNumber
- func (x KeepAliveResponse_CODE) String() string
- func (KeepAliveResponse_CODE) Type() protoreflect.EnumType
- type KeywordPerm
- func (*KeywordPerm) Descriptor() ([]byte, []int)deprecated
- func (x *KeywordPerm) GetAdd() bool
- func (x *KeywordPerm) GetRead() bool
- func (x *KeywordPerm) GetRemove() bool
- func (*KeywordPerm) ProtoMessage()
- func (x *KeywordPerm) ProtoReflect() protoreflect.Message
- func (x *KeywordPerm) Reset()
- func (x *KeywordPerm) String() string
- type MenuPerm
- func (*MenuPerm) Descriptor() ([]byte, []int)deprecated
- func (x *MenuPerm) GetAdd() bool
- func (x *MenuPerm) GetRead() bool
- func (x *MenuPerm) GetRemove() bool
- func (x *MenuPerm) GetUpdate() bool
- func (*MenuPerm) ProtoMessage()
- func (x *MenuPerm) ProtoReflect() protoreflect.Message
- func (x *MenuPerm) Reset()
- func (x *MenuPerm) String() string
- type OrgMemberPerm
- type OrgPerm
- type PreAuthRequest
- type PreAuthResponse
- func (*PreAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreAuthResponse) GetAdminSessionId() string
- func (x *PreAuthResponse) GetCode() PreAuthResponse_CODE
- func (x *PreAuthResponse) GetErrMsg() string
- func (x *PreAuthResponse) GetToSignStr() string
- func (*PreAuthResponse) ProtoMessage()
- func (x *PreAuthResponse) ProtoReflect() protoreflect.Message
- func (x *PreAuthResponse) Reset()
- func (x *PreAuthResponse) String() string
- type PreAuthResponse_CODE
- func (PreAuthResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x PreAuthResponse_CODE) Enum() *PreAuthResponse_CODE
- func (PreAuthResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x PreAuthResponse_CODE) Number() protoreflect.EnumNumber
- func (x PreAuthResponse_CODE) String() string
- func (PreAuthResponse_CODE) Type() protoreflect.EnumType
- type ProjectMemberPerm
- type ProjectPerm
- func (*ProjectPerm) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPerm) GetAccessEvent() bool
- func (x *ProjectPerm) GetRead() bool
- func (x *ProjectPerm) GetUpdate() bool
- func (*ProjectPerm) ProtoMessage()
- func (x *ProjectPerm) ProtoReflect() protoreflect.Message
- func (x *ProjectPerm) Reset()
- func (x *ProjectPerm) String() string
- type RoadmapPerm
- func (*RoadmapPerm) Descriptor() ([]byte, []int)deprecated
- func (x *RoadmapPerm) GetAddTag() bool
- func (x *RoadmapPerm) GetAddWhiteUser() bool
- func (x *RoadmapPerm) GetChangeOwner() bool
- func (x *RoadmapPerm) GetCreate() bool
- func (x *RoadmapPerm) GetModifyTag() bool
- func (x *RoadmapPerm) GetRead() bool
- func (x *RoadmapPerm) GetRemove() bool
- func (x *RoadmapPerm) GetRemoveTag() bool
- func (x *RoadmapPerm) GetRemoveWhiteUser() bool
- func (x *RoadmapPerm) GetUpdateContent() bool
- func (x *RoadmapPerm) GetUpdatePubState() bool
- func (x *RoadmapPerm) GetUpdateTag() bool
- func (x *RoadmapPerm) GetUpdateWhiteUser() bool
- func (*RoadmapPerm) ProtoMessage()
- func (x *RoadmapPerm) ProtoReflect() protoreflect.Message
- func (x *RoadmapPerm) Reset()
- func (x *RoadmapPerm) String() string
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetBlob() []byte
- func (x *Signature) GetFormat() string
- func (x *Signature) GetRest() []byte
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type SwStorePerm
- func (*SwStorePerm) Descriptor() ([]byte, []int)deprecated
- func (x *SwStorePerm) GetAddCate() bool
- func (x *SwStorePerm) GetAddSoftWare() bool
- func (x *SwStorePerm) GetRead() bool
- func (x *SwStorePerm) GetRemoveCate() bool
- func (x *SwStorePerm) GetRemoveSoftWare() bool
- func (x *SwStorePerm) GetUpdateCate() bool
- func (x *SwStorePerm) GetUpdateSoftWare() bool
- func (*SwStorePerm) ProtoMessage()
- func (x *SwStorePerm) ProtoReflect() protoreflect.Message
- func (x *SwStorePerm) Reset()
- func (x *SwStorePerm) String() string
- type UnimplementedAdminAuthAdminApiServer
- func (UnimplementedAdminAuthAdminApiServer) AddUser(context.Context, *AdminAddUserRequest) (*AdminAddUserResponse, error)
- func (UnimplementedAdminAuthAdminApiServer) GetUser(context.Context, *AdminGetUserRequest) (*AdminGetUserResponse, error)
- func (UnimplementedAdminAuthAdminApiServer) ListUser(context.Context, *AdminListUserRequest) (*AdminListUserResponse, error)
- func (UnimplementedAdminAuthAdminApiServer) RemoveUser(context.Context, *AdminRemoveUserRequest) (*AdminRemoveUserResponse, error)
- func (UnimplementedAdminAuthAdminApiServer) UpdateUserDesc(context.Context, *AdminUpdateUserDescRequest) (*AdminUpdateUserDescResponse, error)
- func (UnimplementedAdminAuthAdminApiServer) UpdateUserPerm(context.Context, *AdminUpdateUserPermRequest) (*AdminUpdateUserPermResponse, error)
- func (UnimplementedAdminAuthAdminApiServer) UpdateUserPubKey(context.Context, *AdminUpdateUserPubKeyRequest) (*AdminUpdateUserPubKeyResponse, error)
- type UnimplementedAdminAuthApiServer
- func (UnimplementedAdminAuthApiServer) Auth(context.Context, *AuthRequest) (*AuthResponse, error)
- func (UnimplementedAdminAuthApiServer) KeepAlive(context.Context, *KeepAliveRequest) (*KeepAliveResponse, error)
- func (UnimplementedAdminAuthApiServer) PreAuth(context.Context, *PreAuthRequest) (*PreAuthResponse, error)
- type UnsafeAdminAuthAdminApiServer
- type UnsafeAdminAuthApiServer
- type UserPerm
- func (*UserPerm) Descriptor() ([]byte, []int)deprecated
- func (x *UserPerm) GetCreate() bool
- func (x *UserPerm) GetRead() bool
- func (x *UserPerm) GetResetPassword() bool
- func (x *UserPerm) GetSetState() bool
- func (x *UserPerm) GetSetTestAccount() bool
- func (*UserPerm) ProtoMessage()
- func (x *UserPerm) ProtoReflect() protoreflect.Message
- func (x *UserPerm) Reset()
- func (x *UserPerm) String() string
- type WidgetStorePerm
- func (*WidgetStorePerm) Descriptor() ([]byte, []int)deprecated
- func (x *WidgetStorePerm) GetAddWidget() bool
- func (x *WidgetStorePerm) GetRead() bool
- func (x *WidgetStorePerm) GetRemoveWidget() bool
- func (x *WidgetStorePerm) GetUpdateWidget() bool
- func (*WidgetStorePerm) ProtoMessage()
- func (x *WidgetStorePerm) ProtoReflect() protoreflect.Message
- func (x *WidgetStorePerm) Reset()
- func (x *WidgetStorePerm) String() string
Constants ¶
const ( AdminAuthApi_PreAuth_FullMethodName = "/admin_auth_api.AdminAuthApi/preAuth" AdminAuthApi_Auth_FullMethodName = "/admin_auth_api.AdminAuthApi/auth" AdminAuthApi_KeepAlive_FullMethodName = "/admin_auth_api.AdminAuthApi/keepAlive" )
const ( AdminAuthAdminApi_AddUser_FullMethodName = "/admin_auth_api.AdminAuthAdminApi/addUser" AdminAuthAdminApi_UpdateUserPubKey_FullMethodName = "/admin_auth_api.AdminAuthAdminApi/updateUserPubKey" AdminAuthAdminApi_UpdateUserPerm_FullMethodName = "/admin_auth_api.AdminAuthAdminApi/updateUserPerm" AdminAuthAdminApi_UpdateUserDesc_FullMethodName = "/admin_auth_api.AdminAuthAdminApi/updateUserDesc" AdminAuthAdminApi_ListUser_FullMethodName = "/admin_auth_api.AdminAuthAdminApi/listUser" AdminAuthAdminApi_GetUser_FullMethodName = "/admin_auth_api.AdminAuthAdminApi/getUser" AdminAuthAdminApi_RemoveUser_FullMethodName = "/admin_auth_api.AdminAuthAdminApi/removeUser" )
Variables ¶
var ( PreAuthResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_NO_USER", } PreAuthResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_NO_USER": 1, } )
Enum value maps for PreAuthResponse_CODE.
var ( AuthResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_WRONG_SIGN", } AuthResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_WRONG_SIGN": 2, } )
Enum value maps for AuthResponse_CODE.
var ( KeepAliveResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NOT_AUTH", } KeepAliveResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NOT_AUTH": 2, } )
Enum value maps for KeepAliveResponse_CODE.
var ( AdminAddUserResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NOT_AUTH", 3: "CODE_NO_PERMISSION", 4: "CODE_USER_EXIST", } AdminAddUserResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NOT_AUTH": 2, "CODE_NO_PERMISSION": 3, "CODE_USER_EXIST": 4, } )
Enum value maps for AdminAddUserResponse_CODE.
var ( AdminUpdateUserPubKeyResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NOT_AUTH", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_USER", } AdminUpdateUserPubKeyResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NOT_AUTH": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_USER": 4, } )
Enum value maps for AdminUpdateUserPubKeyResponse_CODE.
var ( AdminUpdateUserPermResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NOT_AUTH", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_USER", } AdminUpdateUserPermResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NOT_AUTH": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_USER": 4, } )
Enum value maps for AdminUpdateUserPermResponse_CODE.
var ( AdminUpdateUserDescResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NOT_AUTH", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_USER", } AdminUpdateUserDescResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NOT_AUTH": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_USER": 4, } )
Enum value maps for AdminUpdateUserDescResponse_CODE.
var ( AdminListUserResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NOT_AUTH", 3: "CODE_NO_PERMISSION", } AdminListUserResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NOT_AUTH": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for AdminListUserResponse_CODE.
var ( AdminGetUserResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NOT_AUTH", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_USER", } AdminGetUserResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NOT_AUTH": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_USER": 4, } )
Enum value maps for AdminGetUserResponse_CODE.
var ( AdminRemoveUserResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NOT_AUTH", 3: "CODE_NO_PERMISSION", } AdminRemoveUserResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NOT_AUTH": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for AdminRemoveUserResponse_CODE.
var AdminAuthAdminApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "admin_auth_api.AdminAuthAdminApi", HandlerType: (*AdminAuthAdminApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "addUser", Handler: _AdminAuthAdminApi_AddUser_Handler, }, { MethodName: "updateUserPubKey", Handler: _AdminAuthAdminApi_UpdateUserPubKey_Handler, }, { MethodName: "updateUserPerm", Handler: _AdminAuthAdminApi_UpdateUserPerm_Handler, }, { MethodName: "updateUserDesc", Handler: _AdminAuthAdminApi_UpdateUserDesc_Handler, }, { MethodName: "listUser", Handler: _AdminAuthAdminApi_ListUser_Handler, }, { MethodName: "getUser", Handler: _AdminAuthAdminApi_GetUser_Handler, }, { MethodName: "removeUser", Handler: _AdminAuthAdminApi_RemoveUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "admin_auth_api.proto", }
AdminAuthAdminApi_ServiceDesc is the grpc.ServiceDesc for AdminAuthAdminApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AdminAuthApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "admin_auth_api.AdminAuthApi", HandlerType: (*AdminAuthApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "preAuth", Handler: _AdminAuthApi_PreAuth_Handler, }, { MethodName: "auth", Handler: _AdminAuthApi_Auth_Handler, }, { MethodName: "keepAlive", Handler: _AdminAuthApi_KeepAlive_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "admin_auth_api.proto", }
AdminAuthApi_ServiceDesc is the grpc.ServiceDesc for AdminAuthApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_admin_auth_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdminAuthAdminApiServer ¶
func RegisterAdminAuthAdminApiServer(s grpc.ServiceRegistrar, srv AdminAuthAdminApiServer)
func RegisterAdminAuthApiServer ¶
func RegisterAdminAuthApiServer(s grpc.ServiceRegistrar, srv AdminAuthApiServer)
Types ¶
type AdminAddUserRequest ¶
type AdminAddUserRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
UserDesc string `protobuf:"bytes,3,opt,name=userDesc,proto3" json:"userDesc,omitempty"`
PubKey string `protobuf:"bytes,4,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
PermInfo *AdminPermInfo `protobuf:"bytes,5,opt,name=permInfo,proto3" json:"permInfo,omitempty"`
// contains filtered or unexported fields
}
func (*AdminAddUserRequest) Descriptor
deprecated
func (*AdminAddUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminAddUserRequest.ProtoReflect.Descriptor instead.
func (*AdminAddUserRequest) GetAdminSessionId ¶
func (x *AdminAddUserRequest) GetAdminSessionId() string
func (*AdminAddUserRequest) GetPermInfo ¶
func (x *AdminAddUserRequest) GetPermInfo() *AdminPermInfo
func (*AdminAddUserRequest) GetPubKey ¶
func (x *AdminAddUserRequest) GetPubKey() string
func (*AdminAddUserRequest) GetUserDesc ¶
func (x *AdminAddUserRequest) GetUserDesc() string
func (*AdminAddUserRequest) GetUserName ¶
func (x *AdminAddUserRequest) GetUserName() string
func (*AdminAddUserRequest) ProtoMessage ¶
func (*AdminAddUserRequest) ProtoMessage()
func (*AdminAddUserRequest) ProtoReflect ¶
func (x *AdminAddUserRequest) ProtoReflect() protoreflect.Message
func (*AdminAddUserRequest) Reset ¶
func (x *AdminAddUserRequest) Reset()
func (*AdminAddUserRequest) String ¶
func (x *AdminAddUserRequest) String() string
type AdminAddUserResponse ¶
type AdminAddUserResponse struct {
Code AdminAddUserResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.AdminAddUserResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
// contains filtered or unexported fields
}
func (*AdminAddUserResponse) Descriptor
deprecated
func (*AdminAddUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminAddUserResponse.ProtoReflect.Descriptor instead.
func (*AdminAddUserResponse) GetCode ¶
func (x *AdminAddUserResponse) GetCode() AdminAddUserResponse_CODE
func (*AdminAddUserResponse) GetErrMsg ¶
func (x *AdminAddUserResponse) GetErrMsg() string
func (*AdminAddUserResponse) ProtoMessage ¶
func (*AdminAddUserResponse) ProtoMessage()
func (*AdminAddUserResponse) ProtoReflect ¶
func (x *AdminAddUserResponse) ProtoReflect() protoreflect.Message
func (*AdminAddUserResponse) Reset ¶
func (x *AdminAddUserResponse) Reset()
func (*AdminAddUserResponse) String ¶
func (x *AdminAddUserResponse) String() string
type AdminAddUserResponse_CODE ¶
type AdminAddUserResponse_CODE int32
const ( AdminAddUserResponse_CODE_OK AdminAddUserResponse_CODE = 0 AdminAddUserResponse_CODE_WRONG_SESSION AdminAddUserResponse_CODE = 1 AdminAddUserResponse_CODE_NOT_AUTH AdminAddUserResponse_CODE = 2 AdminAddUserResponse_CODE_NO_PERMISSION AdminAddUserResponse_CODE = 3 AdminAddUserResponse_CODE_USER_EXIST AdminAddUserResponse_CODE = 4 )
func (AdminAddUserResponse_CODE) Descriptor ¶
func (AdminAddUserResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AdminAddUserResponse_CODE) Enum ¶
func (x AdminAddUserResponse_CODE) Enum() *AdminAddUserResponse_CODE
func (AdminAddUserResponse_CODE) EnumDescriptor
deprecated
func (AdminAddUserResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdminAddUserResponse_CODE.Descriptor instead.
func (AdminAddUserResponse_CODE) Number ¶
func (x AdminAddUserResponse_CODE) Number() protoreflect.EnumNumber
func (AdminAddUserResponse_CODE) String ¶
func (x AdminAddUserResponse_CODE) String() string
func (AdminAddUserResponse_CODE) Type ¶
func (AdminAddUserResponse_CODE) Type() protoreflect.EnumType
type AdminAuthAdminApiClient ¶
type AdminAuthAdminApiClient interface {
// 创建用户
AddUser(ctx context.Context, in *AdminAddUserRequest, opts ...grpc.CallOption) (*AdminAddUserResponse, error)
// 更新用户公钥
UpdateUserPubKey(ctx context.Context, in *AdminUpdateUserPubKeyRequest, opts ...grpc.CallOption) (*AdminUpdateUserPubKeyResponse, error)
// 更新用户权限
UpdateUserPerm(ctx context.Context, in *AdminUpdateUserPermRequest, opts ...grpc.CallOption) (*AdminUpdateUserPermResponse, error)
// 更新用户备注
UpdateUserDesc(ctx context.Context, in *AdminUpdateUserDescRequest, opts ...grpc.CallOption) (*AdminUpdateUserDescResponse, error)
// 列出用户
ListUser(ctx context.Context, in *AdminListUserRequest, opts ...grpc.CallOption) (*AdminListUserResponse, error)
// 获取单个用户
GetUser(ctx context.Context, in *AdminGetUserRequest, opts ...grpc.CallOption) (*AdminGetUserResponse, error)
// 删除用户
RemoveUser(ctx context.Context, in *AdminRemoveUserRequest, opts ...grpc.CallOption) (*AdminRemoveUserResponse, error)
}
AdminAuthAdminApiClient is the client API for AdminAuthAdminApi 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 NewAdminAuthAdminApiClient ¶
func NewAdminAuthAdminApiClient(cc grpc.ClientConnInterface) AdminAuthAdminApiClient
type AdminAuthAdminApiServer ¶
type AdminAuthAdminApiServer interface {
// 创建用户
AddUser(context.Context, *AdminAddUserRequest) (*AdminAddUserResponse, error)
// 更新用户公钥
UpdateUserPubKey(context.Context, *AdminUpdateUserPubKeyRequest) (*AdminUpdateUserPubKeyResponse, error)
// 更新用户权限
UpdateUserPerm(context.Context, *AdminUpdateUserPermRequest) (*AdminUpdateUserPermResponse, error)
// 更新用户备注
UpdateUserDesc(context.Context, *AdminUpdateUserDescRequest) (*AdminUpdateUserDescResponse, error)
// 列出用户
ListUser(context.Context, *AdminListUserRequest) (*AdminListUserResponse, error)
// 获取单个用户
GetUser(context.Context, *AdminGetUserRequest) (*AdminGetUserResponse, error)
// 删除用户
RemoveUser(context.Context, *AdminRemoveUserRequest) (*AdminRemoveUserResponse, error)
// contains filtered or unexported methods
}
AdminAuthAdminApiServer is the server API for AdminAuthAdminApi service. All implementations must embed UnimplementedAdminAuthAdminApiServer for forward compatibility
type AdminAuthApiClient ¶
type AdminAuthApiClient interface {
// 预验证
PreAuth(ctx context.Context, in *PreAuthRequest, opts ...grpc.CallOption) (*PreAuthResponse, error)
// 验证
Auth(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error)
// 保活
KeepAlive(ctx context.Context, in *KeepAliveRequest, opts ...grpc.CallOption) (*KeepAliveResponse, error)
}
AdminAuthApiClient is the client API for AdminAuthApi 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 NewAdminAuthApiClient ¶
func NewAdminAuthApiClient(cc grpc.ClientConnInterface) AdminAuthApiClient
type AdminAuthApiServer ¶
type AdminAuthApiServer interface {
// 预验证
PreAuth(context.Context, *PreAuthRequest) (*PreAuthResponse, error)
// 验证
Auth(context.Context, *AuthRequest) (*AuthResponse, error)
// 保活
KeepAlive(context.Context, *KeepAliveRequest) (*KeepAliveResponse, error)
// contains filtered or unexported methods
}
AdminAuthApiServer is the server API for AdminAuthApi service. All implementations must embed UnimplementedAdminAuthApiServer for forward compatibility
type AdminGetUserRequest ¶
type AdminGetUserRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
// contains filtered or unexported fields
}
func (*AdminGetUserRequest) Descriptor
deprecated
func (*AdminGetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminGetUserRequest.ProtoReflect.Descriptor instead.
func (*AdminGetUserRequest) GetAdminSessionId ¶
func (x *AdminGetUserRequest) GetAdminSessionId() string
func (*AdminGetUserRequest) GetUserName ¶
func (x *AdminGetUserRequest) GetUserName() string
func (*AdminGetUserRequest) ProtoMessage ¶
func (*AdminGetUserRequest) ProtoMessage()
func (*AdminGetUserRequest) ProtoReflect ¶
func (x *AdminGetUserRequest) ProtoReflect() protoreflect.Message
func (*AdminGetUserRequest) Reset ¶
func (x *AdminGetUserRequest) Reset()
func (*AdminGetUserRequest) String ¶
func (x *AdminGetUserRequest) String() string
type AdminGetUserResponse ¶
type AdminGetUserResponse struct {
Code AdminGetUserResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.AdminGetUserResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
AdminUser *AdminUserInfo `protobuf:"bytes,3,opt,name=adminUser,proto3" json:"adminUser,omitempty"`
// contains filtered or unexported fields
}
func (*AdminGetUserResponse) Descriptor
deprecated
func (*AdminGetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminGetUserResponse.ProtoReflect.Descriptor instead.
func (*AdminGetUserResponse) GetAdminUser ¶
func (x *AdminGetUserResponse) GetAdminUser() *AdminUserInfo
func (*AdminGetUserResponse) GetCode ¶
func (x *AdminGetUserResponse) GetCode() AdminGetUserResponse_CODE
func (*AdminGetUserResponse) GetErrMsg ¶
func (x *AdminGetUserResponse) GetErrMsg() string
func (*AdminGetUserResponse) ProtoMessage ¶
func (*AdminGetUserResponse) ProtoMessage()
func (*AdminGetUserResponse) ProtoReflect ¶
func (x *AdminGetUserResponse) ProtoReflect() protoreflect.Message
func (*AdminGetUserResponse) Reset ¶
func (x *AdminGetUserResponse) Reset()
func (*AdminGetUserResponse) String ¶
func (x *AdminGetUserResponse) String() string
type AdminGetUserResponse_CODE ¶
type AdminGetUserResponse_CODE int32
const ( AdminGetUserResponse_CODE_OK AdminGetUserResponse_CODE = 0 AdminGetUserResponse_CODE_WRONG_SESSION AdminGetUserResponse_CODE = 1 AdminGetUserResponse_CODE_NOT_AUTH AdminGetUserResponse_CODE = 2 AdminGetUserResponse_CODE_NO_PERMISSION AdminGetUserResponse_CODE = 3 AdminGetUserResponse_CODE_NO_USER AdminGetUserResponse_CODE = 4 )
func (AdminGetUserResponse_CODE) Descriptor ¶
func (AdminGetUserResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AdminGetUserResponse_CODE) Enum ¶
func (x AdminGetUserResponse_CODE) Enum() *AdminGetUserResponse_CODE
func (AdminGetUserResponse_CODE) EnumDescriptor
deprecated
func (AdminGetUserResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdminGetUserResponse_CODE.Descriptor instead.
func (AdminGetUserResponse_CODE) Number ¶
func (x AdminGetUserResponse_CODE) Number() protoreflect.EnumNumber
func (AdminGetUserResponse_CODE) String ¶
func (x AdminGetUserResponse_CODE) String() string
func (AdminGetUserResponse_CODE) Type ¶
func (AdminGetUserResponse_CODE) Type() protoreflect.EnumType
type AdminListUserRequest ¶
type AdminListUserRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*AdminListUserRequest) Descriptor
deprecated
func (*AdminListUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminListUserRequest.ProtoReflect.Descriptor instead.
func (*AdminListUserRequest) GetAdminSessionId ¶
func (x *AdminListUserRequest) GetAdminSessionId() string
func (*AdminListUserRequest) GetLimit ¶
func (x *AdminListUserRequest) GetLimit() uint32
func (*AdminListUserRequest) GetOffset ¶
func (x *AdminListUserRequest) GetOffset() uint32
func (*AdminListUserRequest) ProtoMessage ¶
func (*AdminListUserRequest) ProtoMessage()
func (*AdminListUserRequest) ProtoReflect ¶
func (x *AdminListUserRequest) ProtoReflect() protoreflect.Message
func (*AdminListUserRequest) Reset ¶
func (x *AdminListUserRequest) Reset()
func (*AdminListUserRequest) String ¶
func (x *AdminListUserRequest) String() string
type AdminListUserResponse ¶
type AdminListUserResponse struct {
Code AdminListUserResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.AdminListUserResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
TotalCount uint32 `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
AdminUserList []*AdminUserInfo `protobuf:"bytes,4,rep,name=adminUserList,proto3" json:"adminUserList,omitempty"`
// contains filtered or unexported fields
}
func (*AdminListUserResponse) Descriptor
deprecated
func (*AdminListUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminListUserResponse.ProtoReflect.Descriptor instead.
func (*AdminListUserResponse) GetAdminUserList ¶
func (x *AdminListUserResponse) GetAdminUserList() []*AdminUserInfo
func (*AdminListUserResponse) GetCode ¶
func (x *AdminListUserResponse) GetCode() AdminListUserResponse_CODE
func (*AdminListUserResponse) GetErrMsg ¶
func (x *AdminListUserResponse) GetErrMsg() string
func (*AdminListUserResponse) GetTotalCount ¶
func (x *AdminListUserResponse) GetTotalCount() uint32
func (*AdminListUserResponse) ProtoMessage ¶
func (*AdminListUserResponse) ProtoMessage()
func (*AdminListUserResponse) ProtoReflect ¶
func (x *AdminListUserResponse) ProtoReflect() protoreflect.Message
func (*AdminListUserResponse) Reset ¶
func (x *AdminListUserResponse) Reset()
func (*AdminListUserResponse) String ¶
func (x *AdminListUserResponse) String() string
type AdminListUserResponse_CODE ¶
type AdminListUserResponse_CODE int32
const ( AdminListUserResponse_CODE_OK AdminListUserResponse_CODE = 0 AdminListUserResponse_CODE_WRONG_SESSION AdminListUserResponse_CODE = 1 AdminListUserResponse_CODE_NOT_AUTH AdminListUserResponse_CODE = 2 AdminListUserResponse_CODE_NO_PERMISSION AdminListUserResponse_CODE = 3 )
func (AdminListUserResponse_CODE) Descriptor ¶
func (AdminListUserResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AdminListUserResponse_CODE) Enum ¶
func (x AdminListUserResponse_CODE) Enum() *AdminListUserResponse_CODE
func (AdminListUserResponse_CODE) EnumDescriptor
deprecated
func (AdminListUserResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdminListUserResponse_CODE.Descriptor instead.
func (AdminListUserResponse_CODE) Number ¶
func (x AdminListUserResponse_CODE) Number() protoreflect.EnumNumber
func (AdminListUserResponse_CODE) String ¶
func (x AdminListUserResponse_CODE) String() string
func (AdminListUserResponse_CODE) Type ¶
func (AdminListUserResponse_CODE) Type() protoreflect.EnumType
type AdminPermInfo ¶
type AdminPermInfo struct {
// OrgPerm orgPerm = 1;
UserPerm *UserPerm `protobuf:"bytes,2,opt,name=userPerm,proto3" json:"userPerm,omitempty"`
ProjectPerm *ProjectPerm `protobuf:"bytes,3,opt,name=projectPerm,proto3" json:"projectPerm,omitempty"`
ProjectMemberPerm *ProjectMemberPerm `protobuf:"bytes,4,opt,name=projectMemberPerm,proto3" json:"projectMemberPerm,omitempty"`
MenuPerm *MenuPerm `protobuf:"bytes,5,opt,name=menuPerm,proto3" json:"menuPerm,omitempty"`
// AdPerm adPerm = 6;
AppStorePerm *AppStorePerm `protobuf:"bytes,7,opt,name=appStorePerm,proto3" json:"appStorePerm,omitempty"`
// BookStorePerm bookStorePerm = 8; //废弃
// DockerTemplatePerm dockerTemplatePerm = 9; //废弃
// RssPerm rssPerm = 10;//废弃
// PubSearchPerm pubSearchPerm = 11;//废弃
// GroupPerm groupPerm = 12; //废弃
// DevContainerPerm devContainerPerm = 13;//废弃
IdeaStorePerm *IdeaStorePerm `protobuf:"bytes,14,opt,name=ideaStorePerm,proto3" json:"ideaStorePerm,omitempty"`
WidgetStorePerm *WidgetStorePerm `protobuf:"bytes,15,opt,name=widgetStorePerm,proto3" json:"widgetStorePerm,omitempty"`
SwStorePerm *SwStorePerm `protobuf:"bytes,16,opt,name=swStorePerm,proto3" json:"swStorePerm,omitempty"`
// SkillCenterPerm skillCenterPerm = 17; //废弃
OrgPerm *OrgPerm `protobuf:"bytes,18,opt,name=orgPerm,proto3" json:"orgPerm,omitempty"`
OrgMemberPerm *OrgMemberPerm `protobuf:"bytes,19,opt,name=orgMemberPerm,proto3" json:"orgMemberPerm,omitempty"`
KeywordPerm *KeywordPerm `protobuf:"bytes,20,opt,name=keywordPerm,proto3" json:"keywordPerm,omitempty"`
// GitVpPerm gitVpPerm = 21; //废弃
FeedBackPerm *FeedBackPerm `protobuf:"bytes,22,opt,name=feedBackPerm,proto3" json:"feedBackPerm,omitempty"`
RoadmapPerm *RoadmapPerm `protobuf:"bytes,23,opt,name=roadmapPerm,proto3" json:"roadmapPerm,omitempty"` // TrigerActionTplPerm trigerActionTplPerm = 24; //废弃
// bool globalServer = 99; //废弃
SuperAdminUser bool `protobuf:"varint,100,opt,name=superAdminUser,proto3" json:"superAdminUser,omitempty"`
// contains filtered or unexported fields
}
func (*AdminPermInfo) Descriptor
deprecated
func (*AdminPermInfo) Descriptor() ([]byte, []int)
Deprecated: Use AdminPermInfo.ProtoReflect.Descriptor instead.
func (*AdminPermInfo) GetAppStorePerm ¶
func (x *AdminPermInfo) GetAppStorePerm() *AppStorePerm
func (*AdminPermInfo) GetFeedBackPerm ¶
func (x *AdminPermInfo) GetFeedBackPerm() *FeedBackPerm
func (*AdminPermInfo) GetIdeaStorePerm ¶
func (x *AdminPermInfo) GetIdeaStorePerm() *IdeaStorePerm
func (*AdminPermInfo) GetKeywordPerm ¶
func (x *AdminPermInfo) GetKeywordPerm() *KeywordPerm
func (*AdminPermInfo) GetMenuPerm ¶
func (x *AdminPermInfo) GetMenuPerm() *MenuPerm
func (*AdminPermInfo) GetOrgMemberPerm ¶
func (x *AdminPermInfo) GetOrgMemberPerm() *OrgMemberPerm
func (*AdminPermInfo) GetOrgPerm ¶
func (x *AdminPermInfo) GetOrgPerm() *OrgPerm
func (*AdminPermInfo) GetProjectMemberPerm ¶
func (x *AdminPermInfo) GetProjectMemberPerm() *ProjectMemberPerm
func (*AdminPermInfo) GetProjectPerm ¶
func (x *AdminPermInfo) GetProjectPerm() *ProjectPerm
func (*AdminPermInfo) GetRoadmapPerm ¶
func (x *AdminPermInfo) GetRoadmapPerm() *RoadmapPerm
func (*AdminPermInfo) GetSuperAdminUser ¶
func (x *AdminPermInfo) GetSuperAdminUser() bool
func (*AdminPermInfo) GetSwStorePerm ¶
func (x *AdminPermInfo) GetSwStorePerm() *SwStorePerm
func (*AdminPermInfo) GetUserPerm ¶
func (x *AdminPermInfo) GetUserPerm() *UserPerm
func (*AdminPermInfo) GetWidgetStorePerm ¶
func (x *AdminPermInfo) GetWidgetStorePerm() *WidgetStorePerm
func (*AdminPermInfo) ProtoMessage ¶
func (*AdminPermInfo) ProtoMessage()
func (*AdminPermInfo) ProtoReflect ¶
func (x *AdminPermInfo) ProtoReflect() protoreflect.Message
func (*AdminPermInfo) Reset ¶
func (x *AdminPermInfo) Reset()
func (*AdminPermInfo) String ¶
func (x *AdminPermInfo) String() string
type AdminRemoveUserRequest ¶
type AdminRemoveUserRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
// contains filtered or unexported fields
}
func (*AdminRemoveUserRequest) Descriptor
deprecated
func (*AdminRemoveUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminRemoveUserRequest.ProtoReflect.Descriptor instead.
func (*AdminRemoveUserRequest) GetAdminSessionId ¶
func (x *AdminRemoveUserRequest) GetAdminSessionId() string
func (*AdminRemoveUserRequest) GetUserName ¶
func (x *AdminRemoveUserRequest) GetUserName() string
func (*AdminRemoveUserRequest) ProtoMessage ¶
func (*AdminRemoveUserRequest) ProtoMessage()
func (*AdminRemoveUserRequest) ProtoReflect ¶
func (x *AdminRemoveUserRequest) ProtoReflect() protoreflect.Message
func (*AdminRemoveUserRequest) Reset ¶
func (x *AdminRemoveUserRequest) Reset()
func (*AdminRemoveUserRequest) String ¶
func (x *AdminRemoveUserRequest) String() string
type AdminRemoveUserResponse ¶
type AdminRemoveUserResponse struct {
Code AdminRemoveUserResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.AdminRemoveUserResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
// contains filtered or unexported fields
}
func (*AdminRemoveUserResponse) Descriptor
deprecated
func (*AdminRemoveUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminRemoveUserResponse.ProtoReflect.Descriptor instead.
func (*AdminRemoveUserResponse) GetCode ¶
func (x *AdminRemoveUserResponse) GetCode() AdminRemoveUserResponse_CODE
func (*AdminRemoveUserResponse) GetErrMsg ¶
func (x *AdminRemoveUserResponse) GetErrMsg() string
func (*AdminRemoveUserResponse) ProtoMessage ¶
func (*AdminRemoveUserResponse) ProtoMessage()
func (*AdminRemoveUserResponse) ProtoReflect ¶
func (x *AdminRemoveUserResponse) ProtoReflect() protoreflect.Message
func (*AdminRemoveUserResponse) Reset ¶
func (x *AdminRemoveUserResponse) Reset()
func (*AdminRemoveUserResponse) String ¶
func (x *AdminRemoveUserResponse) String() string
type AdminRemoveUserResponse_CODE ¶
type AdminRemoveUserResponse_CODE int32
const ( AdminRemoveUserResponse_CODE_OK AdminRemoveUserResponse_CODE = 0 AdminRemoveUserResponse_CODE_WRONG_SESSION AdminRemoveUserResponse_CODE = 1 AdminRemoveUserResponse_CODE_NOT_AUTH AdminRemoveUserResponse_CODE = 2 AdminRemoveUserResponse_CODE_NO_PERMISSION AdminRemoveUserResponse_CODE = 3 )
func (AdminRemoveUserResponse_CODE) Descriptor ¶
func (AdminRemoveUserResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AdminRemoveUserResponse_CODE) Enum ¶
func (x AdminRemoveUserResponse_CODE) Enum() *AdminRemoveUserResponse_CODE
func (AdminRemoveUserResponse_CODE) EnumDescriptor
deprecated
func (AdminRemoveUserResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdminRemoveUserResponse_CODE.Descriptor instead.
func (AdminRemoveUserResponse_CODE) Number ¶
func (x AdminRemoveUserResponse_CODE) Number() protoreflect.EnumNumber
func (AdminRemoveUserResponse_CODE) String ¶
func (x AdminRemoveUserResponse_CODE) String() string
func (AdminRemoveUserResponse_CODE) Type ¶
func (AdminRemoveUserResponse_CODE) Type() protoreflect.EnumType
type AdminUpdateUserDescRequest ¶
type AdminUpdateUserDescRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
UserDesc string `protobuf:"bytes,3,opt,name=userDesc,proto3" json:"userDesc,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUpdateUserDescRequest) Descriptor
deprecated
func (*AdminUpdateUserDescRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserDescRequest.ProtoReflect.Descriptor instead.
func (*AdminUpdateUserDescRequest) GetAdminSessionId ¶
func (x *AdminUpdateUserDescRequest) GetAdminSessionId() string
func (*AdminUpdateUserDescRequest) GetUserDesc ¶
func (x *AdminUpdateUserDescRequest) GetUserDesc() string
func (*AdminUpdateUserDescRequest) GetUserName ¶
func (x *AdminUpdateUserDescRequest) GetUserName() string
func (*AdminUpdateUserDescRequest) ProtoMessage ¶
func (*AdminUpdateUserDescRequest) ProtoMessage()
func (*AdminUpdateUserDescRequest) ProtoReflect ¶
func (x *AdminUpdateUserDescRequest) ProtoReflect() protoreflect.Message
func (*AdminUpdateUserDescRequest) Reset ¶
func (x *AdminUpdateUserDescRequest) Reset()
func (*AdminUpdateUserDescRequest) String ¶
func (x *AdminUpdateUserDescRequest) String() string
type AdminUpdateUserDescResponse ¶
type AdminUpdateUserDescResponse struct {
Code AdminUpdateUserDescResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.AdminUpdateUserDescResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUpdateUserDescResponse) Descriptor
deprecated
func (*AdminUpdateUserDescResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserDescResponse.ProtoReflect.Descriptor instead.
func (*AdminUpdateUserDescResponse) GetCode ¶
func (x *AdminUpdateUserDescResponse) GetCode() AdminUpdateUserDescResponse_CODE
func (*AdminUpdateUserDescResponse) GetErrMsg ¶
func (x *AdminUpdateUserDescResponse) GetErrMsg() string
func (*AdminUpdateUserDescResponse) ProtoMessage ¶
func (*AdminUpdateUserDescResponse) ProtoMessage()
func (*AdminUpdateUserDescResponse) ProtoReflect ¶
func (x *AdminUpdateUserDescResponse) ProtoReflect() protoreflect.Message
func (*AdminUpdateUserDescResponse) Reset ¶
func (x *AdminUpdateUserDescResponse) Reset()
func (*AdminUpdateUserDescResponse) String ¶
func (x *AdminUpdateUserDescResponse) String() string
type AdminUpdateUserDescResponse_CODE ¶
type AdminUpdateUserDescResponse_CODE int32
const ( AdminUpdateUserDescResponse_CODE_OK AdminUpdateUserDescResponse_CODE = 0 AdminUpdateUserDescResponse_CODE_WRONG_SESSION AdminUpdateUserDescResponse_CODE = 1 AdminUpdateUserDescResponse_CODE_NOT_AUTH AdminUpdateUserDescResponse_CODE = 2 AdminUpdateUserDescResponse_CODE_NO_PERMISSION AdminUpdateUserDescResponse_CODE = 3 AdminUpdateUserDescResponse_CODE_NO_USER AdminUpdateUserDescResponse_CODE = 4 )
func (AdminUpdateUserDescResponse_CODE) Descriptor ¶
func (AdminUpdateUserDescResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AdminUpdateUserDescResponse_CODE) Enum ¶
func (x AdminUpdateUserDescResponse_CODE) Enum() *AdminUpdateUserDescResponse_CODE
func (AdminUpdateUserDescResponse_CODE) EnumDescriptor
deprecated
func (AdminUpdateUserDescResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserDescResponse_CODE.Descriptor instead.
func (AdminUpdateUserDescResponse_CODE) Number ¶
func (x AdminUpdateUserDescResponse_CODE) Number() protoreflect.EnumNumber
func (AdminUpdateUserDescResponse_CODE) String ¶
func (x AdminUpdateUserDescResponse_CODE) String() string
func (AdminUpdateUserDescResponse_CODE) Type ¶
func (AdminUpdateUserDescResponse_CODE) Type() protoreflect.EnumType
type AdminUpdateUserPermRequest ¶
type AdminUpdateUserPermRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
PermInfo *AdminPermInfo `protobuf:"bytes,3,opt,name=permInfo,proto3" json:"permInfo,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUpdateUserPermRequest) Descriptor
deprecated
func (*AdminUpdateUserPermRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserPermRequest.ProtoReflect.Descriptor instead.
func (*AdminUpdateUserPermRequest) GetAdminSessionId ¶
func (x *AdminUpdateUserPermRequest) GetAdminSessionId() string
func (*AdminUpdateUserPermRequest) GetPermInfo ¶
func (x *AdminUpdateUserPermRequest) GetPermInfo() *AdminPermInfo
func (*AdminUpdateUserPermRequest) GetUserName ¶
func (x *AdminUpdateUserPermRequest) GetUserName() string
func (*AdminUpdateUserPermRequest) ProtoMessage ¶
func (*AdminUpdateUserPermRequest) ProtoMessage()
func (*AdminUpdateUserPermRequest) ProtoReflect ¶
func (x *AdminUpdateUserPermRequest) ProtoReflect() protoreflect.Message
func (*AdminUpdateUserPermRequest) Reset ¶
func (x *AdminUpdateUserPermRequest) Reset()
func (*AdminUpdateUserPermRequest) String ¶
func (x *AdminUpdateUserPermRequest) String() string
type AdminUpdateUserPermResponse ¶
type AdminUpdateUserPermResponse struct {
Code AdminUpdateUserPermResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.AdminUpdateUserPermResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUpdateUserPermResponse) Descriptor
deprecated
func (*AdminUpdateUserPermResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserPermResponse.ProtoReflect.Descriptor instead.
func (*AdminUpdateUserPermResponse) GetCode ¶
func (x *AdminUpdateUserPermResponse) GetCode() AdminUpdateUserPermResponse_CODE
func (*AdminUpdateUserPermResponse) GetErrMsg ¶
func (x *AdminUpdateUserPermResponse) GetErrMsg() string
func (*AdminUpdateUserPermResponse) ProtoMessage ¶
func (*AdminUpdateUserPermResponse) ProtoMessage()
func (*AdminUpdateUserPermResponse) ProtoReflect ¶
func (x *AdminUpdateUserPermResponse) ProtoReflect() protoreflect.Message
func (*AdminUpdateUserPermResponse) Reset ¶
func (x *AdminUpdateUserPermResponse) Reset()
func (*AdminUpdateUserPermResponse) String ¶
func (x *AdminUpdateUserPermResponse) String() string
type AdminUpdateUserPermResponse_CODE ¶
type AdminUpdateUserPermResponse_CODE int32
const ( AdminUpdateUserPermResponse_CODE_OK AdminUpdateUserPermResponse_CODE = 0 AdminUpdateUserPermResponse_CODE_WRONG_SESSION AdminUpdateUserPermResponse_CODE = 1 AdminUpdateUserPermResponse_CODE_NOT_AUTH AdminUpdateUserPermResponse_CODE = 2 AdminUpdateUserPermResponse_CODE_NO_PERMISSION AdminUpdateUserPermResponse_CODE = 3 AdminUpdateUserPermResponse_CODE_NO_USER AdminUpdateUserPermResponse_CODE = 4 )
func (AdminUpdateUserPermResponse_CODE) Descriptor ¶
func (AdminUpdateUserPermResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AdminUpdateUserPermResponse_CODE) Enum ¶
func (x AdminUpdateUserPermResponse_CODE) Enum() *AdminUpdateUserPermResponse_CODE
func (AdminUpdateUserPermResponse_CODE) EnumDescriptor
deprecated
func (AdminUpdateUserPermResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserPermResponse_CODE.Descriptor instead.
func (AdminUpdateUserPermResponse_CODE) Number ¶
func (x AdminUpdateUserPermResponse_CODE) Number() protoreflect.EnumNumber
func (AdminUpdateUserPermResponse_CODE) String ¶
func (x AdminUpdateUserPermResponse_CODE) String() string
func (AdminUpdateUserPermResponse_CODE) Type ¶
func (AdminUpdateUserPermResponse_CODE) Type() protoreflect.EnumType
type AdminUpdateUserPubKeyRequest ¶
type AdminUpdateUserPubKeyRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
PubKey string `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUpdateUserPubKeyRequest) Descriptor
deprecated
func (*AdminUpdateUserPubKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserPubKeyRequest.ProtoReflect.Descriptor instead.
func (*AdminUpdateUserPubKeyRequest) GetAdminSessionId ¶
func (x *AdminUpdateUserPubKeyRequest) GetAdminSessionId() string
func (*AdminUpdateUserPubKeyRequest) GetPubKey ¶
func (x *AdminUpdateUserPubKeyRequest) GetPubKey() string
func (*AdminUpdateUserPubKeyRequest) GetUserName ¶
func (x *AdminUpdateUserPubKeyRequest) GetUserName() string
func (*AdminUpdateUserPubKeyRequest) ProtoMessage ¶
func (*AdminUpdateUserPubKeyRequest) ProtoMessage()
func (*AdminUpdateUserPubKeyRequest) ProtoReflect ¶
func (x *AdminUpdateUserPubKeyRequest) ProtoReflect() protoreflect.Message
func (*AdminUpdateUserPubKeyRequest) Reset ¶
func (x *AdminUpdateUserPubKeyRequest) Reset()
func (*AdminUpdateUserPubKeyRequest) String ¶
func (x *AdminUpdateUserPubKeyRequest) String() string
type AdminUpdateUserPubKeyResponse ¶
type AdminUpdateUserPubKeyResponse struct {
Code AdminUpdateUserPubKeyResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.AdminUpdateUserPubKeyResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUpdateUserPubKeyResponse) Descriptor
deprecated
func (*AdminUpdateUserPubKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserPubKeyResponse.ProtoReflect.Descriptor instead.
func (*AdminUpdateUserPubKeyResponse) GetCode ¶
func (x *AdminUpdateUserPubKeyResponse) GetCode() AdminUpdateUserPubKeyResponse_CODE
func (*AdminUpdateUserPubKeyResponse) GetErrMsg ¶
func (x *AdminUpdateUserPubKeyResponse) GetErrMsg() string
func (*AdminUpdateUserPubKeyResponse) ProtoMessage ¶
func (*AdminUpdateUserPubKeyResponse) ProtoMessage()
func (*AdminUpdateUserPubKeyResponse) ProtoReflect ¶
func (x *AdminUpdateUserPubKeyResponse) ProtoReflect() protoreflect.Message
func (*AdminUpdateUserPubKeyResponse) Reset ¶
func (x *AdminUpdateUserPubKeyResponse) Reset()
func (*AdminUpdateUserPubKeyResponse) String ¶
func (x *AdminUpdateUserPubKeyResponse) String() string
type AdminUpdateUserPubKeyResponse_CODE ¶
type AdminUpdateUserPubKeyResponse_CODE int32
const ( AdminUpdateUserPubKeyResponse_CODE_OK AdminUpdateUserPubKeyResponse_CODE = 0 AdminUpdateUserPubKeyResponse_CODE_WRONG_SESSION AdminUpdateUserPubKeyResponse_CODE = 1 AdminUpdateUserPubKeyResponse_CODE_NOT_AUTH AdminUpdateUserPubKeyResponse_CODE = 2 AdminUpdateUserPubKeyResponse_CODE_NO_PERMISSION AdminUpdateUserPubKeyResponse_CODE = 3 AdminUpdateUserPubKeyResponse_CODE_NO_USER AdminUpdateUserPubKeyResponse_CODE = 4 )
func (AdminUpdateUserPubKeyResponse_CODE) Descriptor ¶
func (AdminUpdateUserPubKeyResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AdminUpdateUserPubKeyResponse_CODE) Enum ¶
func (x AdminUpdateUserPubKeyResponse_CODE) Enum() *AdminUpdateUserPubKeyResponse_CODE
func (AdminUpdateUserPubKeyResponse_CODE) EnumDescriptor
deprecated
func (AdminUpdateUserPubKeyResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AdminUpdateUserPubKeyResponse_CODE.Descriptor instead.
func (AdminUpdateUserPubKeyResponse_CODE) Number ¶
func (x AdminUpdateUserPubKeyResponse_CODE) Number() protoreflect.EnumNumber
func (AdminUpdateUserPubKeyResponse_CODE) String ¶
func (x AdminUpdateUserPubKeyResponse_CODE) String() string
func (AdminUpdateUserPubKeyResponse_CODE) Type ¶
func (AdminUpdateUserPubKeyResponse_CODE) Type() protoreflect.EnumType
type AdminUserInfo ¶
type AdminUserInfo struct {
UserName string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
UserDesc string `protobuf:"bytes,2,opt,name=userDesc,proto3" json:"userDesc,omitempty"`
PubKey string `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
PermInfo *AdminPermInfo `protobuf:"bytes,4,opt,name=permInfo,proto3" json:"permInfo,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserInfo) Descriptor
deprecated
func (*AdminUserInfo) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserInfo.ProtoReflect.Descriptor instead.
func (*AdminUserInfo) GetPermInfo ¶
func (x *AdminUserInfo) GetPermInfo() *AdminPermInfo
func (*AdminUserInfo) GetPubKey ¶
func (x *AdminUserInfo) GetPubKey() string
func (*AdminUserInfo) GetUserDesc ¶
func (x *AdminUserInfo) GetUserDesc() string
func (*AdminUserInfo) GetUserName ¶
func (x *AdminUserInfo) GetUserName() string
func (*AdminUserInfo) ProtoMessage ¶
func (*AdminUserInfo) ProtoMessage()
func (*AdminUserInfo) ProtoReflect ¶
func (x *AdminUserInfo) ProtoReflect() protoreflect.Message
func (*AdminUserInfo) Reset ¶
func (x *AdminUserInfo) Reset()
func (*AdminUserInfo) String ¶
func (x *AdminUserInfo) String() string
type AppStorePerm ¶
type AppStorePerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
AddCate bool `protobuf:"varint,2,opt,name=addCate,proto3" json:"addCate,omitempty"`
UpdateCate bool `protobuf:"varint,3,opt,name=updateCate,proto3" json:"updateCate,omitempty"`
RemoveCate bool `protobuf:"varint,4,opt,name=removeCate,proto3" json:"removeCate,omitempty"`
AddApp bool `protobuf:"varint,5,opt,name=addApp,proto3" json:"addApp,omitempty"`
UpdateApp bool `protobuf:"varint,6,opt,name=updateApp,proto3" json:"updateApp,omitempty"`
RemoveApp bool `protobuf:"varint,7,opt,name=removeApp,proto3" json:"removeApp,omitempty"` // bool removeComment = 8;
// contains filtered or unexported fields
}
func (*AppStorePerm) Descriptor
deprecated
func (*AppStorePerm) Descriptor() ([]byte, []int)
Deprecated: Use AppStorePerm.ProtoReflect.Descriptor instead.
func (*AppStorePerm) GetAddApp ¶
func (x *AppStorePerm) GetAddApp() bool
func (*AppStorePerm) GetAddCate ¶
func (x *AppStorePerm) GetAddCate() bool
func (*AppStorePerm) GetRead ¶
func (x *AppStorePerm) GetRead() bool
func (*AppStorePerm) GetRemoveApp ¶
func (x *AppStorePerm) GetRemoveApp() bool
func (*AppStorePerm) GetRemoveCate ¶
func (x *AppStorePerm) GetRemoveCate() bool
func (*AppStorePerm) GetUpdateApp ¶
func (x *AppStorePerm) GetUpdateApp() bool
func (*AppStorePerm) GetUpdateCate ¶
func (x *AppStorePerm) GetUpdateCate() bool
func (*AppStorePerm) ProtoMessage ¶
func (*AppStorePerm) ProtoMessage()
func (*AppStorePerm) ProtoReflect ¶
func (x *AppStorePerm) ProtoReflect() protoreflect.Message
func (*AppStorePerm) Reset ¶
func (x *AppStorePerm) Reset()
func (*AppStorePerm) String ¶
func (x *AppStorePerm) String() string
type AuthRequest ¶
type AuthRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
Sign *Signature `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"`
// contains filtered or unexported fields
}
func (*AuthRequest) Descriptor
deprecated
func (*AuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.
func (*AuthRequest) GetAdminSessionId ¶
func (x *AuthRequest) GetAdminSessionId() string
func (*AuthRequest) GetSign ¶
func (x *AuthRequest) GetSign() *Signature
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) ProtoReflect ¶
func (x *AuthRequest) ProtoReflect() protoreflect.Message
func (*AuthRequest) Reset ¶
func (x *AuthRequest) Reset()
func (*AuthRequest) String ¶
func (x *AuthRequest) String() string
type AuthResponse ¶
type AuthResponse struct {
Code AuthResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.AuthResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
AdminPermInfo *AdminPermInfo `protobuf:"bytes,3,opt,name=adminPermInfo,proto3" json:"adminPermInfo,omitempty"`
GlobalServer bool `protobuf:"varint,4,opt,name=globalServer,proto3" json:"globalServer,omitempty"`
// contains filtered or unexported fields
}
func (*AuthResponse) Descriptor
deprecated
func (*AuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.
func (*AuthResponse) GetAdminPermInfo ¶
func (x *AuthResponse) GetAdminPermInfo() *AdminPermInfo
func (*AuthResponse) GetCode ¶
func (x *AuthResponse) GetCode() AuthResponse_CODE
func (*AuthResponse) GetErrMsg ¶
func (x *AuthResponse) GetErrMsg() string
func (*AuthResponse) GetGlobalServer ¶
func (x *AuthResponse) GetGlobalServer() bool
func (*AuthResponse) ProtoMessage ¶
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) ProtoReflect ¶
func (x *AuthResponse) ProtoReflect() protoreflect.Message
func (*AuthResponse) Reset ¶
func (x *AuthResponse) Reset()
func (*AuthResponse) String ¶
func (x *AuthResponse) String() string
type AuthResponse_CODE ¶
type AuthResponse_CODE int32
const ( AuthResponse_CODE_OK AuthResponse_CODE = 0 AuthResponse_CODE_WRONG_SESSION AuthResponse_CODE = 1 AuthResponse_CODE_WRONG_SIGN AuthResponse_CODE = 2 )
func (AuthResponse_CODE) Descriptor ¶
func (AuthResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AuthResponse_CODE) Enum ¶
func (x AuthResponse_CODE) Enum() *AuthResponse_CODE
func (AuthResponse_CODE) EnumDescriptor
deprecated
func (AuthResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthResponse_CODE.Descriptor instead.
func (AuthResponse_CODE) Number ¶
func (x AuthResponse_CODE) Number() protoreflect.EnumNumber
func (AuthResponse_CODE) String ¶
func (x AuthResponse_CODE) String() string
func (AuthResponse_CODE) Type ¶
func (AuthResponse_CODE) Type() protoreflect.EnumType
type FeedBackPerm ¶
type FeedBackPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
Remove bool `protobuf:"varint,2,opt,name=remove,proto3" json:"remove,omitempty"`
// contains filtered or unexported fields
}
func (*FeedBackPerm) Descriptor
deprecated
func (*FeedBackPerm) Descriptor() ([]byte, []int)
Deprecated: Use FeedBackPerm.ProtoReflect.Descriptor instead.
func (*FeedBackPerm) GetRead ¶
func (x *FeedBackPerm) GetRead() bool
func (*FeedBackPerm) GetRemove ¶
func (x *FeedBackPerm) GetRemove() bool
func (*FeedBackPerm) ProtoMessage ¶
func (*FeedBackPerm) ProtoMessage()
func (*FeedBackPerm) ProtoReflect ¶
func (x *FeedBackPerm) ProtoReflect() protoreflect.Message
func (*FeedBackPerm) Reset ¶
func (x *FeedBackPerm) Reset()
func (*FeedBackPerm) String ¶
func (x *FeedBackPerm) String() string
type IdeaStorePerm ¶
type IdeaStorePerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
CreateStoreCate bool `protobuf:"varint,2,opt,name=createStoreCate,proto3" json:"createStoreCate,omitempty"`
UpdateStoreCate bool `protobuf:"varint,3,opt,name=updateStoreCate,proto3" json:"updateStoreCate,omitempty"`
RemoveStoreCate bool `protobuf:"varint,4,opt,name=removeStoreCate,proto3" json:"removeStoreCate,omitempty"`
CreateStore bool `protobuf:"varint,5,opt,name=createStore,proto3" json:"createStore,omitempty"`
UpdateStore bool `protobuf:"varint,6,opt,name=updateStore,proto3" json:"updateStore,omitempty"`
MoveStore bool `protobuf:"varint,7,opt,name=moveStore,proto3" json:"moveStore,omitempty"`
RemoveStore bool `protobuf:"varint,8,opt,name=removeStore,proto3" json:"removeStore,omitempty"`
CreateIdea bool `protobuf:"varint,9,opt,name=createIdea,proto3" json:"createIdea,omitempty"`
UpdateIdea bool `protobuf:"varint,10,opt,name=updateIdea,proto3" json:"updateIdea,omitempty"`
MoveIdea bool `protobuf:"varint,11,opt,name=moveIdea,proto3" json:"moveIdea,omitempty"`
RemoveIdea bool `protobuf:"varint,12,opt,name=removeIdea,proto3" json:"removeIdea,omitempty"`
// contains filtered or unexported fields
}
func (*IdeaStorePerm) Descriptor
deprecated
func (*IdeaStorePerm) Descriptor() ([]byte, []int)
Deprecated: Use IdeaStorePerm.ProtoReflect.Descriptor instead.
func (*IdeaStorePerm) GetCreateIdea ¶
func (x *IdeaStorePerm) GetCreateIdea() bool
func (*IdeaStorePerm) GetCreateStore ¶
func (x *IdeaStorePerm) GetCreateStore() bool
func (*IdeaStorePerm) GetCreateStoreCate ¶
func (x *IdeaStorePerm) GetCreateStoreCate() bool
func (*IdeaStorePerm) GetMoveIdea ¶
func (x *IdeaStorePerm) GetMoveIdea() bool
func (*IdeaStorePerm) GetMoveStore ¶
func (x *IdeaStorePerm) GetMoveStore() bool
func (*IdeaStorePerm) GetRead ¶
func (x *IdeaStorePerm) GetRead() bool
func (*IdeaStorePerm) GetRemoveIdea ¶
func (x *IdeaStorePerm) GetRemoveIdea() bool
func (*IdeaStorePerm) GetRemoveStore ¶
func (x *IdeaStorePerm) GetRemoveStore() bool
func (*IdeaStorePerm) GetRemoveStoreCate ¶
func (x *IdeaStorePerm) GetRemoveStoreCate() bool
func (*IdeaStorePerm) GetUpdateIdea ¶
func (x *IdeaStorePerm) GetUpdateIdea() bool
func (*IdeaStorePerm) GetUpdateStore ¶
func (x *IdeaStorePerm) GetUpdateStore() bool
func (*IdeaStorePerm) GetUpdateStoreCate ¶
func (x *IdeaStorePerm) GetUpdateStoreCate() bool
func (*IdeaStorePerm) ProtoMessage ¶
func (*IdeaStorePerm) ProtoMessage()
func (*IdeaStorePerm) ProtoReflect ¶
func (x *IdeaStorePerm) ProtoReflect() protoreflect.Message
func (*IdeaStorePerm) Reset ¶
func (x *IdeaStorePerm) Reset()
func (*IdeaStorePerm) String ¶
func (x *IdeaStorePerm) String() string
type KeepAliveRequest ¶
type KeepAliveRequest struct {
AdminSessionId string `protobuf:"bytes,1,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
// contains filtered or unexported fields
}
func (*KeepAliveRequest) Descriptor
deprecated
func (*KeepAliveRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeepAliveRequest.ProtoReflect.Descriptor instead.
func (*KeepAliveRequest) GetAdminSessionId ¶
func (x *KeepAliveRequest) GetAdminSessionId() string
func (*KeepAliveRequest) ProtoMessage ¶
func (*KeepAliveRequest) ProtoMessage()
func (*KeepAliveRequest) ProtoReflect ¶
func (x *KeepAliveRequest) ProtoReflect() protoreflect.Message
func (*KeepAliveRequest) Reset ¶
func (x *KeepAliveRequest) Reset()
func (*KeepAliveRequest) String ¶
func (x *KeepAliveRequest) String() string
type KeepAliveResponse ¶
type KeepAliveResponse struct {
Code KeepAliveResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.KeepAliveResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
// contains filtered or unexported fields
}
func (*KeepAliveResponse) Descriptor
deprecated
func (*KeepAliveResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeepAliveResponse.ProtoReflect.Descriptor instead.
func (*KeepAliveResponse) GetCode ¶
func (x *KeepAliveResponse) GetCode() KeepAliveResponse_CODE
func (*KeepAliveResponse) GetErrMsg ¶
func (x *KeepAliveResponse) GetErrMsg() string
func (*KeepAliveResponse) ProtoMessage ¶
func (*KeepAliveResponse) ProtoMessage()
func (*KeepAliveResponse) ProtoReflect ¶
func (x *KeepAliveResponse) ProtoReflect() protoreflect.Message
func (*KeepAliveResponse) Reset ¶
func (x *KeepAliveResponse) Reset()
func (*KeepAliveResponse) String ¶
func (x *KeepAliveResponse) String() string
type KeepAliveResponse_CODE ¶
type KeepAliveResponse_CODE int32
const ( KeepAliveResponse_CODE_OK KeepAliveResponse_CODE = 0 KeepAliveResponse_CODE_WRONG_SESSION KeepAliveResponse_CODE = 1 KeepAliveResponse_CODE_NOT_AUTH KeepAliveResponse_CODE = 2 )
func (KeepAliveResponse_CODE) Descriptor ¶
func (KeepAliveResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (KeepAliveResponse_CODE) Enum ¶
func (x KeepAliveResponse_CODE) Enum() *KeepAliveResponse_CODE
func (KeepAliveResponse_CODE) EnumDescriptor
deprecated
func (KeepAliveResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use KeepAliveResponse_CODE.Descriptor instead.
func (KeepAliveResponse_CODE) Number ¶
func (x KeepAliveResponse_CODE) Number() protoreflect.EnumNumber
func (KeepAliveResponse_CODE) String ¶
func (x KeepAliveResponse_CODE) String() string
func (KeepAliveResponse_CODE) Type ¶
func (KeepAliveResponse_CODE) Type() protoreflect.EnumType
type KeywordPerm ¶
type KeywordPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
Add bool `protobuf:"varint,2,opt,name=add,proto3" json:"add,omitempty"`
Remove bool `protobuf:"varint,3,opt,name=remove,proto3" json:"remove,omitempty"`
// contains filtered or unexported fields
}
func (*KeywordPerm) Descriptor
deprecated
func (*KeywordPerm) Descriptor() ([]byte, []int)
Deprecated: Use KeywordPerm.ProtoReflect.Descriptor instead.
func (*KeywordPerm) GetAdd ¶
func (x *KeywordPerm) GetAdd() bool
func (*KeywordPerm) GetRead ¶
func (x *KeywordPerm) GetRead() bool
func (*KeywordPerm) GetRemove ¶
func (x *KeywordPerm) GetRemove() bool
func (*KeywordPerm) ProtoMessage ¶
func (*KeywordPerm) ProtoMessage()
func (*KeywordPerm) ProtoReflect ¶
func (x *KeywordPerm) ProtoReflect() protoreflect.Message
func (*KeywordPerm) Reset ¶
func (x *KeywordPerm) Reset()
func (*KeywordPerm) String ¶
func (x *KeywordPerm) String() string
type MenuPerm ¶
type MenuPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
Add bool `protobuf:"varint,2,opt,name=add,proto3" json:"add,omitempty"`
Remove bool `protobuf:"varint,3,opt,name=remove,proto3" json:"remove,omitempty"`
Update bool `protobuf:"varint,4,opt,name=update,proto3" json:"update,omitempty"`
// contains filtered or unexported fields
}
func (*MenuPerm) ProtoReflect ¶
func (x *MenuPerm) ProtoReflect() protoreflect.Message
type OrgMemberPerm ¶
type OrgMemberPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
// contains filtered or unexported fields
}
func (*OrgMemberPerm) Descriptor
deprecated
func (*OrgMemberPerm) Descriptor() ([]byte, []int)
Deprecated: Use OrgMemberPerm.ProtoReflect.Descriptor instead.
func (*OrgMemberPerm) GetRead ¶
func (x *OrgMemberPerm) GetRead() bool
func (*OrgMemberPerm) ProtoMessage ¶
func (*OrgMemberPerm) ProtoMessage()
func (*OrgMemberPerm) ProtoReflect ¶
func (x *OrgMemberPerm) ProtoReflect() protoreflect.Message
func (*OrgMemberPerm) Reset ¶
func (x *OrgMemberPerm) Reset()
func (*OrgMemberPerm) String ¶
func (x *OrgMemberPerm) String() string
type OrgPerm ¶
type OrgPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
Update bool `protobuf:"varint,2,opt,name=update,proto3" json:"update,omitempty"`
// contains filtered or unexported fields
}
func (*OrgPerm) ProtoReflect ¶
func (x *OrgPerm) ProtoReflect() protoreflect.Message
type PreAuthRequest ¶
type PreAuthRequest struct {
UserName string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
// contains filtered or unexported fields
}
func (*PreAuthRequest) Descriptor
deprecated
func (*PreAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreAuthRequest.ProtoReflect.Descriptor instead.
func (*PreAuthRequest) GetUserName ¶
func (x *PreAuthRequest) GetUserName() string
func (*PreAuthRequest) ProtoMessage ¶
func (*PreAuthRequest) ProtoMessage()
func (*PreAuthRequest) ProtoReflect ¶
func (x *PreAuthRequest) ProtoReflect() protoreflect.Message
func (*PreAuthRequest) Reset ¶
func (x *PreAuthRequest) Reset()
func (*PreAuthRequest) String ¶
func (x *PreAuthRequest) String() string
type PreAuthResponse ¶
type PreAuthResponse struct {
Code PreAuthResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=admin_auth_api.PreAuthResponse_CODE" json:"code,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
AdminSessionId string `protobuf:"bytes,3,opt,name=adminSessionId,proto3" json:"adminSessionId,omitempty"`
ToSignStr string `protobuf:"bytes,4,opt,name=toSignStr,proto3" json:"toSignStr,omitempty"`
// contains filtered or unexported fields
}
func (*PreAuthResponse) Descriptor
deprecated
func (*PreAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreAuthResponse.ProtoReflect.Descriptor instead.
func (*PreAuthResponse) GetAdminSessionId ¶
func (x *PreAuthResponse) GetAdminSessionId() string
func (*PreAuthResponse) GetCode ¶
func (x *PreAuthResponse) GetCode() PreAuthResponse_CODE
func (*PreAuthResponse) GetErrMsg ¶
func (x *PreAuthResponse) GetErrMsg() string
func (*PreAuthResponse) GetToSignStr ¶
func (x *PreAuthResponse) GetToSignStr() string
func (*PreAuthResponse) ProtoMessage ¶
func (*PreAuthResponse) ProtoMessage()
func (*PreAuthResponse) ProtoReflect ¶
func (x *PreAuthResponse) ProtoReflect() protoreflect.Message
func (*PreAuthResponse) Reset ¶
func (x *PreAuthResponse) Reset()
func (*PreAuthResponse) String ¶
func (x *PreAuthResponse) String() string
type PreAuthResponse_CODE ¶
type PreAuthResponse_CODE int32
const ( PreAuthResponse_CODE_OK PreAuthResponse_CODE = 0 PreAuthResponse_CODE_NO_USER PreAuthResponse_CODE = 1 )
func (PreAuthResponse_CODE) Descriptor ¶
func (PreAuthResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (PreAuthResponse_CODE) Enum ¶
func (x PreAuthResponse_CODE) Enum() *PreAuthResponse_CODE
func (PreAuthResponse_CODE) EnumDescriptor
deprecated
func (PreAuthResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use PreAuthResponse_CODE.Descriptor instead.
func (PreAuthResponse_CODE) Number ¶
func (x PreAuthResponse_CODE) Number() protoreflect.EnumNumber
func (PreAuthResponse_CODE) String ¶
func (x PreAuthResponse_CODE) String() string
func (PreAuthResponse_CODE) Type ¶
func (PreAuthResponse_CODE) Type() protoreflect.EnumType
type ProjectMemberPerm ¶
type ProjectMemberPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
// contains filtered or unexported fields
}
func (*ProjectMemberPerm) Descriptor
deprecated
func (*ProjectMemberPerm) Descriptor() ([]byte, []int)
Deprecated: Use ProjectMemberPerm.ProtoReflect.Descriptor instead.
func (*ProjectMemberPerm) GetRead ¶
func (x *ProjectMemberPerm) GetRead() bool
func (*ProjectMemberPerm) ProtoMessage ¶
func (*ProjectMemberPerm) ProtoMessage()
func (*ProjectMemberPerm) ProtoReflect ¶
func (x *ProjectMemberPerm) ProtoReflect() protoreflect.Message
func (*ProjectMemberPerm) Reset ¶
func (x *ProjectMemberPerm) Reset()
func (*ProjectMemberPerm) String ¶
func (x *ProjectMemberPerm) String() string
type ProjectPerm ¶
type ProjectPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
// bool create = 2;
Update bool `protobuf:"varint,3,opt,name=update,proto3" json:"update,omitempty"`
AccessEvent bool `protobuf:"varint,4,opt,name=accessEvent,proto3" json:"accessEvent,omitempty"`
// contains filtered or unexported fields
}
func (*ProjectPerm) Descriptor
deprecated
func (*ProjectPerm) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPerm.ProtoReflect.Descriptor instead.
func (*ProjectPerm) GetAccessEvent ¶
func (x *ProjectPerm) GetAccessEvent() bool
func (*ProjectPerm) GetRead ¶
func (x *ProjectPerm) GetRead() bool
func (*ProjectPerm) GetUpdate ¶
func (x *ProjectPerm) GetUpdate() bool
func (*ProjectPerm) ProtoMessage ¶
func (*ProjectPerm) ProtoMessage()
func (*ProjectPerm) ProtoReflect ¶
func (x *ProjectPerm) ProtoReflect() protoreflect.Message
func (*ProjectPerm) Reset ¶
func (x *ProjectPerm) Reset()
func (*ProjectPerm) String ¶
func (x *ProjectPerm) String() string
type RoadmapPerm ¶
type RoadmapPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
Create bool `protobuf:"varint,2,opt,name=create,proto3" json:"create,omitempty"`
UpdateContent bool `protobuf:"varint,3,opt,name=updateContent,proto3" json:"updateContent,omitempty"`
UpdatePubState bool `protobuf:"varint,4,opt,name=updatePubState,proto3" json:"updatePubState,omitempty"`
Remove bool `protobuf:"varint,5,opt,name=remove,proto3" json:"remove,omitempty"`
ChangeOwner bool `protobuf:"varint,6,opt,name=changeOwner,proto3" json:"changeOwner,omitempty"`
AddWhiteUser bool `protobuf:"varint,7,opt,name=addWhiteUser,proto3" json:"addWhiteUser,omitempty"`
UpdateWhiteUser bool `protobuf:"varint,8,opt,name=updateWhiteUser,proto3" json:"updateWhiteUser,omitempty"`
RemoveWhiteUser bool `protobuf:"varint,9,opt,name=removeWhiteUser,proto3" json:"removeWhiteUser,omitempty"`
AddTag bool `protobuf:"varint,10,opt,name=addTag,proto3" json:"addTag,omitempty"`
ModifyTag bool `protobuf:"varint,11,opt,name=modifyTag,proto3" json:"modifyTag,omitempty"`
RemoveTag bool `protobuf:"varint,12,opt,name=removeTag,proto3" json:"removeTag,omitempty"`
UpdateTag bool `protobuf:"varint,13,opt,name=updateTag,proto3" json:"updateTag,omitempty"`
// contains filtered or unexported fields
}
func (*RoadmapPerm) Descriptor
deprecated
func (*RoadmapPerm) Descriptor() ([]byte, []int)
Deprecated: Use RoadmapPerm.ProtoReflect.Descriptor instead.
func (*RoadmapPerm) GetAddTag ¶
func (x *RoadmapPerm) GetAddTag() bool
func (*RoadmapPerm) GetAddWhiteUser ¶
func (x *RoadmapPerm) GetAddWhiteUser() bool
func (*RoadmapPerm) GetChangeOwner ¶
func (x *RoadmapPerm) GetChangeOwner() bool
func (*RoadmapPerm) GetCreate ¶
func (x *RoadmapPerm) GetCreate() bool
func (*RoadmapPerm) GetModifyTag ¶
func (x *RoadmapPerm) GetModifyTag() bool
func (*RoadmapPerm) GetRead ¶
func (x *RoadmapPerm) GetRead() bool
func (*RoadmapPerm) GetRemove ¶
func (x *RoadmapPerm) GetRemove() bool
func (*RoadmapPerm) GetRemoveTag ¶
func (x *RoadmapPerm) GetRemoveTag() bool
func (*RoadmapPerm) GetRemoveWhiteUser ¶
func (x *RoadmapPerm) GetRemoveWhiteUser() bool
func (*RoadmapPerm) GetUpdateContent ¶
func (x *RoadmapPerm) GetUpdateContent() bool
func (*RoadmapPerm) GetUpdatePubState ¶
func (x *RoadmapPerm) GetUpdatePubState() bool
func (*RoadmapPerm) GetUpdateTag ¶
func (x *RoadmapPerm) GetUpdateTag() bool
func (*RoadmapPerm) GetUpdateWhiteUser ¶
func (x *RoadmapPerm) GetUpdateWhiteUser() bool
func (*RoadmapPerm) ProtoMessage ¶
func (*RoadmapPerm) ProtoMessage()
func (*RoadmapPerm) ProtoReflect ¶
func (x *RoadmapPerm) ProtoReflect() protoreflect.Message
func (*RoadmapPerm) Reset ¶
func (x *RoadmapPerm) Reset()
func (*RoadmapPerm) String ¶
func (x *RoadmapPerm) String() string
type Signature ¶
type Signature struct {
Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
Blob []byte `protobuf:"bytes,2,opt,name=blob,proto3" json:"blob,omitempty"`
Rest []byte `protobuf:"bytes,3,opt,name=rest,proto3" json:"rest,omitempty"`
// contains filtered or unexported fields
}
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SwStorePerm ¶
type SwStorePerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
AddCate bool `protobuf:"varint,2,opt,name=addCate,proto3" json:"addCate,omitempty"`
UpdateCate bool `protobuf:"varint,3,opt,name=updateCate,proto3" json:"updateCate,omitempty"`
RemoveCate bool `protobuf:"varint,4,opt,name=removeCate,proto3" json:"removeCate,omitempty"`
AddSoftWare bool `protobuf:"varint,5,opt,name=addSoftWare,proto3" json:"addSoftWare,omitempty"`
UpdateSoftWare bool `protobuf:"varint,6,opt,name=updateSoftWare,proto3" json:"updateSoftWare,omitempty"`
RemoveSoftWare bool `protobuf:"varint,7,opt,name=removeSoftWare,proto3" json:"removeSoftWare,omitempty"`
// contains filtered or unexported fields
}
func (*SwStorePerm) Descriptor
deprecated
func (*SwStorePerm) Descriptor() ([]byte, []int)
Deprecated: Use SwStorePerm.ProtoReflect.Descriptor instead.
func (*SwStorePerm) GetAddCate ¶
func (x *SwStorePerm) GetAddCate() bool
func (*SwStorePerm) GetAddSoftWare ¶
func (x *SwStorePerm) GetAddSoftWare() bool
func (*SwStorePerm) GetRead ¶
func (x *SwStorePerm) GetRead() bool
func (*SwStorePerm) GetRemoveCate ¶
func (x *SwStorePerm) GetRemoveCate() bool
func (*SwStorePerm) GetRemoveSoftWare ¶
func (x *SwStorePerm) GetRemoveSoftWare() bool
func (*SwStorePerm) GetUpdateCate ¶
func (x *SwStorePerm) GetUpdateCate() bool
func (*SwStorePerm) GetUpdateSoftWare ¶
func (x *SwStorePerm) GetUpdateSoftWare() bool
func (*SwStorePerm) ProtoMessage ¶
func (*SwStorePerm) ProtoMessage()
func (*SwStorePerm) ProtoReflect ¶
func (x *SwStorePerm) ProtoReflect() protoreflect.Message
func (*SwStorePerm) Reset ¶
func (x *SwStorePerm) Reset()
func (*SwStorePerm) String ¶
func (x *SwStorePerm) String() string
type UnimplementedAdminAuthAdminApiServer ¶
type UnimplementedAdminAuthAdminApiServer struct {
}
UnimplementedAdminAuthAdminApiServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminAuthAdminApiServer) AddUser ¶
func (UnimplementedAdminAuthAdminApiServer) AddUser(context.Context, *AdminAddUserRequest) (*AdminAddUserResponse, error)
func (UnimplementedAdminAuthAdminApiServer) GetUser ¶
func (UnimplementedAdminAuthAdminApiServer) GetUser(context.Context, *AdminGetUserRequest) (*AdminGetUserResponse, error)
func (UnimplementedAdminAuthAdminApiServer) ListUser ¶
func (UnimplementedAdminAuthAdminApiServer) ListUser(context.Context, *AdminListUserRequest) (*AdminListUserResponse, error)
func (UnimplementedAdminAuthAdminApiServer) RemoveUser ¶
func (UnimplementedAdminAuthAdminApiServer) RemoveUser(context.Context, *AdminRemoveUserRequest) (*AdminRemoveUserResponse, error)
func (UnimplementedAdminAuthAdminApiServer) UpdateUserDesc ¶
func (UnimplementedAdminAuthAdminApiServer) UpdateUserDesc(context.Context, *AdminUpdateUserDescRequest) (*AdminUpdateUserDescResponse, error)
func (UnimplementedAdminAuthAdminApiServer) UpdateUserPerm ¶
func (UnimplementedAdminAuthAdminApiServer) UpdateUserPerm(context.Context, *AdminUpdateUserPermRequest) (*AdminUpdateUserPermResponse, error)
func (UnimplementedAdminAuthAdminApiServer) UpdateUserPubKey ¶
func (UnimplementedAdminAuthAdminApiServer) UpdateUserPubKey(context.Context, *AdminUpdateUserPubKeyRequest) (*AdminUpdateUserPubKeyResponse, error)
type UnimplementedAdminAuthApiServer ¶
type UnimplementedAdminAuthApiServer struct {
}
UnimplementedAdminAuthApiServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminAuthApiServer) Auth ¶
func (UnimplementedAdminAuthApiServer) Auth(context.Context, *AuthRequest) (*AuthResponse, error)
func (UnimplementedAdminAuthApiServer) KeepAlive ¶
func (UnimplementedAdminAuthApiServer) KeepAlive(context.Context, *KeepAliveRequest) (*KeepAliveResponse, error)
func (UnimplementedAdminAuthApiServer) PreAuth ¶
func (UnimplementedAdminAuthApiServer) PreAuth(context.Context, *PreAuthRequest) (*PreAuthResponse, error)
type UnsafeAdminAuthAdminApiServer ¶
type UnsafeAdminAuthAdminApiServer interface {
// contains filtered or unexported methods
}
UnsafeAdminAuthAdminApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminAuthAdminApiServer will result in compilation errors.
type UnsafeAdminAuthApiServer ¶
type UnsafeAdminAuthApiServer interface {
// contains filtered or unexported methods
}
UnsafeAdminAuthApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminAuthApiServer will result in compilation errors.
type UserPerm ¶
type UserPerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
Create bool `protobuf:"varint,2,opt,name=create,proto3" json:"create,omitempty"`
SetState bool `protobuf:"varint,3,opt,name=setState,proto3" json:"setState,omitempty"`
ResetPassword bool `protobuf:"varint,4,opt,name=resetPassword,proto3" json:"resetPassword,omitempty"`
// bool accessEvent = 5;
SetTestAccount bool `protobuf:"varint,6,opt,name=setTestAccount,proto3" json:"setTestAccount,omitempty"`
// contains filtered or unexported fields
}
func (*UserPerm) ProtoReflect ¶
func (x *UserPerm) ProtoReflect() protoreflect.Message
type WidgetStorePerm ¶
type WidgetStorePerm struct {
Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"`
AddWidget bool `protobuf:"varint,2,opt,name=addWidget,proto3" json:"addWidget,omitempty"`
UpdateWidget bool `protobuf:"varint,3,opt,name=updateWidget,proto3" json:"updateWidget,omitempty"`
RemoveWidget bool `protobuf:"varint,4,opt,name=removeWidget,proto3" json:"removeWidget,omitempty"`
// contains filtered or unexported fields
}
func (*WidgetStorePerm) Descriptor
deprecated
func (*WidgetStorePerm) Descriptor() ([]byte, []int)
Deprecated: Use WidgetStorePerm.ProtoReflect.Descriptor instead.
func (*WidgetStorePerm) GetAddWidget ¶
func (x *WidgetStorePerm) GetAddWidget() bool
func (*WidgetStorePerm) GetRead ¶
func (x *WidgetStorePerm) GetRead() bool
func (*WidgetStorePerm) GetRemoveWidget ¶
func (x *WidgetStorePerm) GetRemoveWidget() bool
func (*WidgetStorePerm) GetUpdateWidget ¶
func (x *WidgetStorePerm) GetUpdateWidget() bool
func (*WidgetStorePerm) ProtoMessage ¶
func (*WidgetStorePerm) ProtoMessage()
func (*WidgetStorePerm) ProtoReflect ¶
func (x *WidgetStorePerm) ProtoReflect() protoreflect.Message
func (*WidgetStorePerm) Reset ¶
func (x *WidgetStorePerm) Reset()
func (*WidgetStorePerm) String ¶
func (x *WidgetStorePerm) String() string
Source Files
¶
- admin_auth_api.pb.go
- admin_auth_api_grpc.pb.go