Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)
- func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
- func RegisterPublicServiceServer(s grpc.ServiceRegistrar, srv PublicServiceServer)
- type AddUserToGroupRequest
- func (*AddUserToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserToGroupRequest) GetGroupId() uint32
- func (x *AddUserToGroupRequest) GetGroupKey() string
- func (x *AddUserToGroupRequest) GetRole() string
- func (x *AddUserToGroupRequest) GetUserId() uint32
- func (*AddUserToGroupRequest) ProtoMessage()
- func (x *AddUserToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserToGroupRequest) Reset()
- func (x *AddUserToGroupRequest) String() string
- type AddUserToGroupResponse
- func (*AddUserToGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserToGroupResponse) GetGroupUser() *GroupUserInfo
- func (x *AddUserToGroupResponse) GetMessage() string
- func (x *AddUserToGroupResponse) GetStatus() ResponseStatus
- func (*AddUserToGroupResponse) ProtoMessage()
- func (x *AddUserToGroupResponse) ProtoReflect() protoreflect.Message
- func (x *AddUserToGroupResponse) Reset()
- func (x *AddUserToGroupResponse) String() string
- type CommonResponse
- func (*CommonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommonResponse) GetMessage() string
- func (x *CommonResponse) GetRequestId() string
- func (x *CommonResponse) GetStatus() ResponseStatus
- func (x *CommonResponse) GetTimestamp() int64
- func (*CommonResponse) ProtoMessage()
- func (x *CommonResponse) ProtoReflect() protoreflect.Message
- func (x *CommonResponse) Reset()
- func (x *CommonResponse) String() string
- type CreateDeveloperKeyRequest
- func (*CreateDeveloperKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeveloperKeyRequest) GetDescription() string
- func (x *CreateDeveloperKeyRequest) GetDeveloperKey() string
- func (x *CreateDeveloperKeyRequest) GetExpiresAt() int64
- func (x *CreateDeveloperKeyRequest) GetName() string
- func (*CreateDeveloperKeyRequest) ProtoMessage()
- func (x *CreateDeveloperKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeveloperKeyRequest) Reset()
- func (x *CreateDeveloperKeyRequest) String() string
- type CreateDeveloperKeyResponse
- func (*CreateDeveloperKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeveloperKeyResponse) GetKeyInfo() *DeveloperKeyInfo
- func (x *CreateDeveloperKeyResponse) GetKeyValue() string
- func (x *CreateDeveloperKeyResponse) GetMessage() string
- func (x *CreateDeveloperKeyResponse) GetStatus() ResponseStatus
- func (*CreateDeveloperKeyResponse) ProtoMessage()
- func (x *CreateDeveloperKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDeveloperKeyResponse) Reset()
- func (x *CreateDeveloperKeyResponse) String() string
- type CreateGroupKeyRequest
- func (*CreateGroupKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupKeyRequest) GetDescription() string
- func (x *CreateGroupKeyRequest) GetDeveloperKey() string
- func (x *CreateGroupKeyRequest) GetExpiresAt() int64
- func (x *CreateGroupKeyRequest) GetGroupId() uint32
- func (x *CreateGroupKeyRequest) GetName() string
- func (*CreateGroupKeyRequest) ProtoMessage()
- func (x *CreateGroupKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupKeyRequest) Reset()
- func (x *CreateGroupKeyRequest) String() string
- type CreateGroupKeyResponse
- func (*CreateGroupKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupKeyResponse) GetKeyInfo() *GroupKeyInfo
- func (x *CreateGroupKeyResponse) GetKeyValue() string
- func (x *CreateGroupKeyResponse) GetMessage() string
- func (x *CreateGroupKeyResponse) GetStatus() ResponseStatus
- func (*CreateGroupKeyResponse) ProtoMessage()
- func (x *CreateGroupKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGroupKeyResponse) Reset()
- func (x *CreateGroupKeyResponse) String() string
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetDescription() string
- func (x *CreateGroupRequest) GetDeveloperKey() string
- func (x *CreateGroupRequest) GetIsPublic() bool
- func (x *CreateGroupRequest) GetName() string
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- type CreateGroupResponse
- func (*CreateGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupResponse) GetGroup() *GroupInfo
- func (x *CreateGroupResponse) GetGroupKey() string
- func (x *CreateGroupResponse) GetMessage() string
- func (x *CreateGroupResponse) GetStatus() ResponseStatus
- func (*CreateGroupResponse) ProtoMessage()
- func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGroupResponse) Reset()
- func (x *CreateGroupResponse) String() string
- type CreateUserKeyRequest
- func (*CreateUserKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserKeyRequest) GetDescription() string
- func (x *CreateUserKeyRequest) GetExpiresAt() int64
- func (x *CreateUserKeyRequest) GetName() string
- func (x *CreateUserKeyRequest) GetUserToken() string
- func (*CreateUserKeyRequest) ProtoMessage()
- func (x *CreateUserKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserKeyRequest) Reset()
- func (x *CreateUserKeyRequest) String() string
- type CreateUserKeyResponse
- func (*CreateUserKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserKeyResponse) GetKeyInfo() *UserKeyInfo
- func (x *CreateUserKeyResponse) GetKeyValue() string
- func (x *CreateUserKeyResponse) GetMessage() string
- func (x *CreateUserKeyResponse) GetStatus() ResponseStatus
- func (*CreateUserKeyResponse) ProtoMessage()
- func (x *CreateUserKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserKeyResponse) Reset()
- func (x *CreateUserKeyResponse) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetDeveloperKey() string
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetName() string
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetStatus() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetMessage() string
- func (x *CreateUserResponse) GetPassword() string
- func (x *CreateUserResponse) GetStatus() ResponseStatus
- func (x *CreateUserResponse) GetUser() *UserInfo
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- type DeleteDeveloperKeyRequest
- func (*DeleteDeveloperKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeveloperKeyRequest) GetDeveloperKey() string
- func (x *DeleteDeveloperKeyRequest) GetKeyId() uint32
- func (*DeleteDeveloperKeyRequest) ProtoMessage()
- func (x *DeleteDeveloperKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeveloperKeyRequest) Reset()
- func (x *DeleteDeveloperKeyRequest) String() string
- type DeleteDeveloperKeyResponse
- func (*DeleteDeveloperKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeveloperKeyResponse) GetMessage() string
- func (x *DeleteDeveloperKeyResponse) GetStatus() ResponseStatus
- func (*DeleteDeveloperKeyResponse) ProtoMessage()
- func (x *DeleteDeveloperKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDeveloperKeyResponse) Reset()
- func (x *DeleteDeveloperKeyResponse) String() string
- type DeleteGroupKeyRequest
- func (*DeleteGroupKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupKeyRequest) GetDeveloperKey() string
- func (x *DeleteGroupKeyRequest) GetGroupId() uint32
- func (x *DeleteGroupKeyRequest) GetKeyId() uint32
- func (*DeleteGroupKeyRequest) ProtoMessage()
- func (x *DeleteGroupKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupKeyRequest) Reset()
- func (x *DeleteGroupKeyRequest) String() string
- type DeleteGroupKeyResponse
- func (*DeleteGroupKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupKeyResponse) GetMessage() string
- func (x *DeleteGroupKeyResponse) GetStatus() ResponseStatus
- func (*DeleteGroupKeyResponse) ProtoMessage()
- func (x *DeleteGroupKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupKeyResponse) Reset()
- func (x *DeleteGroupKeyResponse) String() string
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupRequest) GetDeveloperKey() string
- func (x *DeleteGroupRequest) GetGroupId() uint32
- func (*DeleteGroupRequest) ProtoMessage()
- func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupRequest) Reset()
- func (x *DeleteGroupRequest) String() string
- type DeleteGroupResponse
- func (*DeleteGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupResponse) GetMessage() string
- func (x *DeleteGroupResponse) GetStatus() ResponseStatus
- func (*DeleteGroupResponse) ProtoMessage()
- func (x *DeleteGroupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupResponse) Reset()
- func (x *DeleteGroupResponse) String() string
- type DeleteUserKeyRequest
- func (*DeleteUserKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserKeyRequest) GetKeyId() uint32
- func (x *DeleteUserKeyRequest) GetUserToken() string
- func (*DeleteUserKeyRequest) ProtoMessage()
- func (x *DeleteUserKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserKeyRequest) Reset()
- func (x *DeleteUserKeyRequest) String() string
- type DeleteUserKeyResponse
- func (*DeleteUserKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserKeyResponse) GetMessage() string
- func (x *DeleteUserKeyResponse) GetStatus() ResponseStatus
- func (*DeleteUserKeyResponse) ProtoMessage()
- func (x *DeleteUserKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserKeyResponse) Reset()
- func (x *DeleteUserKeyResponse) String() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetDeveloperKey() string
- func (x *DeleteUserRequest) GetUserId() uint32
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserResponse) GetMessage() string
- func (x *DeleteUserResponse) GetStatus() ResponseStatus
- func (*DeleteUserResponse) ProtoMessage()
- func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserResponse) Reset()
- func (x *DeleteUserResponse) String() string
- type DeveloperInfo
- func (*DeveloperInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperInfo) GetCreatedAt() int64
- func (x *DeveloperInfo) GetCreatedGroupCount() int64
- func (x *DeveloperInfo) GetEmail() string
- func (x *DeveloperInfo) GetId() uint32
- func (x *DeveloperInfo) GetIsAdmin() bool
- func (x *DeveloperInfo) GetLastLoginAt() int64
- func (x *DeveloperInfo) GetManagedGroupCount() int64
- func (x *DeveloperInfo) GetMaxGroups() int32
- func (x *DeveloperInfo) GetName() string
- func (x *DeveloperInfo) GetStatus() string
- func (*DeveloperInfo) ProtoMessage()
- func (x *DeveloperInfo) ProtoReflect() protoreflect.Message
- func (x *DeveloperInfo) Reset()
- func (x *DeveloperInfo) String() string
- type DeveloperKeyAuthRequest
- func (*DeveloperKeyAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperKeyAuthRequest) GetDeveloperKey() string
- func (x *DeveloperKeyAuthRequest) GetOperation() string
- func (*DeveloperKeyAuthRequest) ProtoMessage()
- func (x *DeveloperKeyAuthRequest) ProtoReflect() protoreflect.Message
- func (x *DeveloperKeyAuthRequest) Reset()
- func (x *DeveloperKeyAuthRequest) String() string
- type DeveloperKeyAuthResponse
- func (*DeveloperKeyAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperKeyAuthResponse) GetDeveloper() *DeveloperInfo
- func (x *DeveloperKeyAuthResponse) GetExpiresAt() int64
- func (x *DeveloperKeyAuthResponse) GetMessage() string
- func (x *DeveloperKeyAuthResponse) GetPermissions() []string
- func (x *DeveloperKeyAuthResponse) GetStatus() ResponseStatus
- func (*DeveloperKeyAuthResponse) ProtoMessage()
- func (x *DeveloperKeyAuthResponse) ProtoReflect() protoreflect.Message
- func (x *DeveloperKeyAuthResponse) Reset()
- func (x *DeveloperKeyAuthResponse) String() string
- type DeveloperKeyInfo
- func (*DeveloperKeyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperKeyInfo) GetCreatedAt() int64
- func (x *DeveloperKeyInfo) GetCreatedBy() string
- func (x *DeveloperKeyInfo) GetDescription() string
- func (x *DeveloperKeyInfo) GetExpiresAt() int64
- func (x *DeveloperKeyInfo) GetId() uint32
- func (x *DeveloperKeyInfo) GetIsActive() bool
- func (x *DeveloperKeyInfo) GetKeyHash() string
- func (x *DeveloperKeyInfo) GetLastUsedAt() int64
- func (x *DeveloperKeyInfo) GetName() string
- func (x *DeveloperKeyInfo) GetType() string
- func (x *DeveloperKeyInfo) GetUsageCount() int64
- func (*DeveloperKeyInfo) ProtoMessage()
- func (x *DeveloperKeyInfo) ProtoReflect() protoreflect.Message
- func (x *DeveloperKeyInfo) Reset()
- func (x *DeveloperKeyInfo) String() string
- type DeveloperLoginRequest
- func (*DeveloperLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperLoginRequest) GetNameOrEmail() string
- func (x *DeveloperLoginRequest) GetPassword() string
- func (*DeveloperLoginRequest) ProtoMessage()
- func (x *DeveloperLoginRequest) ProtoReflect() protoreflect.Message
- func (x *DeveloperLoginRequest) Reset()
- func (x *DeveloperLoginRequest) String() string
- type DeveloperLoginResponse
- func (*DeveloperLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperLoginResponse) GetDeveloper() *DeveloperInfo
- func (x *DeveloperLoginResponse) GetExpiresAt() int64
- func (x *DeveloperLoginResponse) GetMessage() string
- func (x *DeveloperLoginResponse) GetStatus() ResponseStatus
- func (x *DeveloperLoginResponse) GetToken() string
- func (*DeveloperLoginResponse) ProtoMessage()
- func (x *DeveloperLoginResponse) ProtoReflect() protoreflect.Message
- func (x *DeveloperLoginResponse) Reset()
- func (x *DeveloperLoginResponse) String() string
- type DeveloperRegisterRequest
- func (*DeveloperRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperRegisterRequest) GetCompany() string
- func (x *DeveloperRegisterRequest) GetContactEmail() string
- func (x *DeveloperRegisterRequest) GetDescription() string
- func (x *DeveloperRegisterRequest) GetEmail() string
- func (x *DeveloperRegisterRequest) GetName() string
- func (x *DeveloperRegisterRequest) GetPassword() string
- func (x *DeveloperRegisterRequest) GetWebsite() string
- func (*DeveloperRegisterRequest) ProtoMessage()
- func (x *DeveloperRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *DeveloperRegisterRequest) Reset()
- func (x *DeveloperRegisterRequest) String() string
- type DeveloperRegisterResponse
- func (*DeveloperRegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperRegisterResponse) GetDeveloper() *DeveloperInfo
- func (x *DeveloperRegisterResponse) GetMessage() string
- func (x *DeveloperRegisterResponse) GetStatus() ResponseStatus
- func (*DeveloperRegisterResponse) ProtoMessage()
- func (x *DeveloperRegisterResponse) ProtoReflect() protoreflect.Message
- func (x *DeveloperRegisterResponse) Reset()
- func (x *DeveloperRegisterResponse) String() string
- type DeveloperServiceClient
- type DeveloperServiceServer
- type DeveloperStats
- func (*DeveloperStats) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperStats) GetActiveKeys() uint32
- func (x *DeveloperStats) GetCreatedAt() int64
- func (x *DeveloperStats) GetLastLoginAt() int64
- func (x *DeveloperStats) GetLoginCount() int64
- func (x *DeveloperStats) GetTotalGroups() uint32
- func (x *DeveloperStats) GetTotalKeys() uint32
- func (x *DeveloperStats) GetTotalUsers() uint32
- func (*DeveloperStats) ProtoMessage()
- func (x *DeveloperStats) ProtoReflect() protoreflect.Message
- func (x *DeveloperStats) Reset()
- func (x *DeveloperStats) String() string
- type GetDeveloperKeysRequest
- func (*GetDeveloperKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeveloperKeysRequest) GetDeveloperKey() string
- func (x *GetDeveloperKeysRequest) GetIncludeInactive() bool
- func (x *GetDeveloperKeysRequest) GetPage() int32
- func (x *GetDeveloperKeysRequest) GetPageSize() int32
- func (x *GetDeveloperKeysRequest) GetSearch() string
- func (*GetDeveloperKeysRequest) ProtoMessage()
- func (x *GetDeveloperKeysRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeveloperKeysRequest) Reset()
- func (x *GetDeveloperKeysRequest) String() string
- type GetDeveloperKeysResponse
- func (*GetDeveloperKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeveloperKeysResponse) GetKeys() []*DeveloperKeyInfo
- func (x *GetDeveloperKeysResponse) GetMessage() string
- func (x *GetDeveloperKeysResponse) GetPagination() *PaginationInfo
- func (x *GetDeveloperKeysResponse) GetStatus() ResponseStatus
- func (*GetDeveloperKeysResponse) ProtoMessage()
- func (x *GetDeveloperKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeveloperKeysResponse) Reset()
- func (x *GetDeveloperKeysResponse) String() string
- type GetDeveloperStatsRequest
- func (*GetDeveloperStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeveloperStatsRequest) GetDeveloperKey() string
- func (*GetDeveloperStatsRequest) ProtoMessage()
- func (x *GetDeveloperStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeveloperStatsRequest) Reset()
- func (x *GetDeveloperStatsRequest) String() string
- type GetDeveloperStatsResponse
- func (*GetDeveloperStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeveloperStatsResponse) GetMessage() string
- func (x *GetDeveloperStatsResponse) GetStats() *DeveloperStats
- func (x *GetDeveloperStatsResponse) GetStatus() ResponseStatus
- func (*GetDeveloperStatsResponse) ProtoMessage()
- func (x *GetDeveloperStatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeveloperStatsResponse) Reset()
- func (x *GetDeveloperStatsResponse) String() string
- type GetGroupDevelopersRequest
- func (*GetGroupDevelopersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupDevelopersRequest) GetDeveloperKey() string
- func (x *GetGroupDevelopersRequest) GetGroupId() uint32
- func (x *GetGroupDevelopersRequest) GetPage() int32
- func (x *GetGroupDevelopersRequest) GetPageSize() int32
- func (x *GetGroupDevelopersRequest) GetRole() string
- func (x *GetGroupDevelopersRequest) GetSearch() string
- func (*GetGroupDevelopersRequest) ProtoMessage()
- func (x *GetGroupDevelopersRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupDevelopersRequest) Reset()
- func (x *GetGroupDevelopersRequest) String() string
- type GetGroupDevelopersResponse
- func (*GetGroupDevelopersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupDevelopersResponse) GetGroupDevelopers() []*GroupDeveloperInfo
- func (x *GetGroupDevelopersResponse) GetMessage() string
- func (x *GetGroupDevelopersResponse) GetPagination() *PaginationInfo
- func (x *GetGroupDevelopersResponse) GetStatus() ResponseStatus
- func (*GetGroupDevelopersResponse) ProtoMessage()
- func (x *GetGroupDevelopersResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupDevelopersResponse) Reset()
- func (x *GetGroupDevelopersResponse) String() string
- type GetGroupKeysRequest
- func (*GetGroupKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupKeysRequest) GetDeveloperKey() string
- func (x *GetGroupKeysRequest) GetGroupId() uint32
- func (x *GetGroupKeysRequest) GetIncludeInactive() bool
- func (x *GetGroupKeysRequest) GetPage() int32
- func (x *GetGroupKeysRequest) GetPageSize() int32
- func (x *GetGroupKeysRequest) GetSearch() string
- func (*GetGroupKeysRequest) ProtoMessage()
- func (x *GetGroupKeysRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupKeysRequest) Reset()
- func (x *GetGroupKeysRequest) String() string
- type GetGroupKeysResponse
- func (*GetGroupKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupKeysResponse) GetKeys() []*GroupKeyInfo
- func (x *GetGroupKeysResponse) GetMessage() string
- func (x *GetGroupKeysResponse) GetPagination() *PaginationInfo
- func (x *GetGroupKeysResponse) GetStatus() ResponseStatus
- func (*GetGroupKeysResponse) ProtoMessage()
- func (x *GetGroupKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupKeysResponse) Reset()
- func (x *GetGroupKeysResponse) String() string
- type GetGroupRequest
- func (*GetGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupRequest) GetDeveloperKey() string
- func (x *GetGroupRequest) GetGroupId() uint32
- func (*GetGroupRequest) ProtoMessage()
- func (x *GetGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupRequest) Reset()
- func (x *GetGroupRequest) String() string
- type GetGroupResponse
- func (*GetGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupResponse) GetGroup() *GroupInfo
- func (x *GetGroupResponse) GetMessage() string
- func (x *GetGroupResponse) GetStatus() ResponseStatus
- func (*GetGroupResponse) ProtoMessage()
- func (x *GetGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupResponse) Reset()
- func (x *GetGroupResponse) String() string
- type GetGroupStatsRequest
- func (*GetGroupStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupStatsRequest) GetDeveloperKey() string
- func (x *GetGroupStatsRequest) GetGroupId() uint32
- func (*GetGroupStatsRequest) ProtoMessage()
- func (x *GetGroupStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupStatsRequest) Reset()
- func (x *GetGroupStatsRequest) String() string
- type GetGroupStatsResponse
- func (*GetGroupStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupStatsResponse) GetMessage() string
- func (x *GetGroupStatsResponse) GetStats() *GroupStats
- func (x *GetGroupStatsResponse) GetStatus() ResponseStatus
- func (*GetGroupStatsResponse) ProtoMessage()
- func (x *GetGroupStatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupStatsResponse) Reset()
- func (x *GetGroupStatsResponse) String() string
- type GetGroupUsersRequest
- func (*GetGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupUsersRequest) GetGroupId() uint32
- func (x *GetGroupUsersRequest) GetGroupKey() string
- func (x *GetGroupUsersRequest) GetPage() int32
- func (x *GetGroupUsersRequest) GetPageSize() int32
- func (x *GetGroupUsersRequest) GetRole() string
- func (x *GetGroupUsersRequest) GetSearch() string
- func (*GetGroupUsersRequest) ProtoMessage()
- func (x *GetGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupUsersRequest) Reset()
- func (x *GetGroupUsersRequest) String() string
- type GetGroupUsersResponse
- func (*GetGroupUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupUsersResponse) GetGroupUsers() []*GroupUserInfo
- func (x *GetGroupUsersResponse) GetMessage() string
- func (x *GetGroupUsersResponse) GetPagination() *PaginationInfo
- func (x *GetGroupUsersResponse) GetStatus() ResponseStatus
- func (*GetGroupUsersResponse) ProtoMessage()
- func (x *GetGroupUsersResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupUsersResponse) Reset()
- func (x *GetGroupUsersResponse) String() string
- type GetGroupsRequest
- func (*GetGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupsRequest) GetDeveloperKey() string
- func (x *GetGroupsRequest) GetPage() int32
- func (x *GetGroupsRequest) GetPageSize() int32
- func (x *GetGroupsRequest) GetSearch() string
- func (x *GetGroupsRequest) GetStatus() string
- func (*GetGroupsRequest) ProtoMessage()
- func (x *GetGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupsRequest) Reset()
- func (x *GetGroupsRequest) String() string
- type GetGroupsResponse
- func (*GetGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupsResponse) GetGroups() []*GroupInfo
- func (x *GetGroupsResponse) GetMessage() string
- func (x *GetGroupsResponse) GetPagination() *PaginationInfo
- func (x *GetGroupsResponse) GetStatus() ResponseStatus
- func (*GetGroupsResponse) ProtoMessage()
- func (x *GetGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupsResponse) Reset()
- func (x *GetGroupsResponse) String() string
- type GetUserKeyRequest
- func (*GetUserKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserKeyRequest) GetKeyId() uint32
- func (x *GetUserKeyRequest) GetUserToken() string
- func (*GetUserKeyRequest) ProtoMessage()
- func (x *GetUserKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserKeyRequest) Reset()
- func (x *GetUserKeyRequest) String() string
- type GetUserKeyResponse
- func (*GetUserKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserKeyResponse) GetKeyInfo() *UserKeyInfo
- func (x *GetUserKeyResponse) GetMessage() string
- func (x *GetUserKeyResponse) GetStatus() ResponseStatus
- func (*GetUserKeyResponse) ProtoMessage()
- func (x *GetUserKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserKeyResponse) Reset()
- func (x *GetUserKeyResponse) String() string
- type GetUserKeysRequest
- func (*GetUserKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserKeysRequest) GetIncludeInactive() bool
- func (x *GetUserKeysRequest) GetPage() int32
- func (x *GetUserKeysRequest) GetPageSize() int32
- func (x *GetUserKeysRequest) GetSearch() string
- func (x *GetUserKeysRequest) GetUserToken() string
- func (*GetUserKeysRequest) ProtoMessage()
- func (x *GetUserKeysRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserKeysRequest) Reset()
- func (x *GetUserKeysRequest) String() string
- type GetUserKeysResponse
- func (*GetUserKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserKeysResponse) GetKeys() []*UserKeyInfo
- func (x *GetUserKeysResponse) GetMessage() string
- func (x *GetUserKeysResponse) GetPagination() *PaginationInfo
- func (x *GetUserKeysResponse) GetStatus() ResponseStatus
- func (*GetUserKeysResponse) ProtoMessage()
- func (x *GetUserKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserKeysResponse) Reset()
- func (x *GetUserKeysResponse) String() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetDeveloperKey() string
- func (x *GetUserRequest) GetUserId() uint32
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetMessage() string
- func (x *GetUserResponse) GetStatus() ResponseStatus
- func (x *GetUserResponse) GetUser() *UserInfo
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type GetUserStatsRequest
- func (*GetUserStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserStatsRequest) GetUserToken() string
- func (*GetUserStatsRequest) ProtoMessage()
- func (x *GetUserStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserStatsRequest) Reset()
- func (x *GetUserStatsRequest) String() string
- type GetUserStatsResponse
- func (*GetUserStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserStatsResponse) GetMessage() string
- func (x *GetUserStatsResponse) GetStats() *UserStats
- func (x *GetUserStatsResponse) GetStatus() ResponseStatus
- func (*GetUserStatsResponse) ProtoMessage()
- func (x *GetUserStatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserStatsResponse) Reset()
- func (x *GetUserStatsResponse) String() string
- type GetUsersRequest
- func (*GetUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersRequest) GetDeveloperKey() string
- func (x *GetUsersRequest) GetPage() int32
- func (x *GetUsersRequest) GetPageSize() int32
- func (x *GetUsersRequest) GetSearch() string
- func (x *GetUsersRequest) GetStatus() string
- func (*GetUsersRequest) ProtoMessage()
- func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersRequest) Reset()
- func (x *GetUsersRequest) String() string
- type GetUsersResponse
- func (*GetUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersResponse) GetMessage() string
- func (x *GetUsersResponse) GetPagination() *PaginationInfo
- func (x *GetUsersResponse) GetStatus() ResponseStatus
- func (x *GetUsersResponse) GetUsers() []*UserInfo
- func (*GetUsersResponse) ProtoMessage()
- func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsersResponse) Reset()
- func (x *GetUsersResponse) String() string
- type GroupDeveloperInfo
- func (*GroupDeveloperInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupDeveloperInfo) GetDeveloperEmail() string
- func (x *GroupDeveloperInfo) GetDeveloperId() uint32
- func (x *GroupDeveloperInfo) GetDeveloperName() string
- func (x *GroupDeveloperInfo) GetJoinedAt() int64
- func (x *GroupDeveloperInfo) GetJoinedBy() string
- func (x *GroupDeveloperInfo) GetRole() string
- func (x *GroupDeveloperInfo) GetStatus() string
- func (*GroupDeveloperInfo) ProtoMessage()
- func (x *GroupDeveloperInfo) ProtoReflect() protoreflect.Message
- func (x *GroupDeveloperInfo) Reset()
- func (x *GroupDeveloperInfo) String() string
- type GroupInfo
- func (*GroupInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupInfo) GetCreatedAt() int64
- func (x *GroupInfo) GetDescription() string
- func (x *GroupInfo) GetDeveloperCount() uint32
- func (x *GroupInfo) GetGroupKey() string
- func (x *GroupInfo) GetId() uint32
- func (x *GroupInfo) GetIsPublic() bool
- func (x *GroupInfo) GetName() string
- func (x *GroupInfo) GetStatus() string
- func (x *GroupInfo) GetUpdatedAt() int64
- func (x *GroupInfo) GetUserCount() uint32
- func (*GroupInfo) ProtoMessage()
- func (x *GroupInfo) ProtoReflect() protoreflect.Message
- func (x *GroupInfo) Reset()
- func (x *GroupInfo) String() string
- type GroupKeyAuthRequest
- func (*GroupKeyAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupKeyAuthRequest) GetGroupKey() string
- func (x *GroupKeyAuthRequest) GetOperation() string
- func (*GroupKeyAuthRequest) ProtoMessage()
- func (x *GroupKeyAuthRequest) ProtoReflect() protoreflect.Message
- func (x *GroupKeyAuthRequest) Reset()
- func (x *GroupKeyAuthRequest) String() string
- type GroupKeyAuthResponse
- func (*GroupKeyAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupKeyAuthResponse) GetExpiresAt() int64
- func (x *GroupKeyAuthResponse) GetGroup() *GroupInfo
- func (x *GroupKeyAuthResponse) GetMessage() string
- func (x *GroupKeyAuthResponse) GetPermissions() []string
- func (x *GroupKeyAuthResponse) GetStatus() ResponseStatus
- func (*GroupKeyAuthResponse) ProtoMessage()
- func (x *GroupKeyAuthResponse) ProtoReflect() protoreflect.Message
- func (x *GroupKeyAuthResponse) Reset()
- func (x *GroupKeyAuthResponse) String() string
- type GroupKeyInfo
- func (*GroupKeyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupKeyInfo) GetCreatedAt() int64
- func (x *GroupKeyInfo) GetCreatedBy() string
- func (x *GroupKeyInfo) GetDescription() string
- func (x *GroupKeyInfo) GetExpiresAt() int64
- func (x *GroupKeyInfo) GetId() uint32
- func (x *GroupKeyInfo) GetIsActive() bool
- func (x *GroupKeyInfo) GetKeyHash() string
- func (x *GroupKeyInfo) GetLastUsedAt() int64
- func (x *GroupKeyInfo) GetName() string
- func (x *GroupKeyInfo) GetType() string
- func (x *GroupKeyInfo) GetUsageCount() int64
- func (*GroupKeyInfo) ProtoMessage()
- func (x *GroupKeyInfo) ProtoReflect() protoreflect.Message
- func (x *GroupKeyInfo) Reset()
- func (x *GroupKeyInfo) String() string
- type GroupServiceClient
- type GroupServiceServer
- type GroupStats
- func (*GroupStats) Descriptor() ([]byte, []int)deprecated
- func (x *GroupStats) GetActiveKeyCount() uint32
- func (x *GroupStats) GetCreatedAt() int64
- func (x *GroupStats) GetDeveloperCount() uint32
- func (x *GroupStats) GetKeyCount() uint32
- func (x *GroupStats) GetLastActivityAt() int64
- func (x *GroupStats) GetUserCount() uint32
- func (*GroupStats) ProtoMessage()
- func (x *GroupStats) ProtoReflect() protoreflect.Message
- func (x *GroupStats) Reset()
- func (x *GroupStats) String() string
- type GroupUserInfo
- func (*GroupUserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GroupUserInfo) GetJoinedAt() int64
- func (x *GroupUserInfo) GetJoinedBy() string
- func (x *GroupUserInfo) GetRole() string
- func (x *GroupUserInfo) GetStatus() string
- func (x *GroupUserInfo) GetUserEmail() string
- func (x *GroupUserInfo) GetUserId() uint32
- func (x *GroupUserInfo) GetUserName() string
- func (*GroupUserInfo) ProtoMessage()
- func (x *GroupUserInfo) ProtoReflect() protoreflect.Message
- func (x *GroupUserInfo) Reset()
- func (x *GroupUserInfo) String() string
- type InviteDeveloperToGroupRequest
- func (*InviteDeveloperToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InviteDeveloperToGroupRequest) GetDeveloperKey() string
- func (x *InviteDeveloperToGroupRequest) GetGroupId() uint32
- func (x *InviteDeveloperToGroupRequest) GetRole() string
- func (x *InviteDeveloperToGroupRequest) GetTargetDeveloperId() uint32
- func (*InviteDeveloperToGroupRequest) ProtoMessage()
- func (x *InviteDeveloperToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *InviteDeveloperToGroupRequest) Reset()
- func (x *InviteDeveloperToGroupRequest) String() string
- type InviteDeveloperToGroupResponse
- func (*InviteDeveloperToGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InviteDeveloperToGroupResponse) GetGroupDeveloper() *GroupDeveloperInfo
- func (x *InviteDeveloperToGroupResponse) GetMessage() string
- func (x *InviteDeveloperToGroupResponse) GetStatus() ResponseStatus
- func (*InviteDeveloperToGroupResponse) ProtoMessage()
- func (x *InviteDeveloperToGroupResponse) ProtoReflect() protoreflect.Message
- func (x *InviteDeveloperToGroupResponse) Reset()
- func (x *InviteDeveloperToGroupResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetGroupKey() string
- func (x *LoginRequest) GetName() string
- func (x *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetMessage() string
- func (x *LoginResponse) GetSuccess() bool
- func (x *LoginResponse) GetToken() string
- func (x *LoginResponse) GetUser() *Userinfo
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type PaginationInfo
- func (*PaginationInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationInfo) GetHasNext() bool
- func (x *PaginationInfo) GetHasPrev() bool
- func (x *PaginationInfo) GetPage() int32
- func (x *PaginationInfo) GetPageSize() int32
- func (x *PaginationInfo) GetTotal() int64
- func (x *PaginationInfo) GetTotalPages() int32
- func (*PaginationInfo) ProtoMessage()
- func (x *PaginationInfo) ProtoReflect() protoreflect.Message
- func (x *PaginationInfo) Reset()
- func (x *PaginationInfo) String() string
- type PublicServiceClient
- type PublicServiceServer
- type RemoveDeveloperFromGroupRequest
- func (*RemoveDeveloperFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDeveloperFromGroupRequest) GetDeveloperKey() string
- func (x *RemoveDeveloperFromGroupRequest) GetGroupId() uint32
- func (x *RemoveDeveloperFromGroupRequest) GetTargetDeveloperId() uint32
- func (*RemoveDeveloperFromGroupRequest) ProtoMessage()
- func (x *RemoveDeveloperFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDeveloperFromGroupRequest) Reset()
- func (x *RemoveDeveloperFromGroupRequest) String() string
- type RemoveDeveloperFromGroupResponse
- func (*RemoveDeveloperFromGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDeveloperFromGroupResponse) GetMessage() string
- func (x *RemoveDeveloperFromGroupResponse) GetStatus() ResponseStatus
- func (*RemoveDeveloperFromGroupResponse) ProtoMessage()
- func (x *RemoveDeveloperFromGroupResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDeveloperFromGroupResponse) Reset()
- func (x *RemoveDeveloperFromGroupResponse) String() string
- type RemoveUserFromGroupRequest
- func (*RemoveUserFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserFromGroupRequest) GetGroupId() uint32
- func (x *RemoveUserFromGroupRequest) GetGroupKey() string
- func (x *RemoveUserFromGroupRequest) GetUserId() uint32
- func (*RemoveUserFromGroupRequest) ProtoMessage()
- func (x *RemoveUserFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUserFromGroupRequest) Reset()
- func (x *RemoveUserFromGroupRequest) String() string
- type RemoveUserFromGroupResponse
- func (*RemoveUserFromGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserFromGroupResponse) GetMessage() string
- func (x *RemoveUserFromGroupResponse) GetStatus() ResponseStatus
- func (*RemoveUserFromGroupResponse) ProtoMessage()
- func (x *RemoveUserFromGroupResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveUserFromGroupResponse) Reset()
- func (x *RemoveUserFromGroupResponse) String() string
- type ResponseStatus
- func (ResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseStatus) Enum() *ResponseStatus
- func (ResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseStatus) Number() protoreflect.EnumNumber
- func (x ResponseStatus) String() string
- func (ResponseStatus) Type() protoreflect.EnumType
- type ToggleDeveloperKeyRequest
- func (*ToggleDeveloperKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleDeveloperKeyRequest) GetDeveloperKey() string
- func (x *ToggleDeveloperKeyRequest) GetIsActive() bool
- func (x *ToggleDeveloperKeyRequest) GetKeyId() uint32
- func (*ToggleDeveloperKeyRequest) ProtoMessage()
- func (x *ToggleDeveloperKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleDeveloperKeyRequest) Reset()
- func (x *ToggleDeveloperKeyRequest) String() string
- type ToggleDeveloperKeyResponse
- func (*ToggleDeveloperKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleDeveloperKeyResponse) GetKeyInfo() *DeveloperKeyInfo
- func (x *ToggleDeveloperKeyResponse) GetMessage() string
- func (x *ToggleDeveloperKeyResponse) GetStatus() ResponseStatus
- func (*ToggleDeveloperKeyResponse) ProtoMessage()
- func (x *ToggleDeveloperKeyResponse) ProtoReflect() protoreflect.Message
- func (x *ToggleDeveloperKeyResponse) Reset()
- func (x *ToggleDeveloperKeyResponse) String() string
- type ToggleGroupKeyRequest
- func (*ToggleGroupKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleGroupKeyRequest) GetDeveloperKey() string
- func (x *ToggleGroupKeyRequest) GetGroupId() uint32
- func (x *ToggleGroupKeyRequest) GetIsActive() bool
- func (x *ToggleGroupKeyRequest) GetKeyId() uint32
- func (*ToggleGroupKeyRequest) ProtoMessage()
- func (x *ToggleGroupKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleGroupKeyRequest) Reset()
- func (x *ToggleGroupKeyRequest) String() string
- type ToggleGroupKeyResponse
- func (*ToggleGroupKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleGroupKeyResponse) GetKeyInfo() *GroupKeyInfo
- func (x *ToggleGroupKeyResponse) GetMessage() string
- func (x *ToggleGroupKeyResponse) GetStatus() ResponseStatus
- func (*ToggleGroupKeyResponse) ProtoMessage()
- func (x *ToggleGroupKeyResponse) ProtoReflect() protoreflect.Message
- func (x *ToggleGroupKeyResponse) Reset()
- func (x *ToggleGroupKeyResponse) String() string
- type ToggleUserKeyRequest
- func (*ToggleUserKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleUserKeyRequest) GetIsActive() bool
- func (x *ToggleUserKeyRequest) GetKeyId() uint32
- func (x *ToggleUserKeyRequest) GetUserToken() string
- func (*ToggleUserKeyRequest) ProtoMessage()
- func (x *ToggleUserKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleUserKeyRequest) Reset()
- func (x *ToggleUserKeyRequest) String() string
- type ToggleUserKeyResponse
- func (*ToggleUserKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleUserKeyResponse) GetKeyInfo() *UserKeyInfo
- func (x *ToggleUserKeyResponse) GetMessage() string
- func (x *ToggleUserKeyResponse) GetStatus() ResponseStatus
- func (*ToggleUserKeyResponse) ProtoMessage()
- func (x *ToggleUserKeyResponse) ProtoReflect() protoreflect.Message
- func (x *ToggleUserKeyResponse) Reset()
- func (x *ToggleUserKeyResponse) String() string
- type UnimplementedDeveloperServiceServer
- func (UnimplementedDeveloperServiceServer) AddUserToGroup(context.Context, *AddUserToGroupRequest) (*AddUserToGroupResponse, error)
- func (UnimplementedDeveloperServiceServer) AuthenticateWithKey(context.Context, *DeveloperKeyAuthRequest) (*DeveloperKeyAuthResponse, error)
- func (UnimplementedDeveloperServiceServer) CreateDeveloperKey(context.Context, *CreateDeveloperKeyRequest) (*CreateDeveloperKeyResponse, error)
- func (UnimplementedDeveloperServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
- func (UnimplementedDeveloperServiceServer) CreateGroupKey(context.Context, *CreateGroupKeyRequest) (*CreateGroupKeyResponse, error)
- func (UnimplementedDeveloperServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedDeveloperServiceServer) DeleteDeveloperKey(context.Context, *DeleteDeveloperKeyRequest) (*DeleteDeveloperKeyResponse, error)
- func (UnimplementedDeveloperServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
- func (UnimplementedDeveloperServiceServer) DeleteGroupKey(context.Context, *DeleteGroupKeyRequest) (*DeleteGroupKeyResponse, error)
- func (UnimplementedDeveloperServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedDeveloperServiceServer) GetDeveloperKeys(context.Context, *GetDeveloperKeysRequest) (*GetDeveloperKeysResponse, error)
- func (UnimplementedDeveloperServiceServer) GetDeveloperStats(context.Context, *GetDeveloperStatsRequest) (*GetDeveloperStatsResponse, error)
- func (UnimplementedDeveloperServiceServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
- func (UnimplementedDeveloperServiceServer) GetGroupDevelopers(context.Context, *GetGroupDevelopersRequest) (*GetGroupDevelopersResponse, error)
- func (UnimplementedDeveloperServiceServer) GetGroupKeys(context.Context, *GetGroupKeysRequest) (*GetGroupKeysResponse, error)
- func (UnimplementedDeveloperServiceServer) GetGroupStats(context.Context, *GetGroupStatsRequest) (*GetGroupStatsResponse, error)
- func (UnimplementedDeveloperServiceServer) GetGroupUsers(context.Context, *GetGroupUsersRequest) (*GetGroupUsersResponse, error)
- func (UnimplementedDeveloperServiceServer) GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
- func (UnimplementedDeveloperServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedDeveloperServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
- func (UnimplementedDeveloperServiceServer) InviteDeveloperToGroup(context.Context, *InviteDeveloperToGroupRequest) (*InviteDeveloperToGroupResponse, error)
- func (UnimplementedDeveloperServiceServer) Login(context.Context, *DeveloperLoginRequest) (*DeveloperLoginResponse, error)
- func (UnimplementedDeveloperServiceServer) RemoveDeveloperFromGroup(context.Context, *RemoveDeveloperFromGroupRequest) (*RemoveDeveloperFromGroupResponse, error)
- func (UnimplementedDeveloperServiceServer) RemoveUserFromGroup(context.Context, *RemoveUserFromGroupRequest) (*RemoveUserFromGroupResponse, error)
- func (UnimplementedDeveloperServiceServer) ToggleDeveloperKey(context.Context, *ToggleDeveloperKeyRequest) (*ToggleDeveloperKeyResponse, error)
- func (UnimplementedDeveloperServiceServer) ToggleGroupKey(context.Context, *ToggleGroupKeyRequest) (*ToggleGroupKeyResponse, error)
- func (UnimplementedDeveloperServiceServer) UpdateDeveloperGroupRole(context.Context, *UpdateDeveloperGroupRoleRequest) (*UpdateDeveloperGroupRoleResponse, error)
- func (UnimplementedDeveloperServiceServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
- func (UnimplementedDeveloperServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- func (UnimplementedDeveloperServiceServer) UpdateUserGroupRole(context.Context, *UpdateUserGroupRoleRequest) (*UpdateUserGroupRoleResponse, error)
- type UnimplementedGroupServiceServer
- func (UnimplementedGroupServiceServer) AddUserToGroup(context.Context, *AddUserToGroupRequest) (*AddUserToGroupResponse, error)
- func (UnimplementedGroupServiceServer) AuthenticateUser(context.Context, *UserGroupAuthRequest) (*UserGroupAuthResponse, error)
- func (UnimplementedGroupServiceServer) AuthenticateWithKey(context.Context, *GroupKeyAuthRequest) (*GroupKeyAuthResponse, error)
- func (UnimplementedGroupServiceServer) GetGroupInfo(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
- func (UnimplementedGroupServiceServer) GetGroupStats(context.Context, *GetGroupStatsRequest) (*GetGroupStatsResponse, error)
- func (UnimplementedGroupServiceServer) GetGroupUsers(context.Context, *GetGroupUsersRequest) (*GetGroupUsersResponse, error)
- func (UnimplementedGroupServiceServer) RemoveUserFromGroup(context.Context, *RemoveUserFromGroupRequest) (*RemoveUserFromGroupResponse, error)
- func (UnimplementedGroupServiceServer) UpdateUserGroupRole(context.Context, *UpdateUserGroupRoleRequest) (*UpdateUserGroupRoleResponse, error)
- func (UnimplementedGroupServiceServer) UserLogin(context.Context, *LoginRequest) (*LoginResponse, error)
- type UnimplementedPublicServiceServer
- func (UnimplementedPublicServiceServer) CreateUserKey(context.Context, *CreateUserKeyRequest) (*CreateUserKeyResponse, error)
- func (UnimplementedPublicServiceServer) DeleteUserKey(context.Context, *DeleteUserKeyRequest) (*DeleteUserKeyResponse, error)
- func (UnimplementedPublicServiceServer) GetUserKey(context.Context, *GetUserKeyRequest) (*GetUserKeyResponse, error)
- func (UnimplementedPublicServiceServer) GetUserKeys(context.Context, *GetUserKeysRequest) (*GetUserKeysResponse, error)
- func (UnimplementedPublicServiceServer) GetUserStats(context.Context, *GetUserStatsRequest) (*GetUserStatsResponse, error)
- func (UnimplementedPublicServiceServer) ToggleUserKey(context.Context, *ToggleUserKeyRequest) (*ToggleUserKeyResponse, error)
- func (UnimplementedPublicServiceServer) UpdateUserKey(context.Context, *UpdateUserKeyRequest) (*UpdateUserKeyResponse, error)
- type UnsafeDeveloperServiceServer
- type UnsafeGroupServiceServer
- type UnsafePublicServiceServer
- type UpdateDeveloperGroupRoleRequest
- func (*UpdateDeveloperGroupRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeveloperGroupRoleRequest) GetDeveloperKey() string
- func (x *UpdateDeveloperGroupRoleRequest) GetGroupId() uint32
- func (x *UpdateDeveloperGroupRoleRequest) GetRole() string
- func (x *UpdateDeveloperGroupRoleRequest) GetTargetDeveloperId() uint32
- func (*UpdateDeveloperGroupRoleRequest) ProtoMessage()
- func (x *UpdateDeveloperGroupRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeveloperGroupRoleRequest) Reset()
- func (x *UpdateDeveloperGroupRoleRequest) String() string
- type UpdateDeveloperGroupRoleResponse
- func (*UpdateDeveloperGroupRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeveloperGroupRoleResponse) GetGroupDeveloper() *GroupDeveloperInfo
- func (x *UpdateDeveloperGroupRoleResponse) GetMessage() string
- func (x *UpdateDeveloperGroupRoleResponse) GetStatus() ResponseStatus
- func (*UpdateDeveloperGroupRoleResponse) ProtoMessage()
- func (x *UpdateDeveloperGroupRoleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDeveloperGroupRoleResponse) Reset()
- func (x *UpdateDeveloperGroupRoleResponse) String() string
- type UpdateGroupRequest
- func (*UpdateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupRequest) GetDescription() string
- func (x *UpdateGroupRequest) GetDeveloperKey() string
- func (x *UpdateGroupRequest) GetGroupId() uint32
- func (x *UpdateGroupRequest) GetIsPublic() bool
- func (x *UpdateGroupRequest) GetName() string
- func (x *UpdateGroupRequest) GetStatus() string
- func (*UpdateGroupRequest) ProtoMessage()
- func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupRequest) Reset()
- func (x *UpdateGroupRequest) String() string
- type UpdateGroupResponse
- func (*UpdateGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupResponse) GetGroup() *GroupInfo
- func (x *UpdateGroupResponse) GetMessage() string
- func (x *UpdateGroupResponse) GetStatus() ResponseStatus
- func (*UpdateGroupResponse) ProtoMessage()
- func (x *UpdateGroupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupResponse) Reset()
- func (x *UpdateGroupResponse) String() string
- type UpdateUserGroupRoleRequest
- func (*UpdateUserGroupRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserGroupRoleRequest) GetGroupId() uint32
- func (x *UpdateUserGroupRoleRequest) GetGroupKey() string
- func (x *UpdateUserGroupRoleRequest) GetRole() string
- func (x *UpdateUserGroupRoleRequest) GetUserId() uint32
- func (*UpdateUserGroupRoleRequest) ProtoMessage()
- func (x *UpdateUserGroupRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserGroupRoleRequest) Reset()
- func (x *UpdateUserGroupRoleRequest) String() string
- type UpdateUserGroupRoleResponse
- func (*UpdateUserGroupRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserGroupRoleResponse) GetGroupUser() *GroupUserInfo
- func (x *UpdateUserGroupRoleResponse) GetMessage() string
- func (x *UpdateUserGroupRoleResponse) GetStatus() ResponseStatus
- func (*UpdateUserGroupRoleResponse) ProtoMessage()
- func (x *UpdateUserGroupRoleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserGroupRoleResponse) Reset()
- func (x *UpdateUserGroupRoleResponse) String() string
- type UpdateUserKeyRequest
- func (*UpdateUserKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserKeyRequest) GetDescription() string
- func (x *UpdateUserKeyRequest) GetExpiresAt() int64
- func (x *UpdateUserKeyRequest) GetKeyId() uint32
- func (x *UpdateUserKeyRequest) GetName() string
- func (x *UpdateUserKeyRequest) GetUserToken() string
- func (*UpdateUserKeyRequest) ProtoMessage()
- func (x *UpdateUserKeyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserKeyRequest) Reset()
- func (x *UpdateUserKeyRequest) String() string
- type UpdateUserKeyResponse
- func (*UpdateUserKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserKeyResponse) GetKeyInfo() *UserKeyInfo
- func (x *UpdateUserKeyResponse) GetMessage() string
- func (x *UpdateUserKeyResponse) GetStatus() ResponseStatus
- func (*UpdateUserKeyResponse) ProtoMessage()
- func (x *UpdateUserKeyResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserKeyResponse) Reset()
- func (x *UpdateUserKeyResponse) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetDeveloperKey() string
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetName() string
- func (x *UpdateUserRequest) GetStatus() string
- func (x *UpdateUserRequest) GetUserId() uint32
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserResponse
- func (*UpdateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserResponse) GetMessage() string
- func (x *UpdateUserResponse) GetStatus() ResponseStatus
- func (x *UpdateUserResponse) GetUser() *UserInfo
- func (*UpdateUserResponse) ProtoMessage()
- func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserResponse) Reset()
- func (x *UpdateUserResponse) String() string
- type UserGroupAuthRequest
- func (*UserGroupAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroupAuthRequest) GetGroupKey() string
- func (x *UserGroupAuthRequest) GetUserToken() string
- func (*UserGroupAuthRequest) ProtoMessage()
- func (x *UserGroupAuthRequest) ProtoReflect() protoreflect.Message
- func (x *UserGroupAuthRequest) Reset()
- func (x *UserGroupAuthRequest) String() string
- type UserGroupAuthResponse
- func (*UserGroupAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroupAuthResponse) GetExpiresAt() int64
- func (x *UserGroupAuthResponse) GetGroupId() uint32
- func (x *UserGroupAuthResponse) GetInnerId() uint32
- func (x *UserGroupAuthResponse) GetMessage() string
- func (x *UserGroupAuthResponse) GetRole() string
- func (x *UserGroupAuthResponse) GetStatus() ResponseStatus
- func (x *UserGroupAuthResponse) GetUserId() uint32
- func (*UserGroupAuthResponse) ProtoMessage()
- func (x *UserGroupAuthResponse) ProtoReflect() protoreflect.Message
- func (x *UserGroupAuthResponse) Reset()
- func (x *UserGroupAuthResponse) String() string
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetCreatedAt() int64
- func (x *UserInfo) GetCreatedBy() string
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetGroupCount() uint32
- func (x *UserInfo) GetId() uint32
- func (x *UserInfo) GetLastLoginAt() int64
- func (x *UserInfo) GetName() string
- func (x *UserInfo) GetStatus() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type UserKeyInfo
- func (*UserKeyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserKeyInfo) GetCreatedAt() int64
- func (x *UserKeyInfo) GetCreatedBy() string
- func (x *UserKeyInfo) GetDescription() string
- func (x *UserKeyInfo) GetExpiresAt() int64
- func (x *UserKeyInfo) GetId() uint32
- func (x *UserKeyInfo) GetIsActive() bool
- func (x *UserKeyInfo) GetKeyHash() string
- func (x *UserKeyInfo) GetLastUsedAt() int64
- func (x *UserKeyInfo) GetName() string
- func (x *UserKeyInfo) GetType() string
- func (x *UserKeyInfo) GetUsageCount() int64
- func (*UserKeyInfo) ProtoMessage()
- func (x *UserKeyInfo) ProtoReflect() protoreflect.Message
- func (x *UserKeyInfo) Reset()
- func (x *UserKeyInfo) String() string
- type UserRegisterRequest
- func (*UserRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRegisterRequest) GetEmail() string
- func (x *UserRegisterRequest) GetName() string
- func (x *UserRegisterRequest) GetPassword() string
- func (*UserRegisterRequest) ProtoMessage()
- func (x *UserRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *UserRegisterRequest) Reset()
- func (x *UserRegisterRequest) String() string
- type UserRegisterResponse
- func (*UserRegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserRegisterResponse) GetMessage() string
- func (x *UserRegisterResponse) GetSuccess() bool
- func (*UserRegisterResponse) ProtoMessage()
- func (x *UserRegisterResponse) ProtoReflect() protoreflect.Message
- func (x *UserRegisterResponse) Reset()
- func (x *UserRegisterResponse) String() string
- type UserStats
- func (*UserStats) Descriptor() ([]byte, []int)deprecated
- func (x *UserStats) GetActiveKeys() uint32
- func (x *UserStats) GetCreatedAt() int64
- func (x *UserStats) GetGroupCount() uint32
- func (x *UserStats) GetLastKeyUsedAt() int64
- func (x *UserStats) GetLastLoginAt() int64
- func (x *UserStats) GetLoginCount() int64
- func (x *UserStats) GetTotalKeys() uint32
- func (*UserStats) ProtoMessage()
- func (x *UserStats) ProtoReflect() protoreflect.Message
- func (x *UserStats) Reset()
- func (x *UserStats) String() string
- type Userinfo
Constants ¶
const ( DeveloperService_AuthenticateWithKey_FullMethodName = "/usermodel.DeveloperService/AuthenticateWithKey" DeveloperService_Login_FullMethodName = "/usermodel.DeveloperService/Login" DeveloperService_CreateDeveloperKey_FullMethodName = "/usermodel.DeveloperService/CreateDeveloperKey" DeveloperService_GetDeveloperKeys_FullMethodName = "/usermodel.DeveloperService/GetDeveloperKeys" DeveloperService_DeleteDeveloperKey_FullMethodName = "/usermodel.DeveloperService/DeleteDeveloperKey" DeveloperService_ToggleDeveloperKey_FullMethodName = "/usermodel.DeveloperService/ToggleDeveloperKey" DeveloperService_CreateGroup_FullMethodName = "/usermodel.DeveloperService/CreateGroup" DeveloperService_GetGroups_FullMethodName = "/usermodel.DeveloperService/GetGroups" DeveloperService_GetGroup_FullMethodName = "/usermodel.DeveloperService/GetGroup" DeveloperService_UpdateGroup_FullMethodName = "/usermodel.DeveloperService/UpdateGroup" DeveloperService_DeleteGroup_FullMethodName = "/usermodel.DeveloperService/DeleteGroup" DeveloperService_CreateUser_FullMethodName = "/usermodel.DeveloperService/CreateUser" DeveloperService_GetUsers_FullMethodName = "/usermodel.DeveloperService/GetUsers" DeveloperService_GetUser_FullMethodName = "/usermodel.DeveloperService/GetUser" DeveloperService_UpdateUser_FullMethodName = "/usermodel.DeveloperService/UpdateUser" DeveloperService_DeleteUser_FullMethodName = "/usermodel.DeveloperService/DeleteUser" DeveloperService_AddUserToGroup_FullMethodName = "/usermodel.DeveloperService/AddUserToGroup" DeveloperService_RemoveUserFromGroup_FullMethodName = "/usermodel.DeveloperService/RemoveUserFromGroup" DeveloperService_UpdateUserGroupRole_FullMethodName = "/usermodel.DeveloperService/UpdateUserGroupRole" DeveloperService_GetGroupUsers_FullMethodName = "/usermodel.DeveloperService/GetGroupUsers" DeveloperService_InviteDeveloperToGroup_FullMethodName = "/usermodel.DeveloperService/InviteDeveloperToGroup" DeveloperService_RemoveDeveloperFromGroup_FullMethodName = "/usermodel.DeveloperService/RemoveDeveloperFromGroup" DeveloperService_UpdateDeveloperGroupRole_FullMethodName = "/usermodel.DeveloperService/UpdateDeveloperGroupRole" DeveloperService_GetGroupDevelopers_FullMethodName = "/usermodel.DeveloperService/GetGroupDevelopers" DeveloperService_CreateGroupKey_FullMethodName = "/usermodel.DeveloperService/CreateGroupKey" DeveloperService_GetGroupKeys_FullMethodName = "/usermodel.DeveloperService/GetGroupKeys" DeveloperService_DeleteGroupKey_FullMethodName = "/usermodel.DeveloperService/DeleteGroupKey" DeveloperService_ToggleGroupKey_FullMethodName = "/usermodel.DeveloperService/ToggleGroupKey" DeveloperService_GetDeveloperStats_FullMethodName = "/usermodel.DeveloperService/GetDeveloperStats" DeveloperService_GetGroupStats_FullMethodName = "/usermodel.DeveloperService/GetGroupStats" )
const ( GroupService_AuthenticateWithKey_FullMethodName = "/usermodel.GroupService/AuthenticateWithKey" GroupService_AuthenticateUser_FullMethodName = "/usermodel.GroupService/AuthenticateUser" GroupService_UserLogin_FullMethodName = "/usermodel.GroupService/UserLogin" GroupService_GetGroupInfo_FullMethodName = "/usermodel.GroupService/GetGroupInfo" GroupService_GetGroupUsers_FullMethodName = "/usermodel.GroupService/GetGroupUsers" GroupService_GetGroupStats_FullMethodName = "/usermodel.GroupService/GetGroupStats" GroupService_AddUserToGroup_FullMethodName = "/usermodel.GroupService/AddUserToGroup" GroupService_RemoveUserFromGroup_FullMethodName = "/usermodel.GroupService/RemoveUserFromGroup" GroupService_UpdateUserGroupRole_FullMethodName = "/usermodel.GroupService/UpdateUserGroupRole" )
const ( PublicService_CreateUserKey_FullMethodName = "/usermodel.PublicService/CreateUserKey" PublicService_GetUserKeys_FullMethodName = "/usermodel.PublicService/GetUserKeys" PublicService_GetUserKey_FullMethodName = "/usermodel.PublicService/GetUserKey" PublicService_UpdateUserKey_FullMethodName = "/usermodel.PublicService/UpdateUserKey" PublicService_DeleteUserKey_FullMethodName = "/usermodel.PublicService/DeleteUserKey" PublicService_ToggleUserKey_FullMethodName = "/usermodel.PublicService/ToggleUserKey" PublicService_GetUserStats_FullMethodName = "/usermodel.PublicService/GetUserStats" )
Variables ¶
var ( ResponseStatus_name = map[int32]string{ 0: "SUCCESS", 1: "ERROR", 2: "UNAUTHORIZED", 3: "FORBIDDEN", 4: "NOT_FOUND", 5: "INVALID_PARAMETER", 6: "INTERNAL_ERROR", } ResponseStatus_value = map[string]int32{ "SUCCESS": 0, "ERROR": 1, "UNAUTHORIZED": 2, "FORBIDDEN": 3, "NOT_FOUND": 4, "INVALID_PARAMETER": 5, "INTERNAL_ERROR": 6, } )
Enum value maps for ResponseStatus.
var DeveloperService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "usermodel.DeveloperService", HandlerType: (*DeveloperServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AuthenticateWithKey", Handler: _DeveloperService_AuthenticateWithKey_Handler, }, { MethodName: "Login", Handler: _DeveloperService_Login_Handler, }, { MethodName: "CreateDeveloperKey", Handler: _DeveloperService_CreateDeveloperKey_Handler, }, { MethodName: "GetDeveloperKeys", Handler: _DeveloperService_GetDeveloperKeys_Handler, }, { MethodName: "DeleteDeveloperKey", Handler: _DeveloperService_DeleteDeveloperKey_Handler, }, { MethodName: "ToggleDeveloperKey", Handler: _DeveloperService_ToggleDeveloperKey_Handler, }, { MethodName: "CreateGroup", Handler: _DeveloperService_CreateGroup_Handler, }, { MethodName: "GetGroups", Handler: _DeveloperService_GetGroups_Handler, }, { MethodName: "GetGroup", Handler: _DeveloperService_GetGroup_Handler, }, { MethodName: "UpdateGroup", Handler: _DeveloperService_UpdateGroup_Handler, }, { MethodName: "DeleteGroup", Handler: _DeveloperService_DeleteGroup_Handler, }, { MethodName: "CreateUser", Handler: _DeveloperService_CreateUser_Handler, }, { MethodName: "GetUsers", Handler: _DeveloperService_GetUsers_Handler, }, { MethodName: "GetUser", Handler: _DeveloperService_GetUser_Handler, }, { MethodName: "UpdateUser", Handler: _DeveloperService_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _DeveloperService_DeleteUser_Handler, }, { MethodName: "AddUserToGroup", Handler: _DeveloperService_AddUserToGroup_Handler, }, { MethodName: "RemoveUserFromGroup", Handler: _DeveloperService_RemoveUserFromGroup_Handler, }, { MethodName: "UpdateUserGroupRole", Handler: _DeveloperService_UpdateUserGroupRole_Handler, }, { MethodName: "GetGroupUsers", Handler: _DeveloperService_GetGroupUsers_Handler, }, { MethodName: "InviteDeveloperToGroup", Handler: _DeveloperService_InviteDeveloperToGroup_Handler, }, { MethodName: "RemoveDeveloperFromGroup", Handler: _DeveloperService_RemoveDeveloperFromGroup_Handler, }, { MethodName: "UpdateDeveloperGroupRole", Handler: _DeveloperService_UpdateDeveloperGroupRole_Handler, }, { MethodName: "GetGroupDevelopers", Handler: _DeveloperService_GetGroupDevelopers_Handler, }, { MethodName: "CreateGroupKey", Handler: _DeveloperService_CreateGroupKey_Handler, }, { MethodName: "GetGroupKeys", Handler: _DeveloperService_GetGroupKeys_Handler, }, { MethodName: "DeleteGroupKey", Handler: _DeveloperService_DeleteGroupKey_Handler, }, { MethodName: "ToggleGroupKey", Handler: _DeveloperService_ToggleGroupKey_Handler, }, { MethodName: "GetDeveloperStats", Handler: _DeveloperService_GetDeveloperStats_Handler, }, { MethodName: "GetGroupStats", Handler: _DeveloperService_GetGroupStats_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api.proto", }
DeveloperService_ServiceDesc is the grpc.ServiceDesc for DeveloperService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_proto protoreflect.FileDescriptor
var GroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "usermodel.GroupService", HandlerType: (*GroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AuthenticateWithKey", Handler: _GroupService_AuthenticateWithKey_Handler, }, { MethodName: "AuthenticateUser", Handler: _GroupService_AuthenticateUser_Handler, }, { MethodName: "UserLogin", Handler: _GroupService_UserLogin_Handler, }, { MethodName: "GetGroupInfo", Handler: _GroupService_GetGroupInfo_Handler, }, { MethodName: "GetGroupUsers", Handler: _GroupService_GetGroupUsers_Handler, }, { MethodName: "GetGroupStats", Handler: _GroupService_GetGroupStats_Handler, }, { MethodName: "AddUserToGroup", Handler: _GroupService_AddUserToGroup_Handler, }, { MethodName: "RemoveUserFromGroup", Handler: _GroupService_RemoveUserFromGroup_Handler, }, { MethodName: "UpdateUserGroupRole", Handler: _GroupService_UpdateUserGroupRole_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api.proto", }
GroupService_ServiceDesc is the grpc.ServiceDesc for GroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PublicService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "usermodel.PublicService", HandlerType: (*PublicServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUserKey", Handler: _PublicService_CreateUserKey_Handler, }, { MethodName: "GetUserKeys", Handler: _PublicService_GetUserKeys_Handler, }, { MethodName: "GetUserKey", Handler: _PublicService_GetUserKey_Handler, }, { MethodName: "UpdateUserKey", Handler: _PublicService_UpdateUserKey_Handler, }, { MethodName: "DeleteUserKey", Handler: _PublicService_DeleteUserKey_Handler, }, { MethodName: "ToggleUserKey", Handler: _PublicService_ToggleUserKey_Handler, }, { MethodName: "GetUserStats", Handler: _PublicService_GetUserStats_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api.proto", }
PublicService_ServiceDesc is the grpc.ServiceDesc for PublicService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDeveloperServiceServer ¶
func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)
func RegisterGroupServiceServer ¶
func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
func RegisterPublicServiceServer ¶
func RegisterPublicServiceServer(s grpc.ServiceRegistrar, srv PublicServiceServer)
Types ¶
type AddUserToGroupRequest ¶
type AddUserToGroupRequest struct {
GroupKey string `protobuf:"bytes,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // 用于认证的组密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
UserId uint32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // 可选,默认member
// contains filtered or unexported fields
}
添加用户到组请求
func (*AddUserToGroupRequest) Descriptor
deprecated
func (*AddUserToGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserToGroupRequest.ProtoReflect.Descriptor instead.
func (*AddUserToGroupRequest) GetGroupId ¶
func (x *AddUserToGroupRequest) GetGroupId() uint32
func (*AddUserToGroupRequest) GetGroupKey ¶
func (x *AddUserToGroupRequest) GetGroupKey() string
func (*AddUserToGroupRequest) GetRole ¶
func (x *AddUserToGroupRequest) GetRole() string
func (*AddUserToGroupRequest) GetUserId ¶
func (x *AddUserToGroupRequest) GetUserId() uint32
func (*AddUserToGroupRequest) ProtoMessage ¶
func (*AddUserToGroupRequest) ProtoMessage()
func (*AddUserToGroupRequest) ProtoReflect ¶
func (x *AddUserToGroupRequest) ProtoReflect() protoreflect.Message
func (*AddUserToGroupRequest) Reset ¶
func (x *AddUserToGroupRequest) Reset()
func (*AddUserToGroupRequest) String ¶
func (x *AddUserToGroupRequest) String() string
type AddUserToGroupResponse ¶
type AddUserToGroupResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
GroupUser *GroupUserInfo `protobuf:"bytes,3,opt,name=group_user,json=groupUser,proto3" json:"group_user,omitempty"`
// contains filtered or unexported fields
}
添加用户到组响应
func (*AddUserToGroupResponse) Descriptor
deprecated
func (*AddUserToGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddUserToGroupResponse.ProtoReflect.Descriptor instead.
func (*AddUserToGroupResponse) GetGroupUser ¶
func (x *AddUserToGroupResponse) GetGroupUser() *GroupUserInfo
func (*AddUserToGroupResponse) GetMessage ¶
func (x *AddUserToGroupResponse) GetMessage() string
func (*AddUserToGroupResponse) GetStatus ¶
func (x *AddUserToGroupResponse) GetStatus() ResponseStatus
func (*AddUserToGroupResponse) ProtoMessage ¶
func (*AddUserToGroupResponse) ProtoMessage()
func (*AddUserToGroupResponse) ProtoReflect ¶
func (x *AddUserToGroupResponse) ProtoReflect() protoreflect.Message
func (*AddUserToGroupResponse) Reset ¶
func (x *AddUserToGroupResponse) Reset()
func (*AddUserToGroupResponse) String ¶
func (x *AddUserToGroupResponse) String() string
type CommonResponse ¶
type CommonResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
通用响应消息
func (*CommonResponse) Descriptor
deprecated
func (*CommonResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.
func (*CommonResponse) GetMessage ¶
func (x *CommonResponse) GetMessage() string
func (*CommonResponse) GetRequestId ¶
func (x *CommonResponse) GetRequestId() string
func (*CommonResponse) GetStatus ¶
func (x *CommonResponse) GetStatus() ResponseStatus
func (*CommonResponse) GetTimestamp ¶
func (x *CommonResponse) GetTimestamp() int64
func (*CommonResponse) ProtoMessage ¶
func (*CommonResponse) ProtoMessage()
func (*CommonResponse) ProtoReflect ¶
func (x *CommonResponse) ProtoReflect() protoreflect.Message
func (*CommonResponse) Reset ¶
func (x *CommonResponse) Reset()
func (*CommonResponse) String ¶
func (x *CommonResponse) String() string
type CreateDeveloperKeyRequest ¶
type CreateDeveloperKeyRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 可选
ExpiresAt int64 `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 可选,0表示永不过期
// contains filtered or unexported fields
}
创建开发者密钥请求
func (*CreateDeveloperKeyRequest) Descriptor
deprecated
func (*CreateDeveloperKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeveloperKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateDeveloperKeyRequest) GetDescription ¶
func (x *CreateDeveloperKeyRequest) GetDescription() string
func (*CreateDeveloperKeyRequest) GetDeveloperKey ¶
func (x *CreateDeveloperKeyRequest) GetDeveloperKey() string
func (*CreateDeveloperKeyRequest) GetExpiresAt ¶
func (x *CreateDeveloperKeyRequest) GetExpiresAt() int64
func (*CreateDeveloperKeyRequest) GetName ¶
func (x *CreateDeveloperKeyRequest) GetName() string
func (*CreateDeveloperKeyRequest) ProtoMessage ¶
func (*CreateDeveloperKeyRequest) ProtoMessage()
func (*CreateDeveloperKeyRequest) ProtoReflect ¶
func (x *CreateDeveloperKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateDeveloperKeyRequest) Reset ¶
func (x *CreateDeveloperKeyRequest) Reset()
func (*CreateDeveloperKeyRequest) String ¶
func (x *CreateDeveloperKeyRequest) String() string
type CreateDeveloperKeyResponse ¶
type CreateDeveloperKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
KeyInfo *DeveloperKeyInfo `protobuf:"bytes,3,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"`
KeyValue string `protobuf:"bytes,4,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` // 新创建的密钥值(仅返回一次)
// contains filtered or unexported fields
}
创建开发者密钥响应
func (*CreateDeveloperKeyResponse) Descriptor
deprecated
func (*CreateDeveloperKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeveloperKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateDeveloperKeyResponse) GetKeyInfo ¶
func (x *CreateDeveloperKeyResponse) GetKeyInfo() *DeveloperKeyInfo
func (*CreateDeveloperKeyResponse) GetKeyValue ¶
func (x *CreateDeveloperKeyResponse) GetKeyValue() string
func (*CreateDeveloperKeyResponse) GetMessage ¶
func (x *CreateDeveloperKeyResponse) GetMessage() string
func (*CreateDeveloperKeyResponse) GetStatus ¶
func (x *CreateDeveloperKeyResponse) GetStatus() ResponseStatus
func (*CreateDeveloperKeyResponse) ProtoMessage ¶
func (*CreateDeveloperKeyResponse) ProtoMessage()
func (*CreateDeveloperKeyResponse) ProtoReflect ¶
func (x *CreateDeveloperKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateDeveloperKeyResponse) Reset ¶
func (x *CreateDeveloperKeyResponse) Reset()
func (*CreateDeveloperKeyResponse) String ¶
func (x *CreateDeveloperKeyResponse) String() string
type CreateGroupKeyRequest ¶
type CreateGroupKeyRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 可选
ExpiresAt int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 可选,0表示永不过期
// contains filtered or unexported fields
}
创建组密钥请求
func (*CreateGroupKeyRequest) Descriptor
deprecated
func (*CreateGroupKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupKeyRequest) GetDescription ¶
func (x *CreateGroupKeyRequest) GetDescription() string
func (*CreateGroupKeyRequest) GetDeveloperKey ¶
func (x *CreateGroupKeyRequest) GetDeveloperKey() string
func (*CreateGroupKeyRequest) GetExpiresAt ¶
func (x *CreateGroupKeyRequest) GetExpiresAt() int64
func (*CreateGroupKeyRequest) GetGroupId ¶
func (x *CreateGroupKeyRequest) GetGroupId() uint32
func (*CreateGroupKeyRequest) GetName ¶
func (x *CreateGroupKeyRequest) GetName() string
func (*CreateGroupKeyRequest) ProtoMessage ¶
func (*CreateGroupKeyRequest) ProtoMessage()
func (*CreateGroupKeyRequest) ProtoReflect ¶
func (x *CreateGroupKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupKeyRequest) Reset ¶
func (x *CreateGroupKeyRequest) Reset()
func (*CreateGroupKeyRequest) String ¶
func (x *CreateGroupKeyRequest) String() string
type CreateGroupKeyResponse ¶
type CreateGroupKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
KeyInfo *GroupKeyInfo `protobuf:"bytes,3,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"`
KeyValue string `protobuf:"bytes,4,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` // 新创建的密钥值(仅返回一次)
// contains filtered or unexported fields
}
创建组密钥响应
func (*CreateGroupKeyResponse) Descriptor
deprecated
func (*CreateGroupKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateGroupKeyResponse) GetKeyInfo ¶
func (x *CreateGroupKeyResponse) GetKeyInfo() *GroupKeyInfo
func (*CreateGroupKeyResponse) GetKeyValue ¶
func (x *CreateGroupKeyResponse) GetKeyValue() string
func (*CreateGroupKeyResponse) GetMessage ¶
func (x *CreateGroupKeyResponse) GetMessage() string
func (*CreateGroupKeyResponse) GetStatus ¶
func (x *CreateGroupKeyResponse) GetStatus() ResponseStatus
func (*CreateGroupKeyResponse) ProtoMessage ¶
func (*CreateGroupKeyResponse) ProtoMessage()
func (*CreateGroupKeyResponse) ProtoReflect ¶
func (x *CreateGroupKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateGroupKeyResponse) Reset ¶
func (x *CreateGroupKeyResponse) Reset()
func (*CreateGroupKeyResponse) String ¶
func (x *CreateGroupKeyResponse) String() string
type CreateGroupRequest ¶
type CreateGroupRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 可选
IsPublic bool `protobuf:"varint,4,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // 可选,默认false
// contains filtered or unexported fields
}
创建组请求
func (*CreateGroupRequest) Descriptor
deprecated
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupRequest) GetDescription ¶
func (x *CreateGroupRequest) GetDescription() string
func (*CreateGroupRequest) GetDeveloperKey ¶
func (x *CreateGroupRequest) GetDeveloperKey() string
func (*CreateGroupRequest) GetIsPublic ¶
func (x *CreateGroupRequest) GetIsPublic() bool
func (*CreateGroupRequest) GetName ¶
func (x *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) ProtoReflect ¶
func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupRequest) Reset ¶
func (x *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (x *CreateGroupRequest) String() string
type CreateGroupResponse ¶
type CreateGroupResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Group *GroupInfo `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
GroupKey string `protobuf:"bytes,4,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // 新创建的组密钥
// contains filtered or unexported fields
}
创建组响应
func (*CreateGroupResponse) Descriptor
deprecated
func (*CreateGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.
func (*CreateGroupResponse) GetGroup ¶
func (x *CreateGroupResponse) GetGroup() *GroupInfo
func (*CreateGroupResponse) GetGroupKey ¶
func (x *CreateGroupResponse) GetGroupKey() string
func (*CreateGroupResponse) GetMessage ¶
func (x *CreateGroupResponse) GetMessage() string
func (*CreateGroupResponse) GetStatus ¶
func (x *CreateGroupResponse) GetStatus() ResponseStatus
func (*CreateGroupResponse) ProtoMessage ¶
func (*CreateGroupResponse) ProtoMessage()
func (*CreateGroupResponse) ProtoReflect ¶
func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
func (*CreateGroupResponse) Reset ¶
func (x *CreateGroupResponse) Reset()
func (*CreateGroupResponse) String ¶
func (x *CreateGroupResponse) String() string
type CreateUserKeyRequest ¶
type CreateUserKeyRequest struct {
UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // 用户JWT token
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 可选
ExpiresAt int64 `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 可选,0表示永不过期
// contains filtered or unexported fields
}
创建用户密钥请求
func (*CreateUserKeyRequest) Descriptor
deprecated
func (*CreateUserKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateUserKeyRequest) GetDescription ¶
func (x *CreateUserKeyRequest) GetDescription() string
func (*CreateUserKeyRequest) GetExpiresAt ¶
func (x *CreateUserKeyRequest) GetExpiresAt() int64
func (*CreateUserKeyRequest) GetName ¶
func (x *CreateUserKeyRequest) GetName() string
func (*CreateUserKeyRequest) GetUserToken ¶
func (x *CreateUserKeyRequest) GetUserToken() string
func (*CreateUserKeyRequest) ProtoMessage ¶
func (*CreateUserKeyRequest) ProtoMessage()
func (*CreateUserKeyRequest) ProtoReflect ¶
func (x *CreateUserKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateUserKeyRequest) Reset ¶
func (x *CreateUserKeyRequest) Reset()
func (*CreateUserKeyRequest) String ¶
func (x *CreateUserKeyRequest) String() string
type CreateUserKeyResponse ¶
type CreateUserKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
KeyInfo *UserKeyInfo `protobuf:"bytes,3,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"`
KeyValue string `protobuf:"bytes,4,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` // 新创建的密钥值(仅返回一次)
// contains filtered or unexported fields
}
创建用户密钥响应
func (*CreateUserKeyResponse) Descriptor
deprecated
func (*CreateUserKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateUserKeyResponse) GetKeyInfo ¶
func (x *CreateUserKeyResponse) GetKeyInfo() *UserKeyInfo
func (*CreateUserKeyResponse) GetKeyValue ¶
func (x *CreateUserKeyResponse) GetKeyValue() string
func (*CreateUserKeyResponse) GetMessage ¶
func (x *CreateUserKeyResponse) GetMessage() string
func (*CreateUserKeyResponse) GetStatus ¶
func (x *CreateUserKeyResponse) GetStatus() ResponseStatus
func (*CreateUserKeyResponse) ProtoMessage ¶
func (*CreateUserKeyResponse) ProtoMessage()
func (*CreateUserKeyResponse) ProtoReflect ¶
func (x *CreateUserKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateUserKeyResponse) Reset ¶
func (x *CreateUserKeyResponse) Reset()
func (*CreateUserKeyResponse) String ¶
func (x *CreateUserKeyResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // 可选,不提供则生成随机密码
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // 可选,默认active
// contains filtered or unexported fields
}
创建用户请求
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetDeveloperKey ¶
func (x *CreateUserRequest) GetDeveloperKey() string
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetName ¶
func (x *CreateUserRequest) GetName() string
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) GetStatus ¶
func (x *CreateUserRequest) GetStatus() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
User *UserInfo `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // 生成的密码(如果未提供)
// contains filtered or unexported fields
}
创建用户响应
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetMessage ¶
func (x *CreateUserResponse) GetMessage() string
func (*CreateUserResponse) GetPassword ¶
func (x *CreateUserResponse) GetPassword() string
func (*CreateUserResponse) GetStatus ¶
func (x *CreateUserResponse) GetStatus() ResponseStatus
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *UserInfo
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DeleteDeveloperKeyRequest ¶
type DeleteDeveloperKeyRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
删除开发者密钥请求
func (*DeleteDeveloperKeyRequest) Descriptor
deprecated
func (*DeleteDeveloperKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeveloperKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeveloperKeyRequest) GetDeveloperKey ¶
func (x *DeleteDeveloperKeyRequest) GetDeveloperKey() string
func (*DeleteDeveloperKeyRequest) GetKeyId ¶
func (x *DeleteDeveloperKeyRequest) GetKeyId() uint32
func (*DeleteDeveloperKeyRequest) ProtoMessage ¶
func (*DeleteDeveloperKeyRequest) ProtoMessage()
func (*DeleteDeveloperKeyRequest) ProtoReflect ¶
func (x *DeleteDeveloperKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeveloperKeyRequest) Reset ¶
func (x *DeleteDeveloperKeyRequest) Reset()
func (*DeleteDeveloperKeyRequest) String ¶
func (x *DeleteDeveloperKeyRequest) String() string
type DeleteDeveloperKeyResponse ¶
type DeleteDeveloperKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
删除开发者密钥响应
func (*DeleteDeveloperKeyResponse) Descriptor
deprecated
func (*DeleteDeveloperKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeveloperKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteDeveloperKeyResponse) GetMessage ¶
func (x *DeleteDeveloperKeyResponse) GetMessage() string
func (*DeleteDeveloperKeyResponse) GetStatus ¶
func (x *DeleteDeveloperKeyResponse) GetStatus() ResponseStatus
func (*DeleteDeveloperKeyResponse) ProtoMessage ¶
func (*DeleteDeveloperKeyResponse) ProtoMessage()
func (*DeleteDeveloperKeyResponse) ProtoReflect ¶
func (x *DeleteDeveloperKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteDeveloperKeyResponse) Reset ¶
func (x *DeleteDeveloperKeyResponse) Reset()
func (*DeleteDeveloperKeyResponse) String ¶
func (x *DeleteDeveloperKeyResponse) String() string
type DeleteGroupKeyRequest ¶
type DeleteGroupKeyRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
KeyId uint32 `protobuf:"varint,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
删除组密钥请求
func (*DeleteGroupKeyRequest) Descriptor
deprecated
func (*DeleteGroupKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupKeyRequest) GetDeveloperKey ¶
func (x *DeleteGroupKeyRequest) GetDeveloperKey() string
func (*DeleteGroupKeyRequest) GetGroupId ¶
func (x *DeleteGroupKeyRequest) GetGroupId() uint32
func (*DeleteGroupKeyRequest) GetKeyId ¶
func (x *DeleteGroupKeyRequest) GetKeyId() uint32
func (*DeleteGroupKeyRequest) ProtoMessage ¶
func (*DeleteGroupKeyRequest) ProtoMessage()
func (*DeleteGroupKeyRequest) ProtoReflect ¶
func (x *DeleteGroupKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupKeyRequest) Reset ¶
func (x *DeleteGroupKeyRequest) Reset()
func (*DeleteGroupKeyRequest) String ¶
func (x *DeleteGroupKeyRequest) String() string
type DeleteGroupKeyResponse ¶
type DeleteGroupKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
删除组密钥响应
func (*DeleteGroupKeyResponse) Descriptor
deprecated
func (*DeleteGroupKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteGroupKeyResponse) GetMessage ¶
func (x *DeleteGroupKeyResponse) GetMessage() string
func (*DeleteGroupKeyResponse) GetStatus ¶
func (x *DeleteGroupKeyResponse) GetStatus() ResponseStatus
func (*DeleteGroupKeyResponse) ProtoMessage ¶
func (*DeleteGroupKeyResponse) ProtoMessage()
func (*DeleteGroupKeyResponse) ProtoReflect ¶
func (x *DeleteGroupKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteGroupKeyResponse) Reset ¶
func (x *DeleteGroupKeyResponse) Reset()
func (*DeleteGroupKeyResponse) String ¶
func (x *DeleteGroupKeyResponse) String() string
type DeleteGroupRequest ¶
type DeleteGroupRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
删除组请求
func (*DeleteGroupRequest) Descriptor
deprecated
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupRequest) GetDeveloperKey ¶
func (x *DeleteGroupRequest) GetDeveloperKey() string
func (*DeleteGroupRequest) GetGroupId ¶
func (x *DeleteGroupRequest) GetGroupId() uint32
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) ProtoReflect ¶
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupRequest) Reset ¶
func (x *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (x *DeleteGroupRequest) String() string
type DeleteGroupResponse ¶
type DeleteGroupResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
删除组响应
func (*DeleteGroupResponse) Descriptor
deprecated
func (*DeleteGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.
func (*DeleteGroupResponse) GetMessage ¶
func (x *DeleteGroupResponse) GetMessage() string
func (*DeleteGroupResponse) GetStatus ¶
func (x *DeleteGroupResponse) GetStatus() ResponseStatus
func (*DeleteGroupResponse) ProtoMessage ¶
func (*DeleteGroupResponse) ProtoMessage()
func (*DeleteGroupResponse) ProtoReflect ¶
func (x *DeleteGroupResponse) ProtoReflect() protoreflect.Message
func (*DeleteGroupResponse) Reset ¶
func (x *DeleteGroupResponse) Reset()
func (*DeleteGroupResponse) String ¶
func (x *DeleteGroupResponse) String() string
type DeleteUserKeyRequest ¶
type DeleteUserKeyRequest struct {
UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // 用户JWT token
KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
删除用户密钥请求
func (*DeleteUserKeyRequest) Descriptor
deprecated
func (*DeleteUserKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserKeyRequest) GetKeyId ¶
func (x *DeleteUserKeyRequest) GetKeyId() uint32
func (*DeleteUserKeyRequest) GetUserToken ¶
func (x *DeleteUserKeyRequest) GetUserToken() string
func (*DeleteUserKeyRequest) ProtoMessage ¶
func (*DeleteUserKeyRequest) ProtoMessage()
func (*DeleteUserKeyRequest) ProtoReflect ¶
func (x *DeleteUserKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserKeyRequest) Reset ¶
func (x *DeleteUserKeyRequest) Reset()
func (*DeleteUserKeyRequest) String ¶
func (x *DeleteUserKeyRequest) String() string
type DeleteUserKeyResponse ¶
type DeleteUserKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
删除用户密钥响应
func (*DeleteUserKeyResponse) Descriptor
deprecated
func (*DeleteUserKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserKeyResponse) GetMessage ¶
func (x *DeleteUserKeyResponse) GetMessage() string
func (*DeleteUserKeyResponse) GetStatus ¶
func (x *DeleteUserKeyResponse) GetStatus() ResponseStatus
func (*DeleteUserKeyResponse) ProtoMessage ¶
func (*DeleteUserKeyResponse) ProtoMessage()
func (*DeleteUserKeyResponse) ProtoReflect ¶
func (x *DeleteUserKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserKeyResponse) Reset ¶
func (x *DeleteUserKeyResponse) Reset()
func (*DeleteUserKeyResponse) String ¶
func (x *DeleteUserKeyResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
删除用户请求
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetDeveloperKey ¶
func (x *DeleteUserRequest) GetDeveloperKey() string
func (*DeleteUserRequest) GetUserId ¶
func (x *DeleteUserRequest) GetUserId() uint32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
删除用户响应
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) GetMessage ¶
func (x *DeleteUserResponse) GetMessage() string
func (*DeleteUserResponse) GetStatus ¶
func (x *DeleteUserResponse) GetStatus() ResponseStatus
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type DeveloperInfo ¶
type DeveloperInfo struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
IsAdmin bool `protobuf:"varint,4,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
MaxGroups int32 `protobuf:"varint,6,opt,name=max_groups,json=maxGroups,proto3" json:"max_groups,omitempty"`
CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
LastLoginAt int64 `protobuf:"varint,8,opt,name=last_login_at,json=lastLoginAt,proto3" json:"last_login_at,omitempty"`
CreatedGroupCount int64 `protobuf:"varint,9,opt,name=created_group_count,json=createdGroupCount,proto3" json:"created_group_count,omitempty"`
ManagedGroupCount int64 `protobuf:"varint,10,opt,name=managed_group_count,json=managedGroupCount,proto3" json:"managed_group_count,omitempty"`
// contains filtered or unexported fields
}
开发者信息
func (*DeveloperInfo) Descriptor
deprecated
func (*DeveloperInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperInfo.ProtoReflect.Descriptor instead.
func (*DeveloperInfo) GetCreatedAt ¶
func (x *DeveloperInfo) GetCreatedAt() int64
func (*DeveloperInfo) GetCreatedGroupCount ¶
func (x *DeveloperInfo) GetCreatedGroupCount() int64
func (*DeveloperInfo) GetEmail ¶
func (x *DeveloperInfo) GetEmail() string
func (*DeveloperInfo) GetId ¶
func (x *DeveloperInfo) GetId() uint32
func (*DeveloperInfo) GetIsAdmin ¶
func (x *DeveloperInfo) GetIsAdmin() bool
func (*DeveloperInfo) GetLastLoginAt ¶
func (x *DeveloperInfo) GetLastLoginAt() int64
func (*DeveloperInfo) GetManagedGroupCount ¶
func (x *DeveloperInfo) GetManagedGroupCount() int64
func (*DeveloperInfo) GetMaxGroups ¶
func (x *DeveloperInfo) GetMaxGroups() int32
func (*DeveloperInfo) GetName ¶
func (x *DeveloperInfo) GetName() string
func (*DeveloperInfo) GetStatus ¶
func (x *DeveloperInfo) GetStatus() string
func (*DeveloperInfo) ProtoMessage ¶
func (*DeveloperInfo) ProtoMessage()
func (*DeveloperInfo) ProtoReflect ¶
func (x *DeveloperInfo) ProtoReflect() protoreflect.Message
func (*DeveloperInfo) Reset ¶
func (x *DeveloperInfo) Reset()
func (*DeveloperInfo) String ¶
func (x *DeveloperInfo) String() string
type DeveloperKeyAuthRequest ¶
type DeveloperKeyAuthRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 开发者密钥
Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` // 操作类型(可选,用于权限检查)
// contains filtered or unexported fields
}
开发者 Key 认证请求
func (*DeveloperKeyAuthRequest) Descriptor
deprecated
func (*DeveloperKeyAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperKeyAuthRequest.ProtoReflect.Descriptor instead.
func (*DeveloperKeyAuthRequest) GetDeveloperKey ¶
func (x *DeveloperKeyAuthRequest) GetDeveloperKey() string
func (*DeveloperKeyAuthRequest) GetOperation ¶
func (x *DeveloperKeyAuthRequest) GetOperation() string
func (*DeveloperKeyAuthRequest) ProtoMessage ¶
func (*DeveloperKeyAuthRequest) ProtoMessage()
func (*DeveloperKeyAuthRequest) ProtoReflect ¶
func (x *DeveloperKeyAuthRequest) ProtoReflect() protoreflect.Message
func (*DeveloperKeyAuthRequest) Reset ¶
func (x *DeveloperKeyAuthRequest) Reset()
func (*DeveloperKeyAuthRequest) String ¶
func (x *DeveloperKeyAuthRequest) String() string
type DeveloperKeyAuthResponse ¶
type DeveloperKeyAuthResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Developer *DeveloperInfo `protobuf:"bytes,3,opt,name=developer,proto3" json:"developer,omitempty"`
Permissions []string `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"` // 权限列表
ExpiresAt int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 认证过期时间
// contains filtered or unexported fields
}
开发者 Key 认证响应
func (*DeveloperKeyAuthResponse) Descriptor
deprecated
func (*DeveloperKeyAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperKeyAuthResponse.ProtoReflect.Descriptor instead.
func (*DeveloperKeyAuthResponse) GetDeveloper ¶
func (x *DeveloperKeyAuthResponse) GetDeveloper() *DeveloperInfo
func (*DeveloperKeyAuthResponse) GetExpiresAt ¶
func (x *DeveloperKeyAuthResponse) GetExpiresAt() int64
func (*DeveloperKeyAuthResponse) GetMessage ¶
func (x *DeveloperKeyAuthResponse) GetMessage() string
func (*DeveloperKeyAuthResponse) GetPermissions ¶
func (x *DeveloperKeyAuthResponse) GetPermissions() []string
func (*DeveloperKeyAuthResponse) GetStatus ¶
func (x *DeveloperKeyAuthResponse) GetStatus() ResponseStatus
func (*DeveloperKeyAuthResponse) ProtoMessage ¶
func (*DeveloperKeyAuthResponse) ProtoMessage()
func (*DeveloperKeyAuthResponse) ProtoReflect ¶
func (x *DeveloperKeyAuthResponse) ProtoReflect() protoreflect.Message
func (*DeveloperKeyAuthResponse) Reset ¶
func (x *DeveloperKeyAuthResponse) Reset()
func (*DeveloperKeyAuthResponse) String ¶
func (x *DeveloperKeyAuthResponse) String() string
type DeveloperKeyInfo ¶
type DeveloperKeyInfo struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
KeyHash string `protobuf:"bytes,3,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"` // 密钥哈希(不返回明文)
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
ExpiresAt int64 `protobuf:"varint,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 0表示永不过期
LastUsedAt int64 `protobuf:"varint,8,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
CreatedBy string `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // 创建者名称
UsageCount int64 `protobuf:"varint,10,opt,name=usage_count,json=usageCount,proto3" json:"usage_count,omitempty"` // 使用次数
Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` // 密钥描述
// contains filtered or unexported fields
}
开发者密钥信息
func (*DeveloperKeyInfo) Descriptor
deprecated
func (*DeveloperKeyInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperKeyInfo.ProtoReflect.Descriptor instead.
func (*DeveloperKeyInfo) GetCreatedAt ¶
func (x *DeveloperKeyInfo) GetCreatedAt() int64
func (*DeveloperKeyInfo) GetCreatedBy ¶
func (x *DeveloperKeyInfo) GetCreatedBy() string
func (*DeveloperKeyInfo) GetDescription ¶
func (x *DeveloperKeyInfo) GetDescription() string
func (*DeveloperKeyInfo) GetExpiresAt ¶
func (x *DeveloperKeyInfo) GetExpiresAt() int64
func (*DeveloperKeyInfo) GetId ¶
func (x *DeveloperKeyInfo) GetId() uint32
func (*DeveloperKeyInfo) GetIsActive ¶
func (x *DeveloperKeyInfo) GetIsActive() bool
func (*DeveloperKeyInfo) GetKeyHash ¶
func (x *DeveloperKeyInfo) GetKeyHash() string
func (*DeveloperKeyInfo) GetLastUsedAt ¶
func (x *DeveloperKeyInfo) GetLastUsedAt() int64
func (*DeveloperKeyInfo) GetName ¶
func (x *DeveloperKeyInfo) GetName() string
func (*DeveloperKeyInfo) GetType ¶
func (x *DeveloperKeyInfo) GetType() string
func (*DeveloperKeyInfo) GetUsageCount ¶
func (x *DeveloperKeyInfo) GetUsageCount() int64
func (*DeveloperKeyInfo) ProtoMessage ¶
func (*DeveloperKeyInfo) ProtoMessage()
func (*DeveloperKeyInfo) ProtoReflect ¶
func (x *DeveloperKeyInfo) ProtoReflect() protoreflect.Message
func (*DeveloperKeyInfo) Reset ¶
func (x *DeveloperKeyInfo) Reset()
func (*DeveloperKeyInfo) String ¶
func (x *DeveloperKeyInfo) String() string
type DeveloperLoginRequest ¶
type DeveloperLoginRequest struct {
NameOrEmail string `protobuf:"bytes,1,opt,name=name_or_email,json=nameOrEmail,proto3" json:"name_or_email,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
开发者登录请求
func (*DeveloperLoginRequest) Descriptor
deprecated
func (*DeveloperLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperLoginRequest.ProtoReflect.Descriptor instead.
func (*DeveloperLoginRequest) GetNameOrEmail ¶
func (x *DeveloperLoginRequest) GetNameOrEmail() string
func (*DeveloperLoginRequest) GetPassword ¶
func (x *DeveloperLoginRequest) GetPassword() string
func (*DeveloperLoginRequest) ProtoMessage ¶
func (*DeveloperLoginRequest) ProtoMessage()
func (*DeveloperLoginRequest) ProtoReflect ¶
func (x *DeveloperLoginRequest) ProtoReflect() protoreflect.Message
func (*DeveloperLoginRequest) Reset ¶
func (x *DeveloperLoginRequest) Reset()
func (*DeveloperLoginRequest) String ¶
func (x *DeveloperLoginRequest) String() string
type DeveloperLoginResponse ¶
type DeveloperLoginResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
ExpiresAt int64 `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
Developer *DeveloperInfo `protobuf:"bytes,5,opt,name=developer,proto3" json:"developer,omitempty"`
// contains filtered or unexported fields
}
开发者登录响应
func (*DeveloperLoginResponse) Descriptor
deprecated
func (*DeveloperLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperLoginResponse.ProtoReflect.Descriptor instead.
func (*DeveloperLoginResponse) GetDeveloper ¶
func (x *DeveloperLoginResponse) GetDeveloper() *DeveloperInfo
func (*DeveloperLoginResponse) GetExpiresAt ¶
func (x *DeveloperLoginResponse) GetExpiresAt() int64
func (*DeveloperLoginResponse) GetMessage ¶
func (x *DeveloperLoginResponse) GetMessage() string
func (*DeveloperLoginResponse) GetStatus ¶
func (x *DeveloperLoginResponse) GetStatus() ResponseStatus
func (*DeveloperLoginResponse) GetToken ¶
func (x *DeveloperLoginResponse) GetToken() string
func (*DeveloperLoginResponse) ProtoMessage ¶
func (*DeveloperLoginResponse) ProtoMessage()
func (*DeveloperLoginResponse) ProtoReflect ¶
func (x *DeveloperLoginResponse) ProtoReflect() protoreflect.Message
func (*DeveloperLoginResponse) Reset ¶
func (x *DeveloperLoginResponse) Reset()
func (*DeveloperLoginResponse) String ¶
func (x *DeveloperLoginResponse) String() string
type DeveloperRegisterRequest ¶
type DeveloperRegisterRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
Company string `protobuf:"bytes,4,opt,name=company,proto3" json:"company,omitempty"` // 可选
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // 可选
Website string `protobuf:"bytes,6,opt,name=website,proto3" json:"website,omitempty"` // 可选
ContactEmail string `protobuf:"bytes,7,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"` // 可选
// contains filtered or unexported fields
}
开发者注册请求
func (*DeveloperRegisterRequest) Descriptor
deprecated
func (*DeveloperRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperRegisterRequest.ProtoReflect.Descriptor instead.
func (*DeveloperRegisterRequest) GetCompany ¶
func (x *DeveloperRegisterRequest) GetCompany() string
func (*DeveloperRegisterRequest) GetContactEmail ¶
func (x *DeveloperRegisterRequest) GetContactEmail() string
func (*DeveloperRegisterRequest) GetDescription ¶
func (x *DeveloperRegisterRequest) GetDescription() string
func (*DeveloperRegisterRequest) GetEmail ¶
func (x *DeveloperRegisterRequest) GetEmail() string
func (*DeveloperRegisterRequest) GetName ¶
func (x *DeveloperRegisterRequest) GetName() string
func (*DeveloperRegisterRequest) GetPassword ¶
func (x *DeveloperRegisterRequest) GetPassword() string
func (*DeveloperRegisterRequest) GetWebsite ¶
func (x *DeveloperRegisterRequest) GetWebsite() string
func (*DeveloperRegisterRequest) ProtoMessage ¶
func (*DeveloperRegisterRequest) ProtoMessage()
func (*DeveloperRegisterRequest) ProtoReflect ¶
func (x *DeveloperRegisterRequest) ProtoReflect() protoreflect.Message
func (*DeveloperRegisterRequest) Reset ¶
func (x *DeveloperRegisterRequest) Reset()
func (*DeveloperRegisterRequest) String ¶
func (x *DeveloperRegisterRequest) String() string
type DeveloperRegisterResponse ¶
type DeveloperRegisterResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Developer *DeveloperInfo `protobuf:"bytes,3,opt,name=developer,proto3" json:"developer,omitempty"`
// contains filtered or unexported fields
}
开发者注册响应
func (*DeveloperRegisterResponse) Descriptor
deprecated
func (*DeveloperRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperRegisterResponse.ProtoReflect.Descriptor instead.
func (*DeveloperRegisterResponse) GetDeveloper ¶
func (x *DeveloperRegisterResponse) GetDeveloper() *DeveloperInfo
func (*DeveloperRegisterResponse) GetMessage ¶
func (x *DeveloperRegisterResponse) GetMessage() string
func (*DeveloperRegisterResponse) GetStatus ¶
func (x *DeveloperRegisterResponse) GetStatus() ResponseStatus
func (*DeveloperRegisterResponse) ProtoMessage ¶
func (*DeveloperRegisterResponse) ProtoMessage()
func (*DeveloperRegisterResponse) ProtoReflect ¶
func (x *DeveloperRegisterResponse) ProtoReflect() protoreflect.Message
func (*DeveloperRegisterResponse) Reset ¶
func (x *DeveloperRegisterResponse) Reset()
func (*DeveloperRegisterResponse) String ¶
func (x *DeveloperRegisterResponse) String() string
type DeveloperServiceClient ¶
type DeveloperServiceClient interface {
// 开发者认证
AuthenticateWithKey(ctx context.Context, in *DeveloperKeyAuthRequest, opts ...grpc.CallOption) (*DeveloperKeyAuthResponse, error)
// 开发者管理
Login(ctx context.Context, in *DeveloperLoginRequest, opts ...grpc.CallOption) (*DeveloperLoginResponse, error)
// 开发者密钥管理
CreateDeveloperKey(ctx context.Context, in *CreateDeveloperKeyRequest, opts ...grpc.CallOption) (*CreateDeveloperKeyResponse, error)
GetDeveloperKeys(ctx context.Context, in *GetDeveloperKeysRequest, opts ...grpc.CallOption) (*GetDeveloperKeysResponse, error)
DeleteDeveloperKey(ctx context.Context, in *DeleteDeveloperKeyRequest, opts ...grpc.CallOption) (*DeleteDeveloperKeyResponse, error)
ToggleDeveloperKey(ctx context.Context, in *ToggleDeveloperKeyRequest, opts ...grpc.CallOption) (*ToggleDeveloperKeyResponse, error)
// 组管理
CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error)
GetGroups(ctx context.Context, in *GetGroupsRequest, opts ...grpc.CallOption) (*GetGroupsResponse, error)
GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error)
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupResponse, error)
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupResponse, error)
// 用户管理
CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error)
GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
// 组用户关系管理
AddUserToGroup(ctx context.Context, in *AddUserToGroupRequest, opts ...grpc.CallOption) (*AddUserToGroupResponse, error)
RemoveUserFromGroup(ctx context.Context, in *RemoveUserFromGroupRequest, opts ...grpc.CallOption) (*RemoveUserFromGroupResponse, error)
UpdateUserGroupRole(ctx context.Context, in *UpdateUserGroupRoleRequest, opts ...grpc.CallOption) (*UpdateUserGroupRoleResponse, error)
GetGroupUsers(ctx context.Context, in *GetGroupUsersRequest, opts ...grpc.CallOption) (*GetGroupUsersResponse, error)
// 组开发者关系管理
InviteDeveloperToGroup(ctx context.Context, in *InviteDeveloperToGroupRequest, opts ...grpc.CallOption) (*InviteDeveloperToGroupResponse, error)
RemoveDeveloperFromGroup(ctx context.Context, in *RemoveDeveloperFromGroupRequest, opts ...grpc.CallOption) (*RemoveDeveloperFromGroupResponse, error)
UpdateDeveloperGroupRole(ctx context.Context, in *UpdateDeveloperGroupRoleRequest, opts ...grpc.CallOption) (*UpdateDeveloperGroupRoleResponse, error)
GetGroupDevelopers(ctx context.Context, in *GetGroupDevelopersRequest, opts ...grpc.CallOption) (*GetGroupDevelopersResponse, error)
// 组密钥管理
CreateGroupKey(ctx context.Context, in *CreateGroupKeyRequest, opts ...grpc.CallOption) (*CreateGroupKeyResponse, error)
GetGroupKeys(ctx context.Context, in *GetGroupKeysRequest, opts ...grpc.CallOption) (*GetGroupKeysResponse, error)
DeleteGroupKey(ctx context.Context, in *DeleteGroupKeyRequest, opts ...grpc.CallOption) (*DeleteGroupKeyResponse, error)
ToggleGroupKey(ctx context.Context, in *ToggleGroupKeyRequest, opts ...grpc.CallOption) (*ToggleGroupKeyResponse, error)
// 统计信息
GetDeveloperStats(ctx context.Context, in *GetDeveloperStatsRequest, opts ...grpc.CallOption) (*GetDeveloperStatsResponse, error)
GetGroupStats(ctx context.Context, in *GetGroupStatsRequest, opts ...grpc.CallOption) (*GetGroupStatsResponse, error)
}
DeveloperServiceClient is the client API for DeveloperService 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 NewDeveloperServiceClient ¶
func NewDeveloperServiceClient(cc grpc.ClientConnInterface) DeveloperServiceClient
type DeveloperServiceServer ¶
type DeveloperServiceServer interface {
// 开发者认证
AuthenticateWithKey(context.Context, *DeveloperKeyAuthRequest) (*DeveloperKeyAuthResponse, error)
// 开发者管理
Login(context.Context, *DeveloperLoginRequest) (*DeveloperLoginResponse, error)
// 开发者密钥管理
CreateDeveloperKey(context.Context, *CreateDeveloperKeyRequest) (*CreateDeveloperKeyResponse, error)
GetDeveloperKeys(context.Context, *GetDeveloperKeysRequest) (*GetDeveloperKeysResponse, error)
DeleteDeveloperKey(context.Context, *DeleteDeveloperKeyRequest) (*DeleteDeveloperKeyResponse, error)
ToggleDeveloperKey(context.Context, *ToggleDeveloperKeyRequest) (*ToggleDeveloperKeyResponse, error)
// 组管理
CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
// 用户管理
CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
// 组用户关系管理
AddUserToGroup(context.Context, *AddUserToGroupRequest) (*AddUserToGroupResponse, error)
RemoveUserFromGroup(context.Context, *RemoveUserFromGroupRequest) (*RemoveUserFromGroupResponse, error)
UpdateUserGroupRole(context.Context, *UpdateUserGroupRoleRequest) (*UpdateUserGroupRoleResponse, error)
GetGroupUsers(context.Context, *GetGroupUsersRequest) (*GetGroupUsersResponse, error)
// 组开发者关系管理
InviteDeveloperToGroup(context.Context, *InviteDeveloperToGroupRequest) (*InviteDeveloperToGroupResponse, error)
RemoveDeveloperFromGroup(context.Context, *RemoveDeveloperFromGroupRequest) (*RemoveDeveloperFromGroupResponse, error)
UpdateDeveloperGroupRole(context.Context, *UpdateDeveloperGroupRoleRequest) (*UpdateDeveloperGroupRoleResponse, error)
GetGroupDevelopers(context.Context, *GetGroupDevelopersRequest) (*GetGroupDevelopersResponse, error)
// 组密钥管理
CreateGroupKey(context.Context, *CreateGroupKeyRequest) (*CreateGroupKeyResponse, error)
GetGroupKeys(context.Context, *GetGroupKeysRequest) (*GetGroupKeysResponse, error)
DeleteGroupKey(context.Context, *DeleteGroupKeyRequest) (*DeleteGroupKeyResponse, error)
ToggleGroupKey(context.Context, *ToggleGroupKeyRequest) (*ToggleGroupKeyResponse, error)
// 统计信息
GetDeveloperStats(context.Context, *GetDeveloperStatsRequest) (*GetDeveloperStatsResponse, error)
GetGroupStats(context.Context, *GetGroupStatsRequest) (*GetGroupStatsResponse, error)
// contains filtered or unexported methods
}
DeveloperServiceServer is the server API for DeveloperService service. All implementations must embed UnimplementedDeveloperServiceServer for forward compatibility.
开发者服务
type DeveloperStats ¶
type DeveloperStats struct {
TotalGroups uint32 `protobuf:"varint,1,opt,name=total_groups,json=totalGroups,proto3" json:"total_groups,omitempty"`
TotalUsers uint32 `protobuf:"varint,2,opt,name=total_users,json=totalUsers,proto3" json:"total_users,omitempty"`
TotalKeys uint32 `protobuf:"varint,3,opt,name=total_keys,json=totalKeys,proto3" json:"total_keys,omitempty"`
ActiveKeys uint32 `protobuf:"varint,4,opt,name=active_keys,json=activeKeys,proto3" json:"active_keys,omitempty"`
LoginCount int64 `protobuf:"varint,5,opt,name=login_count,json=loginCount,proto3" json:"login_count,omitempty"`
LastLoginAt int64 `protobuf:"varint,6,opt,name=last_login_at,json=lastLoginAt,proto3" json:"last_login_at,omitempty"`
CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
开发者统计信息
func (*DeveloperStats) Descriptor
deprecated
func (*DeveloperStats) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperStats.ProtoReflect.Descriptor instead.
func (*DeveloperStats) GetActiveKeys ¶
func (x *DeveloperStats) GetActiveKeys() uint32
func (*DeveloperStats) GetCreatedAt ¶
func (x *DeveloperStats) GetCreatedAt() int64
func (*DeveloperStats) GetLastLoginAt ¶
func (x *DeveloperStats) GetLastLoginAt() int64
func (*DeveloperStats) GetLoginCount ¶
func (x *DeveloperStats) GetLoginCount() int64
func (*DeveloperStats) GetTotalGroups ¶
func (x *DeveloperStats) GetTotalGroups() uint32
func (*DeveloperStats) GetTotalKeys ¶
func (x *DeveloperStats) GetTotalKeys() uint32
func (*DeveloperStats) GetTotalUsers ¶
func (x *DeveloperStats) GetTotalUsers() uint32
func (*DeveloperStats) ProtoMessage ¶
func (*DeveloperStats) ProtoMessage()
func (*DeveloperStats) ProtoReflect ¶
func (x *DeveloperStats) ProtoReflect() protoreflect.Message
func (*DeveloperStats) Reset ¶
func (x *DeveloperStats) Reset()
func (*DeveloperStats) String ¶
func (x *DeveloperStats) String() string
type GetDeveloperKeysRequest ¶
type GetDeveloperKeysRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
IncludeInactive bool `protobuf:"varint,4,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
Search string `protobuf:"bytes,5,opt,name=search,proto3" json:"search,omitempty"` // 搜索关键词
// contains filtered or unexported fields
}
获取开发者密钥列表请求
func (*GetDeveloperKeysRequest) Descriptor
deprecated
func (*GetDeveloperKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeveloperKeysRequest.ProtoReflect.Descriptor instead.
func (*GetDeveloperKeysRequest) GetDeveloperKey ¶
func (x *GetDeveloperKeysRequest) GetDeveloperKey() string
func (*GetDeveloperKeysRequest) GetIncludeInactive ¶
func (x *GetDeveloperKeysRequest) GetIncludeInactive() bool
func (*GetDeveloperKeysRequest) GetPage ¶
func (x *GetDeveloperKeysRequest) GetPage() int32
func (*GetDeveloperKeysRequest) GetPageSize ¶
func (x *GetDeveloperKeysRequest) GetPageSize() int32
func (*GetDeveloperKeysRequest) GetSearch ¶
func (x *GetDeveloperKeysRequest) GetSearch() string
func (*GetDeveloperKeysRequest) ProtoMessage ¶
func (*GetDeveloperKeysRequest) ProtoMessage()
func (*GetDeveloperKeysRequest) ProtoReflect ¶
func (x *GetDeveloperKeysRequest) ProtoReflect() protoreflect.Message
func (*GetDeveloperKeysRequest) Reset ¶
func (x *GetDeveloperKeysRequest) Reset()
func (*GetDeveloperKeysRequest) String ¶
func (x *GetDeveloperKeysRequest) String() string
type GetDeveloperKeysResponse ¶
type GetDeveloperKeysResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Keys []*DeveloperKeyInfo `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
Pagination *PaginationInfo `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
获取开发者密钥列表响应
func (*GetDeveloperKeysResponse) Descriptor
deprecated
func (*GetDeveloperKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeveloperKeysResponse.ProtoReflect.Descriptor instead.
func (*GetDeveloperKeysResponse) GetKeys ¶
func (x *GetDeveloperKeysResponse) GetKeys() []*DeveloperKeyInfo
func (*GetDeveloperKeysResponse) GetMessage ¶
func (x *GetDeveloperKeysResponse) GetMessage() string
func (*GetDeveloperKeysResponse) GetPagination ¶
func (x *GetDeveloperKeysResponse) GetPagination() *PaginationInfo
func (*GetDeveloperKeysResponse) GetStatus ¶
func (x *GetDeveloperKeysResponse) GetStatus() ResponseStatus
func (*GetDeveloperKeysResponse) ProtoMessage ¶
func (*GetDeveloperKeysResponse) ProtoMessage()
func (*GetDeveloperKeysResponse) ProtoReflect ¶
func (x *GetDeveloperKeysResponse) ProtoReflect() protoreflect.Message
func (*GetDeveloperKeysResponse) Reset ¶
func (x *GetDeveloperKeysResponse) Reset()
func (*GetDeveloperKeysResponse) String ¶
func (x *GetDeveloperKeysResponse) String() string
type GetDeveloperStatsRequest ¶
type GetDeveloperStatsRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
// contains filtered or unexported fields
}
获取开发者统计请求
func (*GetDeveloperStatsRequest) Descriptor
deprecated
func (*GetDeveloperStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeveloperStatsRequest.ProtoReflect.Descriptor instead.
func (*GetDeveloperStatsRequest) GetDeveloperKey ¶
func (x *GetDeveloperStatsRequest) GetDeveloperKey() string
func (*GetDeveloperStatsRequest) ProtoMessage ¶
func (*GetDeveloperStatsRequest) ProtoMessage()
func (*GetDeveloperStatsRequest) ProtoReflect ¶
func (x *GetDeveloperStatsRequest) ProtoReflect() protoreflect.Message
func (*GetDeveloperStatsRequest) Reset ¶
func (x *GetDeveloperStatsRequest) Reset()
func (*GetDeveloperStatsRequest) String ¶
func (x *GetDeveloperStatsRequest) String() string
type GetDeveloperStatsResponse ¶
type GetDeveloperStatsResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Stats *DeveloperStats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
// contains filtered or unexported fields
}
获取开发者统计响应
func (*GetDeveloperStatsResponse) Descriptor
deprecated
func (*GetDeveloperStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeveloperStatsResponse.ProtoReflect.Descriptor instead.
func (*GetDeveloperStatsResponse) GetMessage ¶
func (x *GetDeveloperStatsResponse) GetMessage() string
func (*GetDeveloperStatsResponse) GetStats ¶
func (x *GetDeveloperStatsResponse) GetStats() *DeveloperStats
func (*GetDeveloperStatsResponse) GetStatus ¶
func (x *GetDeveloperStatsResponse) GetStatus() ResponseStatus
func (*GetDeveloperStatsResponse) ProtoMessage ¶
func (*GetDeveloperStatsResponse) ProtoMessage()
func (*GetDeveloperStatsResponse) ProtoReflect ¶
func (x *GetDeveloperStatsResponse) ProtoReflect() protoreflect.Message
func (*GetDeveloperStatsResponse) Reset ¶
func (x *GetDeveloperStatsResponse) Reset()
func (*GetDeveloperStatsResponse) String ¶
func (x *GetDeveloperStatsResponse) String() string
type GetGroupDevelopersRequest ¶
type GetGroupDevelopersRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Search string `protobuf:"bytes,5,opt,name=search,proto3" json:"search,omitempty"` // 搜索关键词
Role string `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"` // 角色筛选
// contains filtered or unexported fields
}
获取组开发者列表请求
func (*GetGroupDevelopersRequest) Descriptor
deprecated
func (*GetGroupDevelopersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupDevelopersRequest.ProtoReflect.Descriptor instead.
func (*GetGroupDevelopersRequest) GetDeveloperKey ¶
func (x *GetGroupDevelopersRequest) GetDeveloperKey() string
func (*GetGroupDevelopersRequest) GetGroupId ¶
func (x *GetGroupDevelopersRequest) GetGroupId() uint32
func (*GetGroupDevelopersRequest) GetPage ¶
func (x *GetGroupDevelopersRequest) GetPage() int32
func (*GetGroupDevelopersRequest) GetPageSize ¶
func (x *GetGroupDevelopersRequest) GetPageSize() int32
func (*GetGroupDevelopersRequest) GetRole ¶
func (x *GetGroupDevelopersRequest) GetRole() string
func (*GetGroupDevelopersRequest) GetSearch ¶
func (x *GetGroupDevelopersRequest) GetSearch() string
func (*GetGroupDevelopersRequest) ProtoMessage ¶
func (*GetGroupDevelopersRequest) ProtoMessage()
func (*GetGroupDevelopersRequest) ProtoReflect ¶
func (x *GetGroupDevelopersRequest) ProtoReflect() protoreflect.Message
func (*GetGroupDevelopersRequest) Reset ¶
func (x *GetGroupDevelopersRequest) Reset()
func (*GetGroupDevelopersRequest) String ¶
func (x *GetGroupDevelopersRequest) String() string
type GetGroupDevelopersResponse ¶
type GetGroupDevelopersResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
GroupDevelopers []*GroupDeveloperInfo `protobuf:"bytes,3,rep,name=group_developers,json=groupDevelopers,proto3" json:"group_developers,omitempty"`
Pagination *PaginationInfo `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
获取组开发者列表响应
func (*GetGroupDevelopersResponse) Descriptor
deprecated
func (*GetGroupDevelopersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupDevelopersResponse.ProtoReflect.Descriptor instead.
func (*GetGroupDevelopersResponse) GetGroupDevelopers ¶
func (x *GetGroupDevelopersResponse) GetGroupDevelopers() []*GroupDeveloperInfo
func (*GetGroupDevelopersResponse) GetMessage ¶
func (x *GetGroupDevelopersResponse) GetMessage() string
func (*GetGroupDevelopersResponse) GetPagination ¶
func (x *GetGroupDevelopersResponse) GetPagination() *PaginationInfo
func (*GetGroupDevelopersResponse) GetStatus ¶
func (x *GetGroupDevelopersResponse) GetStatus() ResponseStatus
func (*GetGroupDevelopersResponse) ProtoMessage ¶
func (*GetGroupDevelopersResponse) ProtoMessage()
func (*GetGroupDevelopersResponse) ProtoReflect ¶
func (x *GetGroupDevelopersResponse) ProtoReflect() protoreflect.Message
func (*GetGroupDevelopersResponse) Reset ¶
func (x *GetGroupDevelopersResponse) Reset()
func (*GetGroupDevelopersResponse) String ¶
func (x *GetGroupDevelopersResponse) String() string
type GetGroupKeysRequest ¶
type GetGroupKeysRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
IncludeInactive bool `protobuf:"varint,5,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
Search string `protobuf:"bytes,6,opt,name=search,proto3" json:"search,omitempty"` // 搜索关键词
// contains filtered or unexported fields
}
获取组密钥列表请求
func (*GetGroupKeysRequest) Descriptor
deprecated
func (*GetGroupKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupKeysRequest.ProtoReflect.Descriptor instead.
func (*GetGroupKeysRequest) GetDeveloperKey ¶
func (x *GetGroupKeysRequest) GetDeveloperKey() string
func (*GetGroupKeysRequest) GetGroupId ¶
func (x *GetGroupKeysRequest) GetGroupId() uint32
func (*GetGroupKeysRequest) GetIncludeInactive ¶
func (x *GetGroupKeysRequest) GetIncludeInactive() bool
func (*GetGroupKeysRequest) GetPage ¶
func (x *GetGroupKeysRequest) GetPage() int32
func (*GetGroupKeysRequest) GetPageSize ¶
func (x *GetGroupKeysRequest) GetPageSize() int32
func (*GetGroupKeysRequest) GetSearch ¶
func (x *GetGroupKeysRequest) GetSearch() string
func (*GetGroupKeysRequest) ProtoMessage ¶
func (*GetGroupKeysRequest) ProtoMessage()
func (*GetGroupKeysRequest) ProtoReflect ¶
func (x *GetGroupKeysRequest) ProtoReflect() protoreflect.Message
func (*GetGroupKeysRequest) Reset ¶
func (x *GetGroupKeysRequest) Reset()
func (*GetGroupKeysRequest) String ¶
func (x *GetGroupKeysRequest) String() string
type GetGroupKeysResponse ¶
type GetGroupKeysResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Keys []*GroupKeyInfo `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
Pagination *PaginationInfo `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
获取组密钥列表响应
func (*GetGroupKeysResponse) Descriptor
deprecated
func (*GetGroupKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupKeysResponse.ProtoReflect.Descriptor instead.
func (*GetGroupKeysResponse) GetKeys ¶
func (x *GetGroupKeysResponse) GetKeys() []*GroupKeyInfo
func (*GetGroupKeysResponse) GetMessage ¶
func (x *GetGroupKeysResponse) GetMessage() string
func (*GetGroupKeysResponse) GetPagination ¶
func (x *GetGroupKeysResponse) GetPagination() *PaginationInfo
func (*GetGroupKeysResponse) GetStatus ¶
func (x *GetGroupKeysResponse) GetStatus() ResponseStatus
func (*GetGroupKeysResponse) ProtoMessage ¶
func (*GetGroupKeysResponse) ProtoMessage()
func (*GetGroupKeysResponse) ProtoReflect ¶
func (x *GetGroupKeysResponse) ProtoReflect() protoreflect.Message
func (*GetGroupKeysResponse) Reset ¶
func (x *GetGroupKeysResponse) Reset()
func (*GetGroupKeysResponse) String ¶
func (x *GetGroupKeysResponse) String() string
type GetGroupRequest ¶
type GetGroupRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
获取组详情请求
func (*GetGroupRequest) Descriptor
deprecated
func (*GetGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.
func (*GetGroupRequest) GetDeveloperKey ¶
func (x *GetGroupRequest) GetDeveloperKey() string
func (*GetGroupRequest) GetGroupId ¶
func (x *GetGroupRequest) GetGroupId() uint32
func (*GetGroupRequest) ProtoMessage ¶
func (*GetGroupRequest) ProtoMessage()
func (*GetGroupRequest) ProtoReflect ¶
func (x *GetGroupRequest) ProtoReflect() protoreflect.Message
func (*GetGroupRequest) Reset ¶
func (x *GetGroupRequest) Reset()
func (*GetGroupRequest) String ¶
func (x *GetGroupRequest) String() string
type GetGroupResponse ¶
type GetGroupResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Group *GroupInfo `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
// contains filtered or unexported fields
}
获取组详情响应
func (*GetGroupResponse) Descriptor
deprecated
func (*GetGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupResponse.ProtoReflect.Descriptor instead.
func (*GetGroupResponse) GetGroup ¶
func (x *GetGroupResponse) GetGroup() *GroupInfo
func (*GetGroupResponse) GetMessage ¶
func (x *GetGroupResponse) GetMessage() string
func (*GetGroupResponse) GetStatus ¶
func (x *GetGroupResponse) GetStatus() ResponseStatus
func (*GetGroupResponse) ProtoMessage ¶
func (*GetGroupResponse) ProtoMessage()
func (*GetGroupResponse) ProtoReflect ¶
func (x *GetGroupResponse) ProtoReflect() protoreflect.Message
func (*GetGroupResponse) Reset ¶
func (x *GetGroupResponse) Reset()
func (*GetGroupResponse) String ¶
func (x *GetGroupResponse) String() string
type GetGroupStatsRequest ¶
type GetGroupStatsRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
获取组统计请求
func (*GetGroupStatsRequest) Descriptor
deprecated
func (*GetGroupStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupStatsRequest.ProtoReflect.Descriptor instead.
func (*GetGroupStatsRequest) GetDeveloperKey ¶
func (x *GetGroupStatsRequest) GetDeveloperKey() string
func (*GetGroupStatsRequest) GetGroupId ¶
func (x *GetGroupStatsRequest) GetGroupId() uint32
func (*GetGroupStatsRequest) ProtoMessage ¶
func (*GetGroupStatsRequest) ProtoMessage()
func (*GetGroupStatsRequest) ProtoReflect ¶
func (x *GetGroupStatsRequest) ProtoReflect() protoreflect.Message
func (*GetGroupStatsRequest) Reset ¶
func (x *GetGroupStatsRequest) Reset()
func (*GetGroupStatsRequest) String ¶
func (x *GetGroupStatsRequest) String() string
type GetGroupStatsResponse ¶
type GetGroupStatsResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Stats *GroupStats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
// contains filtered or unexported fields
}
获取组统计响应
func (*GetGroupStatsResponse) Descriptor
deprecated
func (*GetGroupStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupStatsResponse.ProtoReflect.Descriptor instead.
func (*GetGroupStatsResponse) GetMessage ¶
func (x *GetGroupStatsResponse) GetMessage() string
func (*GetGroupStatsResponse) GetStats ¶
func (x *GetGroupStatsResponse) GetStats() *GroupStats
func (*GetGroupStatsResponse) GetStatus ¶
func (x *GetGroupStatsResponse) GetStatus() ResponseStatus
func (*GetGroupStatsResponse) ProtoMessage ¶
func (*GetGroupStatsResponse) ProtoMessage()
func (*GetGroupStatsResponse) ProtoReflect ¶
func (x *GetGroupStatsResponse) ProtoReflect() protoreflect.Message
func (*GetGroupStatsResponse) Reset ¶
func (x *GetGroupStatsResponse) Reset()
func (*GetGroupStatsResponse) String ¶
func (x *GetGroupStatsResponse) String() string
type GetGroupUsersRequest ¶
type GetGroupUsersRequest struct {
GroupKey string `protobuf:"bytes,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // 用于认证的组密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Search string `protobuf:"bytes,5,opt,name=search,proto3" json:"search,omitempty"` // 搜索关键词
Role string `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"` // 角色筛选
// contains filtered or unexported fields
}
获取组用户列表请求
func (*GetGroupUsersRequest) Descriptor
deprecated
func (*GetGroupUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupUsersRequest.ProtoReflect.Descriptor instead.
func (*GetGroupUsersRequest) GetGroupId ¶
func (x *GetGroupUsersRequest) GetGroupId() uint32
func (*GetGroupUsersRequest) GetGroupKey ¶
func (x *GetGroupUsersRequest) GetGroupKey() string
func (*GetGroupUsersRequest) GetPage ¶
func (x *GetGroupUsersRequest) GetPage() int32
func (*GetGroupUsersRequest) GetPageSize ¶
func (x *GetGroupUsersRequest) GetPageSize() int32
func (*GetGroupUsersRequest) GetRole ¶
func (x *GetGroupUsersRequest) GetRole() string
func (*GetGroupUsersRequest) GetSearch ¶
func (x *GetGroupUsersRequest) GetSearch() string
func (*GetGroupUsersRequest) ProtoMessage ¶
func (*GetGroupUsersRequest) ProtoMessage()
func (*GetGroupUsersRequest) ProtoReflect ¶
func (x *GetGroupUsersRequest) ProtoReflect() protoreflect.Message
func (*GetGroupUsersRequest) Reset ¶
func (x *GetGroupUsersRequest) Reset()
func (*GetGroupUsersRequest) String ¶
func (x *GetGroupUsersRequest) String() string
type GetGroupUsersResponse ¶
type GetGroupUsersResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
GroupUsers []*GroupUserInfo `protobuf:"bytes,3,rep,name=group_users,json=groupUsers,proto3" json:"group_users,omitempty"`
Pagination *PaginationInfo `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
获取组用户列表响应
func (*GetGroupUsersResponse) Descriptor
deprecated
func (*GetGroupUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupUsersResponse.ProtoReflect.Descriptor instead.
func (*GetGroupUsersResponse) GetGroupUsers ¶
func (x *GetGroupUsersResponse) GetGroupUsers() []*GroupUserInfo
func (*GetGroupUsersResponse) GetMessage ¶
func (x *GetGroupUsersResponse) GetMessage() string
func (*GetGroupUsersResponse) GetPagination ¶
func (x *GetGroupUsersResponse) GetPagination() *PaginationInfo
func (*GetGroupUsersResponse) GetStatus ¶
func (x *GetGroupUsersResponse) GetStatus() ResponseStatus
func (*GetGroupUsersResponse) ProtoMessage ¶
func (*GetGroupUsersResponse) ProtoMessage()
func (*GetGroupUsersResponse) ProtoReflect ¶
func (x *GetGroupUsersResponse) ProtoReflect() protoreflect.Message
func (*GetGroupUsersResponse) Reset ¶
func (x *GetGroupUsersResponse) Reset()
func (*GetGroupUsersResponse) String ¶
func (x *GetGroupUsersResponse) String() string
type GetGroupsRequest ¶
type GetGroupsRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"` // 搜索关键词
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // 状态筛选
// contains filtered or unexported fields
}
获取组列表请求
func (*GetGroupsRequest) Descriptor
deprecated
func (*GetGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupsRequest.ProtoReflect.Descriptor instead.
func (*GetGroupsRequest) GetDeveloperKey ¶
func (x *GetGroupsRequest) GetDeveloperKey() string
func (*GetGroupsRequest) GetPage ¶
func (x *GetGroupsRequest) GetPage() int32
func (*GetGroupsRequest) GetPageSize ¶
func (x *GetGroupsRequest) GetPageSize() int32
func (*GetGroupsRequest) GetSearch ¶
func (x *GetGroupsRequest) GetSearch() string
func (*GetGroupsRequest) GetStatus ¶
func (x *GetGroupsRequest) GetStatus() string
func (*GetGroupsRequest) ProtoMessage ¶
func (*GetGroupsRequest) ProtoMessage()
func (*GetGroupsRequest) ProtoReflect ¶
func (x *GetGroupsRequest) ProtoReflect() protoreflect.Message
func (*GetGroupsRequest) Reset ¶
func (x *GetGroupsRequest) Reset()
func (*GetGroupsRequest) String ¶
func (x *GetGroupsRequest) String() string
type GetGroupsResponse ¶
type GetGroupsResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Groups []*GroupInfo `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
Pagination *PaginationInfo `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
获取组列表响应
func (*GetGroupsResponse) Descriptor
deprecated
func (*GetGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupsResponse.ProtoReflect.Descriptor instead.
func (*GetGroupsResponse) GetGroups ¶
func (x *GetGroupsResponse) GetGroups() []*GroupInfo
func (*GetGroupsResponse) GetMessage ¶
func (x *GetGroupsResponse) GetMessage() string
func (*GetGroupsResponse) GetPagination ¶
func (x *GetGroupsResponse) GetPagination() *PaginationInfo
func (*GetGroupsResponse) GetStatus ¶
func (x *GetGroupsResponse) GetStatus() ResponseStatus
func (*GetGroupsResponse) ProtoMessage ¶
func (*GetGroupsResponse) ProtoMessage()
func (*GetGroupsResponse) ProtoReflect ¶
func (x *GetGroupsResponse) ProtoReflect() protoreflect.Message
func (*GetGroupsResponse) Reset ¶
func (x *GetGroupsResponse) Reset()
func (*GetGroupsResponse) String ¶
func (x *GetGroupsResponse) String() string
type GetUserKeyRequest ¶
type GetUserKeyRequest struct {
UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // 用户JWT token
KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
获取用户密钥详情请求
func (*GetUserKeyRequest) Descriptor
deprecated
func (*GetUserKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserKeyRequest.ProtoReflect.Descriptor instead.
func (*GetUserKeyRequest) GetKeyId ¶
func (x *GetUserKeyRequest) GetKeyId() uint32
func (*GetUserKeyRequest) GetUserToken ¶
func (x *GetUserKeyRequest) GetUserToken() string
func (*GetUserKeyRequest) ProtoMessage ¶
func (*GetUserKeyRequest) ProtoMessage()
func (*GetUserKeyRequest) ProtoReflect ¶
func (x *GetUserKeyRequest) ProtoReflect() protoreflect.Message
func (*GetUserKeyRequest) Reset ¶
func (x *GetUserKeyRequest) Reset()
func (*GetUserKeyRequest) String ¶
func (x *GetUserKeyRequest) String() string
type GetUserKeyResponse ¶
type GetUserKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
KeyInfo *UserKeyInfo `protobuf:"bytes,3,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"`
// contains filtered or unexported fields
}
获取用户密钥详情响应
func (*GetUserKeyResponse) Descriptor
deprecated
func (*GetUserKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserKeyResponse.ProtoReflect.Descriptor instead.
func (*GetUserKeyResponse) GetKeyInfo ¶
func (x *GetUserKeyResponse) GetKeyInfo() *UserKeyInfo
func (*GetUserKeyResponse) GetMessage ¶
func (x *GetUserKeyResponse) GetMessage() string
func (*GetUserKeyResponse) GetStatus ¶
func (x *GetUserKeyResponse) GetStatus() ResponseStatus
func (*GetUserKeyResponse) ProtoMessage ¶
func (*GetUserKeyResponse) ProtoMessage()
func (*GetUserKeyResponse) ProtoReflect ¶
func (x *GetUserKeyResponse) ProtoReflect() protoreflect.Message
func (*GetUserKeyResponse) Reset ¶
func (x *GetUserKeyResponse) Reset()
func (*GetUserKeyResponse) String ¶
func (x *GetUserKeyResponse) String() string
type GetUserKeysRequest ¶
type GetUserKeysRequest struct {
UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // 用户JWT token
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
IncludeInactive bool `protobuf:"varint,4,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
Search string `protobuf:"bytes,5,opt,name=search,proto3" json:"search,omitempty"` // 搜索关键词
// contains filtered or unexported fields
}
获取用户密钥列表请求
func (*GetUserKeysRequest) Descriptor
deprecated
func (*GetUserKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserKeysRequest.ProtoReflect.Descriptor instead.
func (*GetUserKeysRequest) GetIncludeInactive ¶
func (x *GetUserKeysRequest) GetIncludeInactive() bool
func (*GetUserKeysRequest) GetPage ¶
func (x *GetUserKeysRequest) GetPage() int32
func (*GetUserKeysRequest) GetPageSize ¶
func (x *GetUserKeysRequest) GetPageSize() int32
func (*GetUserKeysRequest) GetSearch ¶
func (x *GetUserKeysRequest) GetSearch() string
func (*GetUserKeysRequest) GetUserToken ¶
func (x *GetUserKeysRequest) GetUserToken() string
func (*GetUserKeysRequest) ProtoMessage ¶
func (*GetUserKeysRequest) ProtoMessage()
func (*GetUserKeysRequest) ProtoReflect ¶
func (x *GetUserKeysRequest) ProtoReflect() protoreflect.Message
func (*GetUserKeysRequest) Reset ¶
func (x *GetUserKeysRequest) Reset()
func (*GetUserKeysRequest) String ¶
func (x *GetUserKeysRequest) String() string
type GetUserKeysResponse ¶
type GetUserKeysResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Keys []*UserKeyInfo `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
Pagination *PaginationInfo `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
获取用户密钥列表响应
func (*GetUserKeysResponse) Descriptor
deprecated
func (*GetUserKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserKeysResponse.ProtoReflect.Descriptor instead.
func (*GetUserKeysResponse) GetKeys ¶
func (x *GetUserKeysResponse) GetKeys() []*UserKeyInfo
func (*GetUserKeysResponse) GetMessage ¶
func (x *GetUserKeysResponse) GetMessage() string
func (*GetUserKeysResponse) GetPagination ¶
func (x *GetUserKeysResponse) GetPagination() *PaginationInfo
func (*GetUserKeysResponse) GetStatus ¶
func (x *GetUserKeysResponse) GetStatus() ResponseStatus
func (*GetUserKeysResponse) ProtoMessage ¶
func (*GetUserKeysResponse) ProtoMessage()
func (*GetUserKeysResponse) ProtoReflect ¶
func (x *GetUserKeysResponse) ProtoReflect() protoreflect.Message
func (*GetUserKeysResponse) Reset ¶
func (x *GetUserKeysResponse) Reset()
func (*GetUserKeysResponse) String ¶
func (x *GetUserKeysResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
获取用户详情请求
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetDeveloperKey ¶
func (x *GetUserRequest) GetDeveloperKey() string
func (*GetUserRequest) GetUserId ¶
func (x *GetUserRequest) GetUserId() uint32
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
User *UserInfo `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
获取用户详情响应
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetMessage ¶
func (x *GetUserResponse) GetMessage() string
func (*GetUserResponse) GetStatus ¶
func (x *GetUserResponse) GetStatus() ResponseStatus
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *UserInfo
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GetUserStatsRequest ¶
type GetUserStatsRequest struct {
UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // 用户JWT token
// contains filtered or unexported fields
}
获取用户统计请求
func (*GetUserStatsRequest) Descriptor
deprecated
func (*GetUserStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserStatsRequest.ProtoReflect.Descriptor instead.
func (*GetUserStatsRequest) GetUserToken ¶
func (x *GetUserStatsRequest) GetUserToken() string
func (*GetUserStatsRequest) ProtoMessage ¶
func (*GetUserStatsRequest) ProtoMessage()
func (*GetUserStatsRequest) ProtoReflect ¶
func (x *GetUserStatsRequest) ProtoReflect() protoreflect.Message
func (*GetUserStatsRequest) Reset ¶
func (x *GetUserStatsRequest) Reset()
func (*GetUserStatsRequest) String ¶
func (x *GetUserStatsRequest) String() string
type GetUserStatsResponse ¶
type GetUserStatsResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Stats *UserStats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"`
// contains filtered or unexported fields
}
获取用户统计响应
func (*GetUserStatsResponse) Descriptor
deprecated
func (*GetUserStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserStatsResponse.ProtoReflect.Descriptor instead.
func (*GetUserStatsResponse) GetMessage ¶
func (x *GetUserStatsResponse) GetMessage() string
func (*GetUserStatsResponse) GetStats ¶
func (x *GetUserStatsResponse) GetStats() *UserStats
func (*GetUserStatsResponse) GetStatus ¶
func (x *GetUserStatsResponse) GetStatus() ResponseStatus
func (*GetUserStatsResponse) ProtoMessage ¶
func (*GetUserStatsResponse) ProtoMessage()
func (*GetUserStatsResponse) ProtoReflect ¶
func (x *GetUserStatsResponse) ProtoReflect() protoreflect.Message
func (*GetUserStatsResponse) Reset ¶
func (x *GetUserStatsResponse) Reset()
func (*GetUserStatsResponse) String ¶
func (x *GetUserStatsResponse) String() string
type GetUsersRequest ¶
type GetUsersRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"` // 搜索关键词
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // 状态筛选
// contains filtered or unexported fields
}
获取用户列表请求
func (*GetUsersRequest) Descriptor
deprecated
func (*GetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.
func (*GetUsersRequest) GetDeveloperKey ¶
func (x *GetUsersRequest) GetDeveloperKey() string
func (*GetUsersRequest) GetPage ¶
func (x *GetUsersRequest) GetPage() int32
func (*GetUsersRequest) GetPageSize ¶
func (x *GetUsersRequest) GetPageSize() int32
func (*GetUsersRequest) GetSearch ¶
func (x *GetUsersRequest) GetSearch() string
func (*GetUsersRequest) GetStatus ¶
func (x *GetUsersRequest) GetStatus() string
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) ProtoReflect ¶
func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
func (*GetUsersRequest) Reset ¶
func (x *GetUsersRequest) Reset()
func (*GetUsersRequest) String ¶
func (x *GetUsersRequest) String() string
type GetUsersResponse ¶
type GetUsersResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Users []*UserInfo `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
Pagination *PaginationInfo `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
获取用户列表响应
func (*GetUsersResponse) Descriptor
deprecated
func (*GetUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead.
func (*GetUsersResponse) GetMessage ¶
func (x *GetUsersResponse) GetMessage() string
func (*GetUsersResponse) GetPagination ¶
func (x *GetUsersResponse) GetPagination() *PaginationInfo
func (*GetUsersResponse) GetStatus ¶
func (x *GetUsersResponse) GetStatus() ResponseStatus
func (*GetUsersResponse) GetUsers ¶
func (x *GetUsersResponse) GetUsers() []*UserInfo
func (*GetUsersResponse) ProtoMessage ¶
func (*GetUsersResponse) ProtoMessage()
func (*GetUsersResponse) ProtoReflect ¶
func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
func (*GetUsersResponse) Reset ¶
func (x *GetUsersResponse) Reset()
func (*GetUsersResponse) String ¶
func (x *GetUsersResponse) String() string
type GroupDeveloperInfo ¶
type GroupDeveloperInfo struct {
DeveloperId uint32 `protobuf:"varint,1,opt,name=developer_id,json=developerId,proto3" json:"developer_id,omitempty"`
DeveloperName string `protobuf:"bytes,2,opt,name=developer_name,json=developerName,proto3" json:"developer_name,omitempty"`
DeveloperEmail string `protobuf:"bytes,3,opt,name=developer_email,json=developerEmail,proto3" json:"developer_email,omitempty"`
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
JoinedAt int64 `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
JoinedBy string `protobuf:"bytes,7,opt,name=joined_by,json=joinedBy,proto3" json:"joined_by,omitempty"` // 邀请者名称
// contains filtered or unexported fields
}
组开发者关系信息
func (*GroupDeveloperInfo) Descriptor
deprecated
func (*GroupDeveloperInfo) Descriptor() ([]byte, []int)
Deprecated: Use GroupDeveloperInfo.ProtoReflect.Descriptor instead.
func (*GroupDeveloperInfo) GetDeveloperEmail ¶
func (x *GroupDeveloperInfo) GetDeveloperEmail() string
func (*GroupDeveloperInfo) GetDeveloperId ¶
func (x *GroupDeveloperInfo) GetDeveloperId() uint32
func (*GroupDeveloperInfo) GetDeveloperName ¶
func (x *GroupDeveloperInfo) GetDeveloperName() string
func (*GroupDeveloperInfo) GetJoinedAt ¶
func (x *GroupDeveloperInfo) GetJoinedAt() int64
func (*GroupDeveloperInfo) GetJoinedBy ¶
func (x *GroupDeveloperInfo) GetJoinedBy() string
func (*GroupDeveloperInfo) GetRole ¶
func (x *GroupDeveloperInfo) GetRole() string
func (*GroupDeveloperInfo) GetStatus ¶
func (x *GroupDeveloperInfo) GetStatus() string
func (*GroupDeveloperInfo) ProtoMessage ¶
func (*GroupDeveloperInfo) ProtoMessage()
func (*GroupDeveloperInfo) ProtoReflect ¶
func (x *GroupDeveloperInfo) ProtoReflect() protoreflect.Message
func (*GroupDeveloperInfo) Reset ¶
func (x *GroupDeveloperInfo) Reset()
func (*GroupDeveloperInfo) String ¶
func (x *GroupDeveloperInfo) String() string
type GroupInfo ¶
type GroupInfo struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
IsPublic bool `protobuf:"varint,4,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"`
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
UserCount uint32 `protobuf:"varint,8,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"` // 用户数量
DeveloperCount uint32 `protobuf:"varint,9,opt,name=developer_count,json=developerCount,proto3" json:"developer_count,omitempty"` // 开发者数量
GroupKey string `protobuf:"bytes,10,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // 组密钥(仅在特定情况下返回)
// contains filtered or unexported fields
}
组信息
func (*GroupInfo) Descriptor
deprecated
func (*GroupInfo) GetCreatedAt ¶
func (*GroupInfo) GetDescription ¶
func (*GroupInfo) GetDeveloperCount ¶
func (*GroupInfo) GetGroupKey ¶
func (*GroupInfo) GetIsPublic ¶
func (*GroupInfo) GetUpdatedAt ¶
func (*GroupInfo) GetUserCount ¶
func (*GroupInfo) ProtoMessage ¶
func (*GroupInfo) ProtoMessage()
func (*GroupInfo) ProtoReflect ¶
func (x *GroupInfo) ProtoReflect() protoreflect.Message
type GroupKeyAuthRequest ¶
type GroupKeyAuthRequest struct {
GroupKey string `protobuf:"bytes,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // 组密钥
Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` // 操作类型(可选,用于权限检查)
// contains filtered or unexported fields
}
组 Key 认证请求
func (*GroupKeyAuthRequest) Descriptor
deprecated
func (*GroupKeyAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupKeyAuthRequest.ProtoReflect.Descriptor instead.
func (*GroupKeyAuthRequest) GetGroupKey ¶
func (x *GroupKeyAuthRequest) GetGroupKey() string
func (*GroupKeyAuthRequest) GetOperation ¶
func (x *GroupKeyAuthRequest) GetOperation() string
func (*GroupKeyAuthRequest) ProtoMessage ¶
func (*GroupKeyAuthRequest) ProtoMessage()
func (*GroupKeyAuthRequest) ProtoReflect ¶
func (x *GroupKeyAuthRequest) ProtoReflect() protoreflect.Message
func (*GroupKeyAuthRequest) Reset ¶
func (x *GroupKeyAuthRequest) Reset()
func (*GroupKeyAuthRequest) String ¶
func (x *GroupKeyAuthRequest) String() string
type GroupKeyAuthResponse ¶
type GroupKeyAuthResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Group *GroupInfo `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
Permissions []string `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"` // 权限列表
ExpiresAt int64 `protobuf:"varint,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 认证过期时间
// contains filtered or unexported fields
}
组 Key 认证响应
func (*GroupKeyAuthResponse) Descriptor
deprecated
func (*GroupKeyAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupKeyAuthResponse.ProtoReflect.Descriptor instead.
func (*GroupKeyAuthResponse) GetExpiresAt ¶
func (x *GroupKeyAuthResponse) GetExpiresAt() int64
func (*GroupKeyAuthResponse) GetGroup ¶
func (x *GroupKeyAuthResponse) GetGroup() *GroupInfo
func (*GroupKeyAuthResponse) GetMessage ¶
func (x *GroupKeyAuthResponse) GetMessage() string
func (*GroupKeyAuthResponse) GetPermissions ¶
func (x *GroupKeyAuthResponse) GetPermissions() []string
func (*GroupKeyAuthResponse) GetStatus ¶
func (x *GroupKeyAuthResponse) GetStatus() ResponseStatus
func (*GroupKeyAuthResponse) ProtoMessage ¶
func (*GroupKeyAuthResponse) ProtoMessage()
func (*GroupKeyAuthResponse) ProtoReflect ¶
func (x *GroupKeyAuthResponse) ProtoReflect() protoreflect.Message
func (*GroupKeyAuthResponse) Reset ¶
func (x *GroupKeyAuthResponse) Reset()
func (*GroupKeyAuthResponse) String ¶
func (x *GroupKeyAuthResponse) String() string
type GroupKeyInfo ¶
type GroupKeyInfo struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
KeyHash string `protobuf:"bytes,3,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"` // 密钥哈希(不返回明文)
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
ExpiresAt int64 `protobuf:"varint,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 0表示永不过期
LastUsedAt int64 `protobuf:"varint,8,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
CreatedBy string `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // 创建者名称
UsageCount int64 `protobuf:"varint,10,opt,name=usage_count,json=usageCount,proto3" json:"usage_count,omitempty"` // 使用次数
Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` // 密钥描述
// contains filtered or unexported fields
}
组密钥信息
func (*GroupKeyInfo) Descriptor
deprecated
func (*GroupKeyInfo) Descriptor() ([]byte, []int)
Deprecated: Use GroupKeyInfo.ProtoReflect.Descriptor instead.
func (*GroupKeyInfo) GetCreatedAt ¶
func (x *GroupKeyInfo) GetCreatedAt() int64
func (*GroupKeyInfo) GetCreatedBy ¶
func (x *GroupKeyInfo) GetCreatedBy() string
func (*GroupKeyInfo) GetDescription ¶
func (x *GroupKeyInfo) GetDescription() string
func (*GroupKeyInfo) GetExpiresAt ¶
func (x *GroupKeyInfo) GetExpiresAt() int64
func (*GroupKeyInfo) GetId ¶
func (x *GroupKeyInfo) GetId() uint32
func (*GroupKeyInfo) GetIsActive ¶
func (x *GroupKeyInfo) GetIsActive() bool
func (*GroupKeyInfo) GetKeyHash ¶
func (x *GroupKeyInfo) GetKeyHash() string
func (*GroupKeyInfo) GetLastUsedAt ¶
func (x *GroupKeyInfo) GetLastUsedAt() int64
func (*GroupKeyInfo) GetName ¶
func (x *GroupKeyInfo) GetName() string
func (*GroupKeyInfo) GetType ¶
func (x *GroupKeyInfo) GetType() string
func (*GroupKeyInfo) GetUsageCount ¶
func (x *GroupKeyInfo) GetUsageCount() int64
func (*GroupKeyInfo) ProtoMessage ¶
func (*GroupKeyInfo) ProtoMessage()
func (*GroupKeyInfo) ProtoReflect ¶
func (x *GroupKeyInfo) ProtoReflect() protoreflect.Message
func (*GroupKeyInfo) Reset ¶
func (x *GroupKeyInfo) Reset()
func (*GroupKeyInfo) String ¶
func (x *GroupKeyInfo) String() string
type GroupServiceClient ¶
type GroupServiceClient interface {
// 组认证
AuthenticateWithKey(ctx context.Context, in *GroupKeyAuthRequest, opts ...grpc.CallOption) (*GroupKeyAuthResponse, error)
// 用户组认证
AuthenticateUser(ctx context.Context, in *UserGroupAuthRequest, opts ...grpc.CallOption) (*UserGroupAuthResponse, error)
UserLogin(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
// 组信息查询
GetGroupInfo(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error)
GetGroupUsers(ctx context.Context, in *GetGroupUsersRequest, opts ...grpc.CallOption) (*GetGroupUsersResponse, error)
GetGroupStats(ctx context.Context, in *GetGroupStatsRequest, opts ...grpc.CallOption) (*GetGroupStatsResponse, error)
// 组用户管理(使用组密钥)
AddUserToGroup(ctx context.Context, in *AddUserToGroupRequest, opts ...grpc.CallOption) (*AddUserToGroupResponse, error)
RemoveUserFromGroup(ctx context.Context, in *RemoveUserFromGroupRequest, opts ...grpc.CallOption) (*RemoveUserFromGroupResponse, error)
UpdateUserGroupRole(ctx context.Context, in *UpdateUserGroupRoleRequest, opts ...grpc.CallOption) (*UpdateUserGroupRoleResponse, error)
}
GroupServiceClient is the client API for GroupService 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 NewGroupServiceClient ¶
func NewGroupServiceClient(cc grpc.ClientConnInterface) GroupServiceClient
type GroupServiceServer ¶
type GroupServiceServer interface {
// 组认证
AuthenticateWithKey(context.Context, *GroupKeyAuthRequest) (*GroupKeyAuthResponse, error)
// 用户组认证
AuthenticateUser(context.Context, *UserGroupAuthRequest) (*UserGroupAuthResponse, error)
UserLogin(context.Context, *LoginRequest) (*LoginResponse, error)
// 组信息查询
GetGroupInfo(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
GetGroupUsers(context.Context, *GetGroupUsersRequest) (*GetGroupUsersResponse, error)
GetGroupStats(context.Context, *GetGroupStatsRequest) (*GetGroupStatsResponse, error)
// 组用户管理(使用组密钥)
AddUserToGroup(context.Context, *AddUserToGroupRequest) (*AddUserToGroupResponse, error)
RemoveUserFromGroup(context.Context, *RemoveUserFromGroupRequest) (*RemoveUserFromGroupResponse, error)
UpdateUserGroupRole(context.Context, *UpdateUserGroupRoleRequest) (*UpdateUserGroupRoleResponse, error)
// contains filtered or unexported methods
}
GroupServiceServer is the server API for GroupService service. All implementations must embed UnimplementedGroupServiceServer for forward compatibility.
组服务(用于组密钥认证)
type GroupStats ¶
type GroupStats struct {
UserCount uint32 `protobuf:"varint,1,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
DeveloperCount uint32 `protobuf:"varint,2,opt,name=developer_count,json=developerCount,proto3" json:"developer_count,omitempty"`
KeyCount uint32 `protobuf:"varint,3,opt,name=key_count,json=keyCount,proto3" json:"key_count,omitempty"`
ActiveKeyCount uint32 `protobuf:"varint,4,opt,name=active_key_count,json=activeKeyCount,proto3" json:"active_key_count,omitempty"`
CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
LastActivityAt int64 `protobuf:"varint,6,opt,name=last_activity_at,json=lastActivityAt,proto3" json:"last_activity_at,omitempty"`
// contains filtered or unexported fields
}
组统计信息
func (*GroupStats) Descriptor
deprecated
func (*GroupStats) Descriptor() ([]byte, []int)
Deprecated: Use GroupStats.ProtoReflect.Descriptor instead.
func (*GroupStats) GetActiveKeyCount ¶
func (x *GroupStats) GetActiveKeyCount() uint32
func (*GroupStats) GetCreatedAt ¶
func (x *GroupStats) GetCreatedAt() int64
func (*GroupStats) GetDeveloperCount ¶
func (x *GroupStats) GetDeveloperCount() uint32
func (*GroupStats) GetKeyCount ¶
func (x *GroupStats) GetKeyCount() uint32
func (*GroupStats) GetLastActivityAt ¶
func (x *GroupStats) GetLastActivityAt() int64
func (*GroupStats) GetUserCount ¶
func (x *GroupStats) GetUserCount() uint32
func (*GroupStats) ProtoMessage ¶
func (*GroupStats) ProtoMessage()
func (*GroupStats) ProtoReflect ¶
func (x *GroupStats) ProtoReflect() protoreflect.Message
func (*GroupStats) Reset ¶
func (x *GroupStats) Reset()
func (*GroupStats) String ¶
func (x *GroupStats) String() string
type GroupUserInfo ¶
type GroupUserInfo struct {
UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
JoinedAt int64 `protobuf:"varint,6,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
JoinedBy string `protobuf:"bytes,7,opt,name=joined_by,json=joinedBy,proto3" json:"joined_by,omitempty"` // 添加者名称
// contains filtered or unexported fields
}
组用户关系信息
func (*GroupUserInfo) Descriptor
deprecated
func (*GroupUserInfo) Descriptor() ([]byte, []int)
Deprecated: Use GroupUserInfo.ProtoReflect.Descriptor instead.
func (*GroupUserInfo) GetJoinedAt ¶
func (x *GroupUserInfo) GetJoinedAt() int64
func (*GroupUserInfo) GetJoinedBy ¶
func (x *GroupUserInfo) GetJoinedBy() string
func (*GroupUserInfo) GetRole ¶
func (x *GroupUserInfo) GetRole() string
func (*GroupUserInfo) GetStatus ¶
func (x *GroupUserInfo) GetStatus() string
func (*GroupUserInfo) GetUserEmail ¶
func (x *GroupUserInfo) GetUserEmail() string
func (*GroupUserInfo) GetUserId ¶
func (x *GroupUserInfo) GetUserId() uint32
func (*GroupUserInfo) GetUserName ¶
func (x *GroupUserInfo) GetUserName() string
func (*GroupUserInfo) ProtoMessage ¶
func (*GroupUserInfo) ProtoMessage()
func (*GroupUserInfo) ProtoReflect ¶
func (x *GroupUserInfo) ProtoReflect() protoreflect.Message
func (*GroupUserInfo) Reset ¶
func (x *GroupUserInfo) Reset()
func (*GroupUserInfo) String ¶
func (x *GroupUserInfo) String() string
type InviteDeveloperToGroupRequest ¶
type InviteDeveloperToGroupRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
TargetDeveloperId uint32 `protobuf:"varint,3,opt,name=target_developer_id,json=targetDeveloperId,proto3" json:"target_developer_id,omitempty"`
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // 可选,默认member
// contains filtered or unexported fields
}
邀请开发者到组请求
func (*InviteDeveloperToGroupRequest) Descriptor
deprecated
func (*InviteDeveloperToGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use InviteDeveloperToGroupRequest.ProtoReflect.Descriptor instead.
func (*InviteDeveloperToGroupRequest) GetDeveloperKey ¶
func (x *InviteDeveloperToGroupRequest) GetDeveloperKey() string
func (*InviteDeveloperToGroupRequest) GetGroupId ¶
func (x *InviteDeveloperToGroupRequest) GetGroupId() uint32
func (*InviteDeveloperToGroupRequest) GetRole ¶
func (x *InviteDeveloperToGroupRequest) GetRole() string
func (*InviteDeveloperToGroupRequest) GetTargetDeveloperId ¶
func (x *InviteDeveloperToGroupRequest) GetTargetDeveloperId() uint32
func (*InviteDeveloperToGroupRequest) ProtoMessage ¶
func (*InviteDeveloperToGroupRequest) ProtoMessage()
func (*InviteDeveloperToGroupRequest) ProtoReflect ¶
func (x *InviteDeveloperToGroupRequest) ProtoReflect() protoreflect.Message
func (*InviteDeveloperToGroupRequest) Reset ¶
func (x *InviteDeveloperToGroupRequest) Reset()
func (*InviteDeveloperToGroupRequest) String ¶
func (x *InviteDeveloperToGroupRequest) String() string
type InviteDeveloperToGroupResponse ¶
type InviteDeveloperToGroupResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
GroupDeveloper *GroupDeveloperInfo `protobuf:"bytes,3,opt,name=group_developer,json=groupDeveloper,proto3" json:"group_developer,omitempty"`
// contains filtered or unexported fields
}
邀请开发者到组响应
func (*InviteDeveloperToGroupResponse) Descriptor
deprecated
func (*InviteDeveloperToGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use InviteDeveloperToGroupResponse.ProtoReflect.Descriptor instead.
func (*InviteDeveloperToGroupResponse) GetGroupDeveloper ¶
func (x *InviteDeveloperToGroupResponse) GetGroupDeveloper() *GroupDeveloperInfo
func (*InviteDeveloperToGroupResponse) GetMessage ¶
func (x *InviteDeveloperToGroupResponse) GetMessage() string
func (*InviteDeveloperToGroupResponse) GetStatus ¶
func (x *InviteDeveloperToGroupResponse) GetStatus() ResponseStatus
func (*InviteDeveloperToGroupResponse) ProtoMessage ¶
func (*InviteDeveloperToGroupResponse) ProtoMessage()
func (*InviteDeveloperToGroupResponse) ProtoReflect ¶
func (x *InviteDeveloperToGroupResponse) ProtoReflect() protoreflect.Message
func (*InviteDeveloperToGroupResponse) Reset ¶
func (x *InviteDeveloperToGroupResponse) Reset()
func (*InviteDeveloperToGroupResponse) String ¶
func (x *InviteDeveloperToGroupResponse) String() string
type LoginRequest ¶
type LoginRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
GroupKey string `protobuf:"bytes,3,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
// contains filtered or unexported fields
}
登录请求消息
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetGroupKey ¶ added in v0.1.1
func (x *LoginRequest) GetGroupKey() string
func (*LoginRequest) GetName ¶
func (x *LoginRequest) GetName() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
User *Userinfo `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
登录响应消息
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetMessage ¶
func (x *LoginResponse) GetMessage() string
func (*LoginResponse) GetSuccess ¶
func (x *LoginResponse) GetSuccess() bool
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) GetUser ¶ added in v0.1.1
func (x *LoginResponse) GetUser() *Userinfo
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type PaginationInfo ¶
type PaginationInfo struct {
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
TotalPages int32 `protobuf:"varint,4,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"`
HasNext bool `protobuf:"varint,5,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"`
HasPrev bool `protobuf:"varint,6,opt,name=has_prev,json=hasPrev,proto3" json:"has_prev,omitempty"`
// contains filtered or unexported fields
}
分页信息
func (*PaginationInfo) Descriptor
deprecated
func (*PaginationInfo) Descriptor() ([]byte, []int)
Deprecated: Use PaginationInfo.ProtoReflect.Descriptor instead.
func (*PaginationInfo) GetHasNext ¶
func (x *PaginationInfo) GetHasNext() bool
func (*PaginationInfo) GetHasPrev ¶
func (x *PaginationInfo) GetHasPrev() bool
func (*PaginationInfo) GetPage ¶
func (x *PaginationInfo) GetPage() int32
func (*PaginationInfo) GetPageSize ¶
func (x *PaginationInfo) GetPageSize() int32
func (*PaginationInfo) GetTotal ¶
func (x *PaginationInfo) GetTotal() int64
func (*PaginationInfo) GetTotalPages ¶
func (x *PaginationInfo) GetTotalPages() int32
func (*PaginationInfo) ProtoMessage ¶
func (*PaginationInfo) ProtoMessage()
func (*PaginationInfo) ProtoReflect ¶
func (x *PaginationInfo) ProtoReflect() protoreflect.Message
func (*PaginationInfo) Reset ¶
func (x *PaginationInfo) Reset()
func (*PaginationInfo) String ¶
func (x *PaginationInfo) String() string
type PublicServiceClient ¶
type PublicServiceClient interface {
// 用户密钥管理
CreateUserKey(ctx context.Context, in *CreateUserKeyRequest, opts ...grpc.CallOption) (*CreateUserKeyResponse, error)
GetUserKeys(ctx context.Context, in *GetUserKeysRequest, opts ...grpc.CallOption) (*GetUserKeysResponse, error)
GetUserKey(ctx context.Context, in *GetUserKeyRequest, opts ...grpc.CallOption) (*GetUserKeyResponse, error)
UpdateUserKey(ctx context.Context, in *UpdateUserKeyRequest, opts ...grpc.CallOption) (*UpdateUserKeyResponse, error)
DeleteUserKey(ctx context.Context, in *DeleteUserKeyRequest, opts ...grpc.CallOption) (*DeleteUserKeyResponse, error)
ToggleUserKey(ctx context.Context, in *ToggleUserKeyRequest, opts ...grpc.CallOption) (*ToggleUserKeyResponse, error)
// 用户统计
GetUserStats(ctx context.Context, in *GetUserStatsRequest, opts ...grpc.CallOption) (*GetUserStatsResponse, error)
}
PublicServiceClient is the client API for PublicService 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 NewPublicServiceClient ¶
func NewPublicServiceClient(cc grpc.ClientConnInterface) PublicServiceClient
type PublicServiceServer ¶
type PublicServiceServer interface {
// 用户密钥管理
CreateUserKey(context.Context, *CreateUserKeyRequest) (*CreateUserKeyResponse, error)
GetUserKeys(context.Context, *GetUserKeysRequest) (*GetUserKeysResponse, error)
GetUserKey(context.Context, *GetUserKeyRequest) (*GetUserKeyResponse, error)
UpdateUserKey(context.Context, *UpdateUserKeyRequest) (*UpdateUserKeyResponse, error)
DeleteUserKey(context.Context, *DeleteUserKeyRequest) (*DeleteUserKeyResponse, error)
ToggleUserKey(context.Context, *ToggleUserKeyRequest) (*ToggleUserKeyResponse, error)
// 用户统计
GetUserStats(context.Context, *GetUserStatsRequest) (*GetUserStatsResponse, error)
// contains filtered or unexported methods
}
PublicServiceServer is the server API for PublicService service. All implementations must embed UnimplementedPublicServiceServer for forward compatibility.
公共服务(用于用户登录等公开接口)
type RemoveDeveloperFromGroupRequest ¶
type RemoveDeveloperFromGroupRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
TargetDeveloperId uint32 `protobuf:"varint,3,opt,name=target_developer_id,json=targetDeveloperId,proto3" json:"target_developer_id,omitempty"`
// contains filtered or unexported fields
}
从组中移除开发者请求
func (*RemoveDeveloperFromGroupRequest) Descriptor
deprecated
func (*RemoveDeveloperFromGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDeveloperFromGroupRequest.ProtoReflect.Descriptor instead.
func (*RemoveDeveloperFromGroupRequest) GetDeveloperKey ¶
func (x *RemoveDeveloperFromGroupRequest) GetDeveloperKey() string
func (*RemoveDeveloperFromGroupRequest) GetGroupId ¶
func (x *RemoveDeveloperFromGroupRequest) GetGroupId() uint32
func (*RemoveDeveloperFromGroupRequest) GetTargetDeveloperId ¶
func (x *RemoveDeveloperFromGroupRequest) GetTargetDeveloperId() uint32
func (*RemoveDeveloperFromGroupRequest) ProtoMessage ¶
func (*RemoveDeveloperFromGroupRequest) ProtoMessage()
func (*RemoveDeveloperFromGroupRequest) ProtoReflect ¶
func (x *RemoveDeveloperFromGroupRequest) ProtoReflect() protoreflect.Message
func (*RemoveDeveloperFromGroupRequest) Reset ¶
func (x *RemoveDeveloperFromGroupRequest) Reset()
func (*RemoveDeveloperFromGroupRequest) String ¶
func (x *RemoveDeveloperFromGroupRequest) String() string
type RemoveDeveloperFromGroupResponse ¶
type RemoveDeveloperFromGroupResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
从组中移除开发者响应
func (*RemoveDeveloperFromGroupResponse) Descriptor
deprecated
func (*RemoveDeveloperFromGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDeveloperFromGroupResponse.ProtoReflect.Descriptor instead.
func (*RemoveDeveloperFromGroupResponse) GetMessage ¶
func (x *RemoveDeveloperFromGroupResponse) GetMessage() string
func (*RemoveDeveloperFromGroupResponse) GetStatus ¶
func (x *RemoveDeveloperFromGroupResponse) GetStatus() ResponseStatus
func (*RemoveDeveloperFromGroupResponse) ProtoMessage ¶
func (*RemoveDeveloperFromGroupResponse) ProtoMessage()
func (*RemoveDeveloperFromGroupResponse) ProtoReflect ¶
func (x *RemoveDeveloperFromGroupResponse) ProtoReflect() protoreflect.Message
func (*RemoveDeveloperFromGroupResponse) Reset ¶
func (x *RemoveDeveloperFromGroupResponse) Reset()
func (*RemoveDeveloperFromGroupResponse) String ¶
func (x *RemoveDeveloperFromGroupResponse) String() string
type RemoveUserFromGroupRequest ¶
type RemoveUserFromGroupRequest struct {
GroupKey string `protobuf:"bytes,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // 用于认证的组密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
UserId uint32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
从组中移除用户请求
func (*RemoveUserFromGroupRequest) Descriptor
deprecated
func (*RemoveUserFromGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserFromGroupRequest.ProtoReflect.Descriptor instead.
func (*RemoveUserFromGroupRequest) GetGroupId ¶
func (x *RemoveUserFromGroupRequest) GetGroupId() uint32
func (*RemoveUserFromGroupRequest) GetGroupKey ¶
func (x *RemoveUserFromGroupRequest) GetGroupKey() string
func (*RemoveUserFromGroupRequest) GetUserId ¶
func (x *RemoveUserFromGroupRequest) GetUserId() uint32
func (*RemoveUserFromGroupRequest) ProtoMessage ¶
func (*RemoveUserFromGroupRequest) ProtoMessage()
func (*RemoveUserFromGroupRequest) ProtoReflect ¶
func (x *RemoveUserFromGroupRequest) ProtoReflect() protoreflect.Message
func (*RemoveUserFromGroupRequest) Reset ¶
func (x *RemoveUserFromGroupRequest) Reset()
func (*RemoveUserFromGroupRequest) String ¶
func (x *RemoveUserFromGroupRequest) String() string
type RemoveUserFromGroupResponse ¶
type RemoveUserFromGroupResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
从组中移除用户响应
func (*RemoveUserFromGroupResponse) Descriptor
deprecated
func (*RemoveUserFromGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserFromGroupResponse.ProtoReflect.Descriptor instead.
func (*RemoveUserFromGroupResponse) GetMessage ¶
func (x *RemoveUserFromGroupResponse) GetMessage() string
func (*RemoveUserFromGroupResponse) GetStatus ¶
func (x *RemoveUserFromGroupResponse) GetStatus() ResponseStatus
func (*RemoveUserFromGroupResponse) ProtoMessage ¶
func (*RemoveUserFromGroupResponse) ProtoMessage()
func (*RemoveUserFromGroupResponse) ProtoReflect ¶
func (x *RemoveUserFromGroupResponse) ProtoReflect() protoreflect.Message
func (*RemoveUserFromGroupResponse) Reset ¶
func (x *RemoveUserFromGroupResponse) Reset()
func (*RemoveUserFromGroupResponse) String ¶
func (x *RemoveUserFromGroupResponse) String() string
type ResponseStatus ¶
type ResponseStatus int32
通用响应状态
const ( ResponseStatus_SUCCESS ResponseStatus = 0 ResponseStatus_ERROR ResponseStatus = 1 ResponseStatus_UNAUTHORIZED ResponseStatus = 2 ResponseStatus_FORBIDDEN ResponseStatus = 3 ResponseStatus_NOT_FOUND ResponseStatus = 4 ResponseStatus_INVALID_PARAMETER ResponseStatus = 5 ResponseStatus_INTERNAL_ERROR ResponseStatus = 6 )
func (ResponseStatus) Descriptor ¶
func (ResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (ResponseStatus) Enum ¶
func (x ResponseStatus) Enum() *ResponseStatus
func (ResponseStatus) EnumDescriptor
deprecated
func (ResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseStatus.Descriptor instead.
func (ResponseStatus) Number ¶
func (x ResponseStatus) Number() protoreflect.EnumNumber
func (ResponseStatus) String ¶
func (x ResponseStatus) String() string
func (ResponseStatus) Type ¶
func (ResponseStatus) Type() protoreflect.EnumType
type ToggleDeveloperKeyRequest ¶
type ToggleDeveloperKeyRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
// contains filtered or unexported fields
}
切换开发者密钥状态请求
func (*ToggleDeveloperKeyRequest) Descriptor
deprecated
func (*ToggleDeveloperKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleDeveloperKeyRequest.ProtoReflect.Descriptor instead.
func (*ToggleDeveloperKeyRequest) GetDeveloperKey ¶
func (x *ToggleDeveloperKeyRequest) GetDeveloperKey() string
func (*ToggleDeveloperKeyRequest) GetIsActive ¶
func (x *ToggleDeveloperKeyRequest) GetIsActive() bool
func (*ToggleDeveloperKeyRequest) GetKeyId ¶
func (x *ToggleDeveloperKeyRequest) GetKeyId() uint32
func (*ToggleDeveloperKeyRequest) ProtoMessage ¶
func (*ToggleDeveloperKeyRequest) ProtoMessage()
func (*ToggleDeveloperKeyRequest) ProtoReflect ¶
func (x *ToggleDeveloperKeyRequest) ProtoReflect() protoreflect.Message
func (*ToggleDeveloperKeyRequest) Reset ¶
func (x *ToggleDeveloperKeyRequest) Reset()
func (*ToggleDeveloperKeyRequest) String ¶
func (x *ToggleDeveloperKeyRequest) String() string
type ToggleDeveloperKeyResponse ¶
type ToggleDeveloperKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
KeyInfo *DeveloperKeyInfo `protobuf:"bytes,3,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"`
// contains filtered or unexported fields
}
切换开发者密钥状态响应
func (*ToggleDeveloperKeyResponse) Descriptor
deprecated
func (*ToggleDeveloperKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleDeveloperKeyResponse.ProtoReflect.Descriptor instead.
func (*ToggleDeveloperKeyResponse) GetKeyInfo ¶
func (x *ToggleDeveloperKeyResponse) GetKeyInfo() *DeveloperKeyInfo
func (*ToggleDeveloperKeyResponse) GetMessage ¶
func (x *ToggleDeveloperKeyResponse) GetMessage() string
func (*ToggleDeveloperKeyResponse) GetStatus ¶
func (x *ToggleDeveloperKeyResponse) GetStatus() ResponseStatus
func (*ToggleDeveloperKeyResponse) ProtoMessage ¶
func (*ToggleDeveloperKeyResponse) ProtoMessage()
func (*ToggleDeveloperKeyResponse) ProtoReflect ¶
func (x *ToggleDeveloperKeyResponse) ProtoReflect() protoreflect.Message
func (*ToggleDeveloperKeyResponse) Reset ¶
func (x *ToggleDeveloperKeyResponse) Reset()
func (*ToggleDeveloperKeyResponse) String ¶
func (x *ToggleDeveloperKeyResponse) String() string
type ToggleGroupKeyRequest ¶
type ToggleGroupKeyRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
KeyId uint32 `protobuf:"varint,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
IsActive bool `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
// contains filtered or unexported fields
}
切换组密钥状态请求
func (*ToggleGroupKeyRequest) Descriptor
deprecated
func (*ToggleGroupKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleGroupKeyRequest.ProtoReflect.Descriptor instead.
func (*ToggleGroupKeyRequest) GetDeveloperKey ¶
func (x *ToggleGroupKeyRequest) GetDeveloperKey() string
func (*ToggleGroupKeyRequest) GetGroupId ¶
func (x *ToggleGroupKeyRequest) GetGroupId() uint32
func (*ToggleGroupKeyRequest) GetIsActive ¶
func (x *ToggleGroupKeyRequest) GetIsActive() bool
func (*ToggleGroupKeyRequest) GetKeyId ¶
func (x *ToggleGroupKeyRequest) GetKeyId() uint32
func (*ToggleGroupKeyRequest) ProtoMessage ¶
func (*ToggleGroupKeyRequest) ProtoMessage()
func (*ToggleGroupKeyRequest) ProtoReflect ¶
func (x *ToggleGroupKeyRequest) ProtoReflect() protoreflect.Message
func (*ToggleGroupKeyRequest) Reset ¶
func (x *ToggleGroupKeyRequest) Reset()
func (*ToggleGroupKeyRequest) String ¶
func (x *ToggleGroupKeyRequest) String() string
type ToggleGroupKeyResponse ¶
type ToggleGroupKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
KeyInfo *GroupKeyInfo `protobuf:"bytes,3,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"`
// contains filtered or unexported fields
}
切换组密钥状态响应
func (*ToggleGroupKeyResponse) Descriptor
deprecated
func (*ToggleGroupKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleGroupKeyResponse.ProtoReflect.Descriptor instead.
func (*ToggleGroupKeyResponse) GetKeyInfo ¶
func (x *ToggleGroupKeyResponse) GetKeyInfo() *GroupKeyInfo
func (*ToggleGroupKeyResponse) GetMessage ¶
func (x *ToggleGroupKeyResponse) GetMessage() string
func (*ToggleGroupKeyResponse) GetStatus ¶
func (x *ToggleGroupKeyResponse) GetStatus() ResponseStatus
func (*ToggleGroupKeyResponse) ProtoMessage ¶
func (*ToggleGroupKeyResponse) ProtoMessage()
func (*ToggleGroupKeyResponse) ProtoReflect ¶
func (x *ToggleGroupKeyResponse) ProtoReflect() protoreflect.Message
func (*ToggleGroupKeyResponse) Reset ¶
func (x *ToggleGroupKeyResponse) Reset()
func (*ToggleGroupKeyResponse) String ¶
func (x *ToggleGroupKeyResponse) String() string
type ToggleUserKeyRequest ¶
type ToggleUserKeyRequest struct {
UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // 用户JWT token
KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
// contains filtered or unexported fields
}
切换用户密钥状态请求
func (*ToggleUserKeyRequest) Descriptor
deprecated
func (*ToggleUserKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleUserKeyRequest.ProtoReflect.Descriptor instead.
func (*ToggleUserKeyRequest) GetIsActive ¶
func (x *ToggleUserKeyRequest) GetIsActive() bool
func (*ToggleUserKeyRequest) GetKeyId ¶
func (x *ToggleUserKeyRequest) GetKeyId() uint32
func (*ToggleUserKeyRequest) GetUserToken ¶
func (x *ToggleUserKeyRequest) GetUserToken() string
func (*ToggleUserKeyRequest) ProtoMessage ¶
func (*ToggleUserKeyRequest) ProtoMessage()
func (*ToggleUserKeyRequest) ProtoReflect ¶
func (x *ToggleUserKeyRequest) ProtoReflect() protoreflect.Message
func (*ToggleUserKeyRequest) Reset ¶
func (x *ToggleUserKeyRequest) Reset()
func (*ToggleUserKeyRequest) String ¶
func (x *ToggleUserKeyRequest) String() string
type ToggleUserKeyResponse ¶
type ToggleUserKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
KeyInfo *UserKeyInfo `protobuf:"bytes,3,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"`
// contains filtered or unexported fields
}
切换用户密钥状态响应
func (*ToggleUserKeyResponse) Descriptor
deprecated
func (*ToggleUserKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleUserKeyResponse.ProtoReflect.Descriptor instead.
func (*ToggleUserKeyResponse) GetKeyInfo ¶
func (x *ToggleUserKeyResponse) GetKeyInfo() *UserKeyInfo
func (*ToggleUserKeyResponse) GetMessage ¶
func (x *ToggleUserKeyResponse) GetMessage() string
func (*ToggleUserKeyResponse) GetStatus ¶
func (x *ToggleUserKeyResponse) GetStatus() ResponseStatus
func (*ToggleUserKeyResponse) ProtoMessage ¶
func (*ToggleUserKeyResponse) ProtoMessage()
func (*ToggleUserKeyResponse) ProtoReflect ¶
func (x *ToggleUserKeyResponse) ProtoReflect() protoreflect.Message
func (*ToggleUserKeyResponse) Reset ¶
func (x *ToggleUserKeyResponse) Reset()
func (*ToggleUserKeyResponse) String ¶
func (x *ToggleUserKeyResponse) String() string
type UnimplementedDeveloperServiceServer ¶
type UnimplementedDeveloperServiceServer struct{}
UnimplementedDeveloperServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDeveloperServiceServer) AddUserToGroup ¶
func (UnimplementedDeveloperServiceServer) AddUserToGroup(context.Context, *AddUserToGroupRequest) (*AddUserToGroupResponse, error)
func (UnimplementedDeveloperServiceServer) AuthenticateWithKey ¶
func (UnimplementedDeveloperServiceServer) AuthenticateWithKey(context.Context, *DeveloperKeyAuthRequest) (*DeveloperKeyAuthResponse, error)
func (UnimplementedDeveloperServiceServer) CreateDeveloperKey ¶
func (UnimplementedDeveloperServiceServer) CreateDeveloperKey(context.Context, *CreateDeveloperKeyRequest) (*CreateDeveloperKeyResponse, error)
func (UnimplementedDeveloperServiceServer) CreateGroup ¶
func (UnimplementedDeveloperServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
func (UnimplementedDeveloperServiceServer) CreateGroupKey ¶
func (UnimplementedDeveloperServiceServer) CreateGroupKey(context.Context, *CreateGroupKeyRequest) (*CreateGroupKeyResponse, error)
func (UnimplementedDeveloperServiceServer) CreateUser ¶
func (UnimplementedDeveloperServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedDeveloperServiceServer) DeleteDeveloperKey ¶
func (UnimplementedDeveloperServiceServer) DeleteDeveloperKey(context.Context, *DeleteDeveloperKeyRequest) (*DeleteDeveloperKeyResponse, error)
func (UnimplementedDeveloperServiceServer) DeleteGroup ¶
func (UnimplementedDeveloperServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
func (UnimplementedDeveloperServiceServer) DeleteGroupKey ¶
func (UnimplementedDeveloperServiceServer) DeleteGroupKey(context.Context, *DeleteGroupKeyRequest) (*DeleteGroupKeyResponse, error)
func (UnimplementedDeveloperServiceServer) DeleteUser ¶
func (UnimplementedDeveloperServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedDeveloperServiceServer) GetDeveloperKeys ¶
func (UnimplementedDeveloperServiceServer) GetDeveloperKeys(context.Context, *GetDeveloperKeysRequest) (*GetDeveloperKeysResponse, error)
func (UnimplementedDeveloperServiceServer) GetDeveloperStats ¶
func (UnimplementedDeveloperServiceServer) GetDeveloperStats(context.Context, *GetDeveloperStatsRequest) (*GetDeveloperStatsResponse, error)
func (UnimplementedDeveloperServiceServer) GetGroup ¶
func (UnimplementedDeveloperServiceServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
func (UnimplementedDeveloperServiceServer) GetGroupDevelopers ¶
func (UnimplementedDeveloperServiceServer) GetGroupDevelopers(context.Context, *GetGroupDevelopersRequest) (*GetGroupDevelopersResponse, error)
func (UnimplementedDeveloperServiceServer) GetGroupKeys ¶
func (UnimplementedDeveloperServiceServer) GetGroupKeys(context.Context, *GetGroupKeysRequest) (*GetGroupKeysResponse, error)
func (UnimplementedDeveloperServiceServer) GetGroupStats ¶
func (UnimplementedDeveloperServiceServer) GetGroupStats(context.Context, *GetGroupStatsRequest) (*GetGroupStatsResponse, error)
func (UnimplementedDeveloperServiceServer) GetGroupUsers ¶
func (UnimplementedDeveloperServiceServer) GetGroupUsers(context.Context, *GetGroupUsersRequest) (*GetGroupUsersResponse, error)
func (UnimplementedDeveloperServiceServer) GetGroups ¶
func (UnimplementedDeveloperServiceServer) GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
func (UnimplementedDeveloperServiceServer) GetUser ¶
func (UnimplementedDeveloperServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedDeveloperServiceServer) GetUsers ¶
func (UnimplementedDeveloperServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
func (UnimplementedDeveloperServiceServer) InviteDeveloperToGroup ¶
func (UnimplementedDeveloperServiceServer) InviteDeveloperToGroup(context.Context, *InviteDeveloperToGroupRequest) (*InviteDeveloperToGroupResponse, error)
func (UnimplementedDeveloperServiceServer) Login ¶
func (UnimplementedDeveloperServiceServer) Login(context.Context, *DeveloperLoginRequest) (*DeveloperLoginResponse, error)
func (UnimplementedDeveloperServiceServer) RemoveDeveloperFromGroup ¶
func (UnimplementedDeveloperServiceServer) RemoveDeveloperFromGroup(context.Context, *RemoveDeveloperFromGroupRequest) (*RemoveDeveloperFromGroupResponse, error)
func (UnimplementedDeveloperServiceServer) RemoveUserFromGroup ¶
func (UnimplementedDeveloperServiceServer) RemoveUserFromGroup(context.Context, *RemoveUserFromGroupRequest) (*RemoveUserFromGroupResponse, error)
func (UnimplementedDeveloperServiceServer) ToggleDeveloperKey ¶
func (UnimplementedDeveloperServiceServer) ToggleDeveloperKey(context.Context, *ToggleDeveloperKeyRequest) (*ToggleDeveloperKeyResponse, error)
func (UnimplementedDeveloperServiceServer) ToggleGroupKey ¶
func (UnimplementedDeveloperServiceServer) ToggleGroupKey(context.Context, *ToggleGroupKeyRequest) (*ToggleGroupKeyResponse, error)
func (UnimplementedDeveloperServiceServer) UpdateDeveloperGroupRole ¶
func (UnimplementedDeveloperServiceServer) UpdateDeveloperGroupRole(context.Context, *UpdateDeveloperGroupRoleRequest) (*UpdateDeveloperGroupRoleResponse, error)
func (UnimplementedDeveloperServiceServer) UpdateGroup ¶
func (UnimplementedDeveloperServiceServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
func (UnimplementedDeveloperServiceServer) UpdateUser ¶
func (UnimplementedDeveloperServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
func (UnimplementedDeveloperServiceServer) UpdateUserGroupRole ¶
func (UnimplementedDeveloperServiceServer) UpdateUserGroupRole(context.Context, *UpdateUserGroupRoleRequest) (*UpdateUserGroupRoleResponse, error)
type UnimplementedGroupServiceServer ¶
type UnimplementedGroupServiceServer struct{}
UnimplementedGroupServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedGroupServiceServer) AddUserToGroup ¶
func (UnimplementedGroupServiceServer) AddUserToGroup(context.Context, *AddUserToGroupRequest) (*AddUserToGroupResponse, error)
func (UnimplementedGroupServiceServer) AuthenticateUser ¶
func (UnimplementedGroupServiceServer) AuthenticateUser(context.Context, *UserGroupAuthRequest) (*UserGroupAuthResponse, error)
func (UnimplementedGroupServiceServer) AuthenticateWithKey ¶
func (UnimplementedGroupServiceServer) AuthenticateWithKey(context.Context, *GroupKeyAuthRequest) (*GroupKeyAuthResponse, error)
func (UnimplementedGroupServiceServer) GetGroupInfo ¶
func (UnimplementedGroupServiceServer) GetGroupInfo(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
func (UnimplementedGroupServiceServer) GetGroupStats ¶
func (UnimplementedGroupServiceServer) GetGroupStats(context.Context, *GetGroupStatsRequest) (*GetGroupStatsResponse, error)
func (UnimplementedGroupServiceServer) GetGroupUsers ¶
func (UnimplementedGroupServiceServer) GetGroupUsers(context.Context, *GetGroupUsersRequest) (*GetGroupUsersResponse, error)
func (UnimplementedGroupServiceServer) RemoveUserFromGroup ¶
func (UnimplementedGroupServiceServer) RemoveUserFromGroup(context.Context, *RemoveUserFromGroupRequest) (*RemoveUserFromGroupResponse, error)
func (UnimplementedGroupServiceServer) UpdateUserGroupRole ¶
func (UnimplementedGroupServiceServer) UpdateUserGroupRole(context.Context, *UpdateUserGroupRoleRequest) (*UpdateUserGroupRoleResponse, error)
func (UnimplementedGroupServiceServer) UserLogin ¶ added in v0.1.1
func (UnimplementedGroupServiceServer) UserLogin(context.Context, *LoginRequest) (*LoginResponse, error)
type UnimplementedPublicServiceServer ¶
type UnimplementedPublicServiceServer struct{}
UnimplementedPublicServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPublicServiceServer) CreateUserKey ¶
func (UnimplementedPublicServiceServer) CreateUserKey(context.Context, *CreateUserKeyRequest) (*CreateUserKeyResponse, error)
func (UnimplementedPublicServiceServer) DeleteUserKey ¶
func (UnimplementedPublicServiceServer) DeleteUserKey(context.Context, *DeleteUserKeyRequest) (*DeleteUserKeyResponse, error)
func (UnimplementedPublicServiceServer) GetUserKey ¶
func (UnimplementedPublicServiceServer) GetUserKey(context.Context, *GetUserKeyRequest) (*GetUserKeyResponse, error)
func (UnimplementedPublicServiceServer) GetUserKeys ¶
func (UnimplementedPublicServiceServer) GetUserKeys(context.Context, *GetUserKeysRequest) (*GetUserKeysResponse, error)
func (UnimplementedPublicServiceServer) GetUserStats ¶
func (UnimplementedPublicServiceServer) GetUserStats(context.Context, *GetUserStatsRequest) (*GetUserStatsResponse, error)
func (UnimplementedPublicServiceServer) ToggleUserKey ¶
func (UnimplementedPublicServiceServer) ToggleUserKey(context.Context, *ToggleUserKeyRequest) (*ToggleUserKeyResponse, error)
func (UnimplementedPublicServiceServer) UpdateUserKey ¶
func (UnimplementedPublicServiceServer) UpdateUserKey(context.Context, *UpdateUserKeyRequest) (*UpdateUserKeyResponse, error)
type UnsafeDeveloperServiceServer ¶
type UnsafeDeveloperServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeveloperServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeveloperServiceServer will result in compilation errors.
type UnsafeGroupServiceServer ¶
type UnsafeGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServiceServer will result in compilation errors.
type UnsafePublicServiceServer ¶
type UnsafePublicServiceServer interface {
// contains filtered or unexported methods
}
UnsafePublicServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PublicServiceServer will result in compilation errors.
type UpdateDeveloperGroupRoleRequest ¶
type UpdateDeveloperGroupRoleRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
TargetDeveloperId uint32 `protobuf:"varint,3,opt,name=target_developer_id,json=targetDeveloperId,proto3" json:"target_developer_id,omitempty"`
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
// contains filtered or unexported fields
}
更新开发者在组中的角色请求
func (*UpdateDeveloperGroupRoleRequest) Descriptor
deprecated
func (*UpdateDeveloperGroupRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeveloperGroupRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeveloperGroupRoleRequest) GetDeveloperKey ¶
func (x *UpdateDeveloperGroupRoleRequest) GetDeveloperKey() string
func (*UpdateDeveloperGroupRoleRequest) GetGroupId ¶
func (x *UpdateDeveloperGroupRoleRequest) GetGroupId() uint32
func (*UpdateDeveloperGroupRoleRequest) GetRole ¶
func (x *UpdateDeveloperGroupRoleRequest) GetRole() string
func (*UpdateDeveloperGroupRoleRequest) GetTargetDeveloperId ¶
func (x *UpdateDeveloperGroupRoleRequest) GetTargetDeveloperId() uint32
func (*UpdateDeveloperGroupRoleRequest) ProtoMessage ¶
func (*UpdateDeveloperGroupRoleRequest) ProtoMessage()
func (*UpdateDeveloperGroupRoleRequest) ProtoReflect ¶
func (x *UpdateDeveloperGroupRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeveloperGroupRoleRequest) Reset ¶
func (x *UpdateDeveloperGroupRoleRequest) Reset()
func (*UpdateDeveloperGroupRoleRequest) String ¶
func (x *UpdateDeveloperGroupRoleRequest) String() string
type UpdateDeveloperGroupRoleResponse ¶
type UpdateDeveloperGroupRoleResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
GroupDeveloper *GroupDeveloperInfo `protobuf:"bytes,3,opt,name=group_developer,json=groupDeveloper,proto3" json:"group_developer,omitempty"`
// contains filtered or unexported fields
}
更新开发者在组中的角色响应
func (*UpdateDeveloperGroupRoleResponse) Descriptor
deprecated
func (*UpdateDeveloperGroupRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeveloperGroupRoleResponse.ProtoReflect.Descriptor instead.
func (*UpdateDeveloperGroupRoleResponse) GetGroupDeveloper ¶
func (x *UpdateDeveloperGroupRoleResponse) GetGroupDeveloper() *GroupDeveloperInfo
func (*UpdateDeveloperGroupRoleResponse) GetMessage ¶
func (x *UpdateDeveloperGroupRoleResponse) GetMessage() string
func (*UpdateDeveloperGroupRoleResponse) GetStatus ¶
func (x *UpdateDeveloperGroupRoleResponse) GetStatus() ResponseStatus
func (*UpdateDeveloperGroupRoleResponse) ProtoMessage ¶
func (*UpdateDeveloperGroupRoleResponse) ProtoMessage()
func (*UpdateDeveloperGroupRoleResponse) ProtoReflect ¶
func (x *UpdateDeveloperGroupRoleResponse) ProtoReflect() protoreflect.Message
func (*UpdateDeveloperGroupRoleResponse) Reset ¶
func (x *UpdateDeveloperGroupRoleResponse) Reset()
func (*UpdateDeveloperGroupRoleResponse) String ¶
func (x *UpdateDeveloperGroupRoleResponse) String() string
type UpdateGroupRequest ¶
type UpdateGroupRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 可选
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 可选
IsPublic bool `protobuf:"varint,5,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // 可选
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` // 可选
// contains filtered or unexported fields
}
更新组请求
func (*UpdateGroupRequest) Descriptor
deprecated
func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateGroupRequest) GetDescription ¶
func (x *UpdateGroupRequest) GetDescription() string
func (*UpdateGroupRequest) GetDeveloperKey ¶
func (x *UpdateGroupRequest) GetDeveloperKey() string
func (*UpdateGroupRequest) GetGroupId ¶
func (x *UpdateGroupRequest) GetGroupId() uint32
func (*UpdateGroupRequest) GetIsPublic ¶
func (x *UpdateGroupRequest) GetIsPublic() bool
func (*UpdateGroupRequest) GetName ¶
func (x *UpdateGroupRequest) GetName() string
func (*UpdateGroupRequest) GetStatus ¶
func (x *UpdateGroupRequest) GetStatus() string
func (*UpdateGroupRequest) ProtoMessage ¶
func (*UpdateGroupRequest) ProtoMessage()
func (*UpdateGroupRequest) ProtoReflect ¶
func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateGroupRequest) Reset ¶
func (x *UpdateGroupRequest) Reset()
func (*UpdateGroupRequest) String ¶
func (x *UpdateGroupRequest) String() string
type UpdateGroupResponse ¶
type UpdateGroupResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Group *GroupInfo `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
// contains filtered or unexported fields
}
更新组响应
func (*UpdateGroupResponse) Descriptor
deprecated
func (*UpdateGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGroupResponse.ProtoReflect.Descriptor instead.
func (*UpdateGroupResponse) GetGroup ¶
func (x *UpdateGroupResponse) GetGroup() *GroupInfo
func (*UpdateGroupResponse) GetMessage ¶
func (x *UpdateGroupResponse) GetMessage() string
func (*UpdateGroupResponse) GetStatus ¶
func (x *UpdateGroupResponse) GetStatus() ResponseStatus
func (*UpdateGroupResponse) ProtoMessage ¶
func (*UpdateGroupResponse) ProtoMessage()
func (*UpdateGroupResponse) ProtoReflect ¶
func (x *UpdateGroupResponse) ProtoReflect() protoreflect.Message
func (*UpdateGroupResponse) Reset ¶
func (x *UpdateGroupResponse) Reset()
func (*UpdateGroupResponse) String ¶
func (x *UpdateGroupResponse) String() string
type UpdateUserGroupRoleRequest ¶
type UpdateUserGroupRoleRequest struct {
GroupKey string `protobuf:"bytes,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // 用于认证的组密钥
GroupId uint32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
UserId uint32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
// contains filtered or unexported fields
}
更新用户在组中的角色请求
func (*UpdateUserGroupRoleRequest) Descriptor
deprecated
func (*UpdateUserGroupRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserGroupRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserGroupRoleRequest) GetGroupId ¶
func (x *UpdateUserGroupRoleRequest) GetGroupId() uint32
func (*UpdateUserGroupRoleRequest) GetGroupKey ¶
func (x *UpdateUserGroupRoleRequest) GetGroupKey() string
func (*UpdateUserGroupRoleRequest) GetRole ¶
func (x *UpdateUserGroupRoleRequest) GetRole() string
func (*UpdateUserGroupRoleRequest) GetUserId ¶
func (x *UpdateUserGroupRoleRequest) GetUserId() uint32
func (*UpdateUserGroupRoleRequest) ProtoMessage ¶
func (*UpdateUserGroupRoleRequest) ProtoMessage()
func (*UpdateUserGroupRoleRequest) ProtoReflect ¶
func (x *UpdateUserGroupRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserGroupRoleRequest) Reset ¶
func (x *UpdateUserGroupRoleRequest) Reset()
func (*UpdateUserGroupRoleRequest) String ¶
func (x *UpdateUserGroupRoleRequest) String() string
type UpdateUserGroupRoleResponse ¶
type UpdateUserGroupRoleResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
GroupUser *GroupUserInfo `protobuf:"bytes,3,opt,name=group_user,json=groupUser,proto3" json:"group_user,omitempty"`
// contains filtered or unexported fields
}
更新用户在组中的角色响应
func (*UpdateUserGroupRoleResponse) Descriptor
deprecated
func (*UpdateUserGroupRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserGroupRoleResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserGroupRoleResponse) GetGroupUser ¶
func (x *UpdateUserGroupRoleResponse) GetGroupUser() *GroupUserInfo
func (*UpdateUserGroupRoleResponse) GetMessage ¶
func (x *UpdateUserGroupRoleResponse) GetMessage() string
func (*UpdateUserGroupRoleResponse) GetStatus ¶
func (x *UpdateUserGroupRoleResponse) GetStatus() ResponseStatus
func (*UpdateUserGroupRoleResponse) ProtoMessage ¶
func (*UpdateUserGroupRoleResponse) ProtoMessage()
func (*UpdateUserGroupRoleResponse) ProtoReflect ¶
func (x *UpdateUserGroupRoleResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserGroupRoleResponse) Reset ¶
func (x *UpdateUserGroupRoleResponse) Reset()
func (*UpdateUserGroupRoleResponse) String ¶
func (x *UpdateUserGroupRoleResponse) String() string
type UpdateUserKeyRequest ¶
type UpdateUserKeyRequest struct {
UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // 用户JWT token
KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 可选
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 可选
ExpiresAt int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 可选,0表示永不过期
// contains filtered or unexported fields
}
更新用户密钥请求
func (*UpdateUserKeyRequest) Descriptor
deprecated
func (*UpdateUserKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserKeyRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserKeyRequest) GetDescription ¶
func (x *UpdateUserKeyRequest) GetDescription() string
func (*UpdateUserKeyRequest) GetExpiresAt ¶
func (x *UpdateUserKeyRequest) GetExpiresAt() int64
func (*UpdateUserKeyRequest) GetKeyId ¶
func (x *UpdateUserKeyRequest) GetKeyId() uint32
func (*UpdateUserKeyRequest) GetName ¶
func (x *UpdateUserKeyRequest) GetName() string
func (*UpdateUserKeyRequest) GetUserToken ¶
func (x *UpdateUserKeyRequest) GetUserToken() string
func (*UpdateUserKeyRequest) ProtoMessage ¶
func (*UpdateUserKeyRequest) ProtoMessage()
func (*UpdateUserKeyRequest) ProtoReflect ¶
func (x *UpdateUserKeyRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserKeyRequest) Reset ¶
func (x *UpdateUserKeyRequest) Reset()
func (*UpdateUserKeyRequest) String ¶
func (x *UpdateUserKeyRequest) String() string
type UpdateUserKeyResponse ¶
type UpdateUserKeyResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
KeyInfo *UserKeyInfo `protobuf:"bytes,3,opt,name=key_info,json=keyInfo,proto3" json:"key_info,omitempty"`
// contains filtered or unexported fields
}
更新用户密钥响应
func (*UpdateUserKeyResponse) Descriptor
deprecated
func (*UpdateUserKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserKeyResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserKeyResponse) GetKeyInfo ¶
func (x *UpdateUserKeyResponse) GetKeyInfo() *UserKeyInfo
func (*UpdateUserKeyResponse) GetMessage ¶
func (x *UpdateUserKeyResponse) GetMessage() string
func (*UpdateUserKeyResponse) GetStatus ¶
func (x *UpdateUserKeyResponse) GetStatus() ResponseStatus
func (*UpdateUserKeyResponse) ProtoMessage ¶
func (*UpdateUserKeyResponse) ProtoMessage()
func (*UpdateUserKeyResponse) ProtoReflect ¶
func (x *UpdateUserKeyResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserKeyResponse) Reset ¶
func (x *UpdateUserKeyResponse) Reset()
func (*UpdateUserKeyResponse) String ¶
func (x *UpdateUserKeyResponse) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct {
DeveloperKey string `protobuf:"bytes,1,opt,name=developer_key,json=developerKey,proto3" json:"developer_key,omitempty"` // 用于认证的开发者密钥
UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 可选
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` // 可选
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // 可选
// contains filtered or unexported fields
}
更新用户请求
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetDeveloperKey ¶
func (x *UpdateUserRequest) GetDeveloperKey() string
func (*UpdateUserRequest) GetEmail ¶
func (x *UpdateUserRequest) GetEmail() string
func (*UpdateUserRequest) GetName ¶
func (x *UpdateUserRequest) GetName() string
func (*UpdateUserRequest) GetStatus ¶
func (x *UpdateUserRequest) GetStatus() string
func (*UpdateUserRequest) GetUserId ¶
func (x *UpdateUserRequest) GetUserId() uint32
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
User *UserInfo `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
更新用户响应
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) GetMessage ¶
func (x *UpdateUserResponse) GetMessage() string
func (*UpdateUserResponse) GetStatus ¶
func (x *UpdateUserResponse) GetStatus() ResponseStatus
func (*UpdateUserResponse) GetUser ¶
func (x *UpdateUserResponse) GetUser() *UserInfo
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string
type UserGroupAuthRequest ¶
type UserGroupAuthRequest struct {
GroupKey string `protobuf:"bytes,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"` // 组密钥
UserToken string `protobuf:"bytes,2,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // 用户token
// contains filtered or unexported fields
}
用户组认证请求
func (*UserGroupAuthRequest) Descriptor
deprecated
func (*UserGroupAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserGroupAuthRequest.ProtoReflect.Descriptor instead.
func (*UserGroupAuthRequest) GetGroupKey ¶
func (x *UserGroupAuthRequest) GetGroupKey() string
func (*UserGroupAuthRequest) GetUserToken ¶
func (x *UserGroupAuthRequest) GetUserToken() string
func (*UserGroupAuthRequest) ProtoMessage ¶
func (*UserGroupAuthRequest) ProtoMessage()
func (*UserGroupAuthRequest) ProtoReflect ¶
func (x *UserGroupAuthRequest) ProtoReflect() protoreflect.Message
func (*UserGroupAuthRequest) Reset ¶
func (x *UserGroupAuthRequest) Reset()
func (*UserGroupAuthRequest) String ¶
func (x *UserGroupAuthRequest) String() string
type UserGroupAuthResponse ¶
type UserGroupAuthResponse struct {
Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=usermodel.ResponseStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
UserId uint32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID
GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 组ID
Role string `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"` // 用户在组中的角色
ExpiresAt int64 `protobuf:"varint,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 认证过期时间
InnerId uint32 `protobuf:"varint,7,opt,name=inner_id,json=innerId,proto3" json:"inner_id,omitempty"`
// contains filtered or unexported fields
}
用户组认证响应
func (*UserGroupAuthResponse) Descriptor
deprecated
func (*UserGroupAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserGroupAuthResponse.ProtoReflect.Descriptor instead.
func (*UserGroupAuthResponse) GetExpiresAt ¶
func (x *UserGroupAuthResponse) GetExpiresAt() int64
func (*UserGroupAuthResponse) GetGroupId ¶
func (x *UserGroupAuthResponse) GetGroupId() uint32
func (*UserGroupAuthResponse) GetInnerId ¶ added in v0.1.4
func (x *UserGroupAuthResponse) GetInnerId() uint32
func (*UserGroupAuthResponse) GetMessage ¶
func (x *UserGroupAuthResponse) GetMessage() string
func (*UserGroupAuthResponse) GetRole ¶
func (x *UserGroupAuthResponse) GetRole() string
func (*UserGroupAuthResponse) GetStatus ¶
func (x *UserGroupAuthResponse) GetStatus() ResponseStatus
func (*UserGroupAuthResponse) GetUserId ¶
func (x *UserGroupAuthResponse) GetUserId() uint32
func (*UserGroupAuthResponse) ProtoMessage ¶
func (*UserGroupAuthResponse) ProtoMessage()
func (*UserGroupAuthResponse) ProtoReflect ¶
func (x *UserGroupAuthResponse) ProtoReflect() protoreflect.Message
func (*UserGroupAuthResponse) Reset ¶
func (x *UserGroupAuthResponse) Reset()
func (*UserGroupAuthResponse) String ¶
func (x *UserGroupAuthResponse) String() string
type UserInfo ¶
type UserInfo struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
LastLoginAt int64 `protobuf:"varint,6,opt,name=last_login_at,json=lastLoginAt,proto3" json:"last_login_at,omitempty"`
CreatedBy string `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // 创建者名称
GroupCount uint32 `protobuf:"varint,8,opt,name=group_count,json=groupCount,proto3" json:"group_count,omitempty"` // 所属组数量
// contains filtered or unexported fields
}
用户信息
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetCreatedAt ¶
func (*UserInfo) GetCreatedBy ¶
func (*UserInfo) GetGroupCount ¶
func (*UserInfo) GetLastLoginAt ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
type UserKeyInfo ¶
type UserKeyInfo struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
KeyHash string `protobuf:"bytes,3,opt,name=key_hash,json=keyHash,proto3" json:"key_hash,omitempty"` // 密钥哈希(不返回明文)
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
ExpiresAt int64 `protobuf:"varint,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 0表示永不过期
LastUsedAt int64 `protobuf:"varint,8,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
CreatedBy string `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // 创建者名称
UsageCount int64 `protobuf:"varint,10,opt,name=usage_count,json=usageCount,proto3" json:"usage_count,omitempty"` // 使用次数
Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` // 密钥描述
// contains filtered or unexported fields
}
用户密钥信息
func (*UserKeyInfo) Descriptor
deprecated
func (*UserKeyInfo) Descriptor() ([]byte, []int)
Deprecated: Use UserKeyInfo.ProtoReflect.Descriptor instead.
func (*UserKeyInfo) GetCreatedAt ¶
func (x *UserKeyInfo) GetCreatedAt() int64
func (*UserKeyInfo) GetCreatedBy ¶
func (x *UserKeyInfo) GetCreatedBy() string
func (*UserKeyInfo) GetDescription ¶
func (x *UserKeyInfo) GetDescription() string
func (*UserKeyInfo) GetExpiresAt ¶
func (x *UserKeyInfo) GetExpiresAt() int64
func (*UserKeyInfo) GetId ¶
func (x *UserKeyInfo) GetId() uint32
func (*UserKeyInfo) GetIsActive ¶
func (x *UserKeyInfo) GetIsActive() bool
func (*UserKeyInfo) GetKeyHash ¶
func (x *UserKeyInfo) GetKeyHash() string
func (*UserKeyInfo) GetLastUsedAt ¶
func (x *UserKeyInfo) GetLastUsedAt() int64
func (*UserKeyInfo) GetName ¶
func (x *UserKeyInfo) GetName() string
func (*UserKeyInfo) GetType ¶
func (x *UserKeyInfo) GetType() string
func (*UserKeyInfo) GetUsageCount ¶
func (x *UserKeyInfo) GetUsageCount() int64
func (*UserKeyInfo) ProtoMessage ¶
func (*UserKeyInfo) ProtoMessage()
func (*UserKeyInfo) ProtoReflect ¶
func (x *UserKeyInfo) ProtoReflect() protoreflect.Message
func (*UserKeyInfo) Reset ¶
func (x *UserKeyInfo) Reset()
func (*UserKeyInfo) String ¶
func (x *UserKeyInfo) String() string
type UserRegisterRequest ¶
type UserRegisterRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
用户注册请求
func (*UserRegisterRequest) Descriptor
deprecated
func (*UserRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRegisterRequest.ProtoReflect.Descriptor instead.
func (*UserRegisterRequest) GetEmail ¶
func (x *UserRegisterRequest) GetEmail() string
func (*UserRegisterRequest) GetName ¶
func (x *UserRegisterRequest) GetName() string
func (*UserRegisterRequest) GetPassword ¶
func (x *UserRegisterRequest) GetPassword() string
func (*UserRegisterRequest) ProtoMessage ¶
func (*UserRegisterRequest) ProtoMessage()
func (*UserRegisterRequest) ProtoReflect ¶
func (x *UserRegisterRequest) ProtoReflect() protoreflect.Message
func (*UserRegisterRequest) Reset ¶
func (x *UserRegisterRequest) Reset()
func (*UserRegisterRequest) String ¶
func (x *UserRegisterRequest) String() string
type UserRegisterResponse ¶
type UserRegisterResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
用户注册响应
func (*UserRegisterResponse) Descriptor
deprecated
func (*UserRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserRegisterResponse.ProtoReflect.Descriptor instead.
func (*UserRegisterResponse) GetMessage ¶
func (x *UserRegisterResponse) GetMessage() string
func (*UserRegisterResponse) GetSuccess ¶
func (x *UserRegisterResponse) GetSuccess() bool
func (*UserRegisterResponse) ProtoMessage ¶
func (*UserRegisterResponse) ProtoMessage()
func (*UserRegisterResponse) ProtoReflect ¶
func (x *UserRegisterResponse) ProtoReflect() protoreflect.Message
func (*UserRegisterResponse) Reset ¶
func (x *UserRegisterResponse) Reset()
func (*UserRegisterResponse) String ¶
func (x *UserRegisterResponse) String() string
type UserStats ¶
type UserStats struct {
TotalKeys uint32 `protobuf:"varint,1,opt,name=total_keys,json=totalKeys,proto3" json:"total_keys,omitempty"`
ActiveKeys uint32 `protobuf:"varint,2,opt,name=active_keys,json=activeKeys,proto3" json:"active_keys,omitempty"`
GroupCount uint32 `protobuf:"varint,3,opt,name=group_count,json=groupCount,proto3" json:"group_count,omitempty"`
LoginCount int64 `protobuf:"varint,4,opt,name=login_count,json=loginCount,proto3" json:"login_count,omitempty"`
LastLoginAt int64 `protobuf:"varint,5,opt,name=last_login_at,json=lastLoginAt,proto3" json:"last_login_at,omitempty"`
CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
LastKeyUsedAt int64 `protobuf:"varint,7,opt,name=last_key_used_at,json=lastKeyUsedAt,proto3" json:"last_key_used_at,omitempty"`
// contains filtered or unexported fields
}
用户统计信息
func (*UserStats) Descriptor
deprecated
func (*UserStats) GetActiveKeys ¶
func (*UserStats) GetCreatedAt ¶
func (*UserStats) GetGroupCount ¶
func (*UserStats) GetLastKeyUsedAt ¶
func (*UserStats) GetLastLoginAt ¶
func (*UserStats) GetLoginCount ¶
func (*UserStats) GetTotalKeys ¶
func (*UserStats) ProtoMessage ¶
func (*UserStats) ProtoMessage()
func (*UserStats) ProtoReflect ¶
func (x *UserStats) ProtoReflect() protoreflect.Message
type Userinfo ¶ added in v0.1.1
type Userinfo struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
InnerId uint32 `protobuf:"varint,2,opt,name=inner_id,json=innerId,proto3" json:"inner_id,omitempty"`
// contains filtered or unexported fields
}
func (*Userinfo) Descriptor
deprecated
added in
v0.1.1
func (*Userinfo) GetInnerId ¶ added in v0.1.1
func (*Userinfo) ProtoMessage ¶ added in v0.1.1
func (*Userinfo) ProtoMessage()
func (*Userinfo) ProtoReflect ¶ added in v0.1.1
func (x *Userinfo) ProtoReflect() protoreflect.Message