Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterConsoleServer(s grpc.ServiceRegistrar, srv ConsoleServer)
- type AccountExport
- func (*AccountExport) Descriptor() ([]byte, []int)deprecated
- func (x *AccountExport) GetPayloadJson() string
- func (x *AccountExport) GetUserId() string
- func (*AccountExport) ProtoMessage()
- func (x *AccountExport) ProtoReflect() protoreflect.Message
- func (x *AccountExport) Reset()
- func (x *AccountExport) String() string
- type AccountId
- type AccountImport
- func (*AccountImport) Descriptor() ([]byte, []int)deprecated
- func (x *AccountImport) GetId() string
- func (x *AccountImport) GetPayloadJson() string
- func (*AccountImport) ProtoMessage()
- func (x *AccountImport) ProtoReflect() protoreflect.Message
- func (x *AccountImport) Reset()
- func (x *AccountImport) String() string
- type AclResources
- func (AclResources) Descriptor() protoreflect.EnumDescriptor
- func (x AclResources) Enum() *AclResources
- func (AclResources) EnumDescriptor() ([]byte, []int)deprecated
- func (x AclResources) Number() protoreflect.EnumNumber
- func (x AclResources) String() string
- func (AclResources) Type() protoreflect.EnumType
- type AclTemplate
- func (*AclTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *AclTemplate) GetAclBitmap() string
- func (x *AclTemplate) GetId() string
- func (x *AclTemplate) GetName() string
- func (*AclTemplate) ProtoMessage()
- func (x *AclTemplate) ProtoReflect() protoreflect.Message
- func (x *AclTemplate) Reset()
- func (x *AclTemplate) String() string
- type AclTemplateId
- type AclTemplateList
- type AddGroupUsersRequest
- func (*AddGroupUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddGroupUsersRequest) GetGroupId() string
- func (x *AddGroupUsersRequest) GetUserIds() []string
- func (*AddGroupUsersRequest) ProtoMessage()
- func (x *AddGroupUsersRequest) ProtoReflect() protoreflect.Message
- func (x *AddGroupUsersRequest) Reset()
- func (x *AddGroupUsersRequest) String() string
- type AuthenticateLogoutRequest
- func (*AuthenticateLogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateLogoutRequest) GetToken() string
- func (*AuthenticateLogoutRequest) ProtoMessage()
- func (x *AuthenticateLogoutRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateLogoutRequest) Reset()
- func (x *AuthenticateLogoutRequest) String() string
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetPassword() string
- func (x *AuthenticateRequest) GetTotp() string
- func (x *AuthenticateRequest) GetUsername() string
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type CallApiEndpointRequest
- func (*CallApiEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallApiEndpointRequest) GetBodyJson() string
- func (x *CallApiEndpointRequest) GetMethod() string
- func (x *CallApiEndpointRequest) GetUserId() string
- func (*CallApiEndpointRequest) ProtoMessage()
- func (x *CallApiEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *CallApiEndpointRequest) Reset()
- func (x *CallApiEndpointRequest) String() string
- type CallApiEndpointResponse
- func (*CallApiEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallApiEndpointResponse) GetBodyJson() string
- func (*CallApiEndpointResponse) ProtoMessage()
- func (x *CallApiEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *CallApiEndpointResponse) Reset()
- func (x *CallApiEndpointResponse) String() string
- type CallRpcEndpointRequest
- func (*CallRpcEndpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallRpcEndpointRequest) GetId() string
- func (x *CallRpcEndpointRequest) GetPayload() string
- func (x *CallRpcEndpointRequest) GetUserId() string
- func (*CallRpcEndpointRequest) ProtoMessage()
- func (x *CallRpcEndpointRequest) ProtoReflect() protoreflect.Message
- func (x *CallRpcEndpointRequest) Reset()
- func (x *CallRpcEndpointRequest) String() string
- type CallRpcEndpointResponse
- func (*CallRpcEndpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallRpcEndpointResponse) GetPayload() string
- func (*CallRpcEndpointResponse) ProtoMessage()
- func (x *CallRpcEndpointResponse) ProtoReflect() protoreflect.Message
- func (x *CallRpcEndpointResponse) Reset()
- func (x *CallRpcEndpointResponse) String() string
- type ChannelMessage
- func (*ChannelMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelMessage) GetChannelId() string
- func (x *ChannelMessage) GetContent() string
- func (x *ChannelMessage) GetCreateTime() int64
- func (x *ChannelMessage) GetMessageId() string
- func (x *ChannelMessage) GetSenderId() string
- func (x *ChannelMessage) GetUsername() string
- func (*ChannelMessage) ProtoMessage()
- func (x *ChannelMessage) ProtoReflect() protoreflect.Message
- func (x *ChannelMessage) Reset()
- func (x *ChannelMessage) String() string
- type ChannelMessageList
- func (*ChannelMessageList) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelMessageList) GetMessages() []*ChannelMessage
- func (x *ChannelMessageList) GetNextCursor() string
- func (*ChannelMessageList) ProtoMessage()
- func (x *ChannelMessageList) ProtoReflect() protoreflect.Message
- func (x *ChannelMessageList) Reset()
- func (x *ChannelMessageList) String() string
- type Config
- type ConsoleClient
- type ConsoleServer
- type ConsoleSession
- func (*ConsoleSession) Descriptor() ([]byte, []int)deprecated
- func (x *ConsoleSession) GetAclBitmap() string
- func (x *ConsoleSession) GetToken() string
- func (*ConsoleSession) ProtoMessage()
- func (x *ConsoleSession) ProtoReflect() protoreflect.Message
- func (x *ConsoleSession) Reset()
- func (x *ConsoleSession) String() string
- type DeleteChannelMessagesRequest
- func (*DeleteChannelMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelMessagesRequest) GetBefore() int64
- func (x *DeleteChannelMessagesRequest) GetIds() []string
- func (*DeleteChannelMessagesRequest) ProtoMessage()
- func (x *DeleteChannelMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelMessagesRequest) Reset()
- func (x *DeleteChannelMessagesRequest) String() string
- type DeleteGroupUserRequest
- func (*DeleteGroupUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupUserRequest) GetGroupId() string
- func (x *DeleteGroupUserRequest) GetUserId() string
- func (*DeleteGroupUserRequest) ProtoMessage()
- func (x *DeleteGroupUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupUserRequest) Reset()
- func (x *DeleteGroupUserRequest) String() string
- type EndpointList
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetDescription() string
- func (x *Group) GetEdgeCount() int32
- func (x *Group) GetId() string
- func (x *Group) GetLangTag() string
- func (x *Group) GetMaxCount() int32
- func (x *Group) GetName() string
- func (x *Group) GetOpen() bool
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type GroupId
- type GroupList
- type GroupUser
- func (*GroupUser) Descriptor() ([]byte, []int)deprecated
- func (x *GroupUser) GetState() int32
- func (x *GroupUser) GetUserId() string
- func (x *GroupUser) GetUsername() string
- func (*GroupUser) ProtoMessage()
- func (x *GroupUser) ProtoReflect() protoreflect.Message
- func (x *GroupUser) Reset()
- func (x *GroupUser) String() string
- type GroupUserId
- func (*GroupUserId) Descriptor() ([]byte, []int)deprecated
- func (x *GroupUserId) GetGroupId() string
- func (x *GroupUserId) GetUserId() string
- func (*GroupUserId) ProtoMessage()
- func (x *GroupUserId) ProtoReflect() protoreflect.Message
- func (x *GroupUserId) Reset()
- func (x *GroupUserId) String() string
- type GroupUserList
- type ListChannelMessagesRequest
- func (*ListChannelMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelMessagesRequest) GetChannelId() string
- func (x *ListChannelMessagesRequest) GetCursor() string
- func (x *ListChannelMessagesRequest) GetLimit() int32
- func (*ListChannelMessagesRequest) ProtoMessage()
- func (x *ListChannelMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListChannelMessagesRequest) Reset()
- func (x *ListChannelMessagesRequest) String() string
- type ListGroupsRequest
- func (*ListGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsRequest) GetCursor() string
- func (x *ListGroupsRequest) GetLimit() int32
- func (x *ListGroupsRequest) GetName() string
- func (*ListGroupsRequest) ProtoMessage()
- func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupsRequest) Reset()
- func (x *ListGroupsRequest) String() string
- type ListNotificationsRequest
- func (*ListNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNotificationsRequest) GetCursor() string
- func (x *ListNotificationsRequest) GetLimit() int32
- func (x *ListNotificationsRequest) GetUserId() string
- func (*ListNotificationsRequest) ProtoMessage()
- func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListNotificationsRequest) Reset()
- func (x *ListNotificationsRequest) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCode() int32
- func (x *Notification) GetContent() string
- func (x *Notification) GetId() string
- func (x *Notification) GetSubject() string
- func (x *Notification) GetUserId() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationId
- type NotificationList
- func (*NotificationList) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationList) GetCursor() string
- func (x *NotificationList) GetNotifications() []*Notification
- func (*NotificationList) ProtoMessage()
- func (x *NotificationList) ProtoReflect() protoreflect.Message
- func (x *NotificationList) Reset()
- func (x *NotificationList) String() string
- type RuntimeInfo
- type SatoriListTemplatesRequest
- func (*SatoriListTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SatoriListTemplatesRequest) GetCursor() string
- func (x *SatoriListTemplatesRequest) GetLimit() int32
- func (*SatoriListTemplatesRequest) ProtoMessage()
- func (x *SatoriListTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *SatoriListTemplatesRequest) Reset()
- func (x *SatoriListTemplatesRequest) String() string
- type SatoriListTemplatesResponse
- func (*SatoriListTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SatoriListTemplatesResponse) GetCursor() string
- func (x *SatoriListTemplatesResponse) GetTemplates() []*SatoriTemplate
- func (*SatoriListTemplatesResponse) ProtoMessage()
- func (x *SatoriListTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *SatoriListTemplatesResponse) Reset()
- func (x *SatoriListTemplatesResponse) String() string
- type SatoriSendDirectMessageRequest
- func (*SatoriSendDirectMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SatoriSendDirectMessageRequest) GetBody() string
- func (x *SatoriSendDirectMessageRequest) GetIdentityId() string
- func (x *SatoriSendDirectMessageRequest) GetTemplateId() string
- func (x *SatoriSendDirectMessageRequest) GetTitle() string
- func (*SatoriSendDirectMessageRequest) ProtoMessage()
- func (x *SatoriSendDirectMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SatoriSendDirectMessageRequest) Reset()
- func (x *SatoriSendDirectMessageRequest) String() string
- type SatoriSendDirectMessageResponse
- func (*SatoriSendDirectMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SatoriSendDirectMessageResponse) GetError() string
- func (x *SatoriSendDirectMessageResponse) GetOk() bool
- func (*SatoriSendDirectMessageResponse) ProtoMessage()
- func (x *SatoriSendDirectMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SatoriSendDirectMessageResponse) Reset()
- func (x *SatoriSendDirectMessageResponse) String() string
- type SatoriTemplate
- func (*SatoriTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *SatoriTemplate) GetId() string
- func (x *SatoriTemplate) GetName() string
- func (x *SatoriTemplate) GetTitle() string
- func (x *SatoriTemplate) GetValue() string
- func (*SatoriTemplate) ProtoMessage()
- func (x *SatoriTemplate) ProtoReflect() protoreflect.Message
- func (x *SatoriTemplate) Reset()
- func (x *SatoriTemplate) String() string
- type SendNotificationRequest
- func (*SendNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendNotificationRequest) GetCode() int32
- func (x *SendNotificationRequest) GetContent() string
- func (x *SendNotificationRequest) GetPersistent() bool
- func (x *SendNotificationRequest) GetSubject() string
- func (x *SendNotificationRequest) GetUserIds() []string
- func (*SendNotificationRequest) ProtoMessage()
- func (x *SendNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *SendNotificationRequest) Reset()
- func (x *SendNotificationRequest) String() string
- type Setting
- type SettingList
- type Status
- type StorageImport
- type StorageImportObject
- func (*StorageImportObject) Descriptor() ([]byte, []int)deprecated
- func (x *StorageImportObject) GetCollection() string
- func (x *StorageImportObject) GetKey() string
- func (x *StorageImportObject) GetPermissionRead() int32
- func (x *StorageImportObject) GetPermissionWrite() int32
- func (x *StorageImportObject) GetUserId() string
- func (x *StorageImportObject) GetValue() string
- func (*StorageImportObject) ProtoMessage()
- func (x *StorageImportObject) ProtoReflect() protoreflect.Message
- func (x *StorageImportObject) Reset()
- func (x *StorageImportObject) String() string
- type UnimplementedConsoleServer
- func (UnimplementedConsoleServer) AddAclTemplate(context.Context, *AclTemplate) (*AclTemplate, error)
- func (UnimplementedConsoleServer) AddGroupUsers(context.Context, *AddGroupUsersRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) Authenticate(context.Context, *AuthenticateRequest) (*ConsoleSession, error)
- func (UnimplementedConsoleServer) AuthenticateLogout(context.Context, *AuthenticateLogoutRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) CallApiEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error)
- func (UnimplementedConsoleServer) CallRpcEndpoint(context.Context, *CallRpcEndpointRequest) (*CallRpcEndpointResponse, error)
- func (UnimplementedConsoleServer) DeleteAclTemplate(context.Context, *AclTemplateId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteAllData(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteChannelMessages(context.Context, *DeleteChannelMessagesRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteGroup(context.Context, *GroupId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteGroupUser(context.Context, *DeleteGroupUserRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteNotification(context.Context, *NotificationId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DeleteStorage(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) DemoteGroupMember(context.Context, *GroupUserId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) ExportAccount(context.Context, *AccountId) (*AccountExport, error)
- func (UnimplementedConsoleServer) GetConfig(context.Context, *emptypb.Empty) (*Config, error)
- func (UnimplementedConsoleServer) GetGroup(context.Context, *GroupId) (*Group, error)
- func (UnimplementedConsoleServer) GetRuntime(context.Context, *emptypb.Empty) (*RuntimeInfo, error)
- func (UnimplementedConsoleServer) GetStatus(context.Context, *emptypb.Empty) (*Status, error)
- func (UnimplementedConsoleServer) ImportAccount(context.Context, *AccountImport) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) ImportAccountFull(context.Context, *AccountImport) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) ImportStorage(context.Context, *StorageImport) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) ListAclTemplates(context.Context, *emptypb.Empty) (*AclTemplateList, error)
- func (UnimplementedConsoleServer) ListApiEndpoints(context.Context, *emptypb.Empty) (*EndpointList, error)
- func (UnimplementedConsoleServer) ListChannelMessages(context.Context, *ListChannelMessagesRequest) (*ChannelMessageList, error)
- func (UnimplementedConsoleServer) ListGroupMembers(context.Context, *GroupId) (*GroupUserList, error)
- func (UnimplementedConsoleServer) ListGroups(context.Context, *ListGroupsRequest) (*GroupList, error)
- func (UnimplementedConsoleServer) ListNotifications(context.Context, *ListNotificationsRequest) (*NotificationList, error)
- func (UnimplementedConsoleServer) ListSettings(context.Context, *emptypb.Empty) (*SettingList, error)
- func (UnimplementedConsoleServer) PromoteGroupMember(context.Context, *GroupUserId) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) SatoriListTemplates(context.Context, *SatoriListTemplatesRequest) (*SatoriListTemplatesResponse, error)
- func (UnimplementedConsoleServer) SatoriSendDirectMessage(context.Context, *SatoriSendDirectMessageRequest) (*SatoriSendDirectMessageResponse, error)
- func (UnimplementedConsoleServer) SendNotification(context.Context, *SendNotificationRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UnlinkAccount(context.Context, *UnlinkAccountRequest) (*emptypb.Empty, error)
- func (UnimplementedConsoleServer) UpdateSetting(context.Context, *Setting) (*Setting, error)
- type UnlinkAccountRequest
- func (*UnlinkAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkAccountRequest) GetProvider() string
- func (x *UnlinkAccountRequest) GetUserId() string
- func (*UnlinkAccountRequest) ProtoMessage()
- func (x *UnlinkAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UnlinkAccountRequest) Reset()
- func (x *UnlinkAccountRequest) String() string
- type UnsafeConsoleServer
Constants ¶
const ( Console_Authenticate_FullMethodName = "/ultimate.server.console.Console/Authenticate" Console_AuthenticateLogout_FullMethodName = "/ultimate.server.console.Console/AuthenticateLogout" Console_ListGroups_FullMethodName = "/ultimate.server.console.Console/ListGroups" Console_GetGroup_FullMethodName = "/ultimate.server.console.Console/GetGroup" Console_DeleteGroup_FullMethodName = "/ultimate.server.console.Console/DeleteGroup" Console_ListGroupMembers_FullMethodName = "/ultimate.server.console.Console/ListGroupMembers" Console_AddGroupUsers_FullMethodName = "/ultimate.server.console.Console/AddGroupUsers" Console_DeleteGroupUser_FullMethodName = "/ultimate.server.console.Console/DeleteGroupUser" Console_PromoteGroupMember_FullMethodName = "/ultimate.server.console.Console/PromoteGroupMember" Console_DemoteGroupMember_FullMethodName = "/ultimate.server.console.Console/DemoteGroupMember" Console_ListChannelMessages_FullMethodName = "/ultimate.server.console.Console/ListChannelMessages" Console_DeleteChannelMessages_FullMethodName = "/ultimate.server.console.Console/DeleteChannelMessages" Console_ListNotifications_FullMethodName = "/ultimate.server.console.Console/ListNotifications" Console_DeleteNotification_FullMethodName = "/ultimate.server.console.Console/DeleteNotification" Console_SendNotification_FullMethodName = "/ultimate.server.console.Console/SendNotification" Console_UnlinkAccount_FullMethodName = "/ultimate.server.console.Console/UnlinkAccount" Console_ExportAccount_FullMethodName = "/ultimate.server.console.Console/ExportAccount" Console_ImportAccount_FullMethodName = "/ultimate.server.console.Console/ImportAccount" Console_ImportAccountFull_FullMethodName = "/ultimate.server.console.Console/ImportAccountFull" Console_DeleteAllData_FullMethodName = "/ultimate.server.console.Console/DeleteAllData" Console_DeleteStorage_FullMethodName = "/ultimate.server.console.Console/DeleteStorage" Console_ImportStorage_FullMethodName = "/ultimate.server.console.Console/ImportStorage" Console_SatoriListTemplates_FullMethodName = "/ultimate.server.console.Console/SatoriListTemplates" Console_SatoriSendDirectMessage_FullMethodName = "/ultimate.server.console.Console/SatoriSendDirectMessage" Console_GetConfig_FullMethodName = "/ultimate.server.console.Console/GetConfig" Console_GetRuntime_FullMethodName = "/ultimate.server.console.Console/GetRuntime" Console_ListApiEndpoints_FullMethodName = "/ultimate.server.console.Console/ListApiEndpoints" Console_CallApiEndpoint_FullMethodName = "/ultimate.server.console.Console/CallApiEndpoint" Console_CallRpcEndpoint_FullMethodName = "/ultimate.server.console.Console/CallRpcEndpoint" Console_ListAclTemplates_FullMethodName = "/ultimate.server.console.Console/ListAclTemplates" Console_AddAclTemplate_FullMethodName = "/ultimate.server.console.Console/AddAclTemplate" Console_DeleteAclTemplate_FullMethodName = "/ultimate.server.console.Console/DeleteAclTemplate" Console_ListSettings_FullMethodName = "/ultimate.server.console.Console/ListSettings" Console_UpdateSetting_FullMethodName = "/ultimate.server.console.Console/UpdateSetting" Console_GetStatus_FullMethodName = "/ultimate.server.console.Console/GetStatus" )
Variables ¶
var ( AclResources_name = map[int32]string{ 0: "ACCOUNT", 1: "ACCOUNT_WALLET", 2: "ACCOUNT_EXPORT", 3: "ACCOUNT_FRIENDS", 4: "ACCOUNT_GROUPS", 5: "ACCOUNT_NOTES", 6: "ACL_TEMPLATE", 7: "ALL_ACCOUNTS", 8: "ALL_DATA", 9: "ALL_STORAGE", 10: "API_EXPLORER", 11: "AUDIT_LOG", 12: "CONFIGURATION", 13: "CHANNEL_MESSAGE", 14: "USER", 15: "GROUP", 16: "IN_APP_PURCHASE", 17: "LEADERBOARD", 18: "LEADERBOARD_RECORD", 19: "MATCH", 20: "NOTIFICATION", 21: "SATORI_MESSAGE", 22: "SETTINGS", 23: "STORAGE_DATA", 24: "STORAGE_DATA_IMPORT", 25: "HIRO_INVENTORY", 26: "HIRO_PROGRESSION", 27: "HIRO_ECONOMY", 28: "HIRO_STATS", 29: "HIRO_ENERGY", } AclResources_value = map[string]int32{ "ACCOUNT": 0, "ACCOUNT_WALLET": 1, "ACCOUNT_EXPORT": 2, "ACCOUNT_FRIENDS": 3, "ACCOUNT_GROUPS": 4, "ACCOUNT_NOTES": 5, "ACL_TEMPLATE": 6, "ALL_ACCOUNTS": 7, "ALL_DATA": 8, "ALL_STORAGE": 9, "API_EXPLORER": 10, "AUDIT_LOG": 11, "CONFIGURATION": 12, "CHANNEL_MESSAGE": 13, "USER": 14, "GROUP": 15, "IN_APP_PURCHASE": 16, "LEADERBOARD": 17, "LEADERBOARD_RECORD": 18, "MATCH": 19, "NOTIFICATION": 20, "SATORI_MESSAGE": 21, "SETTINGS": 22, "STORAGE_DATA": 23, "STORAGE_DATA_IMPORT": 24, "HIRO_INVENTORY": 25, "HIRO_PROGRESSION": 26, "HIRO_ECONOMY": 27, "HIRO_STATS": 28, "HIRO_ENERGY": 29, } )
Enum value maps for AclResources.
var Console_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ultimate.server.console.Console", HandlerType: (*ConsoleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authenticate", Handler: _Console_Authenticate_Handler, }, { MethodName: "AuthenticateLogout", Handler: _Console_AuthenticateLogout_Handler, }, { MethodName: "ListGroups", Handler: _Console_ListGroups_Handler, }, { MethodName: "GetGroup", Handler: _Console_GetGroup_Handler, }, { MethodName: "DeleteGroup", Handler: _Console_DeleteGroup_Handler, }, { MethodName: "ListGroupMembers", Handler: _Console_ListGroupMembers_Handler, }, { MethodName: "AddGroupUsers", Handler: _Console_AddGroupUsers_Handler, }, { MethodName: "DeleteGroupUser", Handler: _Console_DeleteGroupUser_Handler, }, { MethodName: "PromoteGroupMember", Handler: _Console_PromoteGroupMember_Handler, }, { MethodName: "DemoteGroupMember", Handler: _Console_DemoteGroupMember_Handler, }, { MethodName: "ListChannelMessages", Handler: _Console_ListChannelMessages_Handler, }, { MethodName: "DeleteChannelMessages", Handler: _Console_DeleteChannelMessages_Handler, }, { MethodName: "ListNotifications", Handler: _Console_ListNotifications_Handler, }, { MethodName: "DeleteNotification", Handler: _Console_DeleteNotification_Handler, }, { MethodName: "SendNotification", Handler: _Console_SendNotification_Handler, }, { MethodName: "UnlinkAccount", Handler: _Console_UnlinkAccount_Handler, }, { MethodName: "ExportAccount", Handler: _Console_ExportAccount_Handler, }, { MethodName: "ImportAccount", Handler: _Console_ImportAccount_Handler, }, { MethodName: "ImportAccountFull", Handler: _Console_ImportAccountFull_Handler, }, { MethodName: "DeleteAllData", Handler: _Console_DeleteAllData_Handler, }, { MethodName: "DeleteStorage", Handler: _Console_DeleteStorage_Handler, }, { MethodName: "ImportStorage", Handler: _Console_ImportStorage_Handler, }, { MethodName: "SatoriListTemplates", Handler: _Console_SatoriListTemplates_Handler, }, { MethodName: "SatoriSendDirectMessage", Handler: _Console_SatoriSendDirectMessage_Handler, }, { MethodName: "GetConfig", Handler: _Console_GetConfig_Handler, }, { MethodName: "GetRuntime", Handler: _Console_GetRuntime_Handler, }, { MethodName: "ListApiEndpoints", Handler: _Console_ListApiEndpoints_Handler, }, { MethodName: "CallApiEndpoint", Handler: _Console_CallApiEndpoint_Handler, }, { MethodName: "CallRpcEndpoint", Handler: _Console_CallRpcEndpoint_Handler, }, { MethodName: "ListAclTemplates", Handler: _Console_ListAclTemplates_Handler, }, { MethodName: "AddAclTemplate", Handler: _Console_AddAclTemplate_Handler, }, { MethodName: "DeleteAclTemplate", Handler: _Console_DeleteAclTemplate_Handler, }, { MethodName: "ListSettings", Handler: _Console_ListSettings_Handler, }, { MethodName: "UpdateSetting", Handler: _Console_UpdateSetting_Handler, }, { MethodName: "GetStatus", Handler: _Console_GetStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/console/console.proto", }
Console_ServiceDesc is the grpc.ServiceDesc for Console 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_console_console_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConsoleServer ¶
func RegisterConsoleServer(s grpc.ServiceRegistrar, srv ConsoleServer)
Types ¶
type AccountExport ¶
type AccountExport struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
PayloadJson string `protobuf:"bytes,2,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"`
// contains filtered or unexported fields
}
func (*AccountExport) Descriptor
deprecated
func (*AccountExport) Descriptor() ([]byte, []int)
Deprecated: Use AccountExport.ProtoReflect.Descriptor instead.
func (*AccountExport) GetPayloadJson ¶
func (x *AccountExport) GetPayloadJson() string
func (*AccountExport) GetUserId ¶
func (x *AccountExport) GetUserId() string
func (*AccountExport) ProtoMessage ¶
func (*AccountExport) ProtoMessage()
func (*AccountExport) ProtoReflect ¶
func (x *AccountExport) ProtoReflect() protoreflect.Message
func (*AccountExport) Reset ¶
func (x *AccountExport) Reset()
func (*AccountExport) String ¶
func (x *AccountExport) String() string
type AccountId ¶
type AccountId struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*AccountId) Descriptor
deprecated
func (*AccountId) ProtoMessage ¶
func (*AccountId) ProtoMessage()
func (*AccountId) ProtoReflect ¶
func (x *AccountId) ProtoReflect() protoreflect.Message
type AccountImport ¶
type AccountImport struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
PayloadJson string `protobuf:"bytes,2,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"`
// contains filtered or unexported fields
}
func (*AccountImport) Descriptor
deprecated
func (*AccountImport) Descriptor() ([]byte, []int)
Deprecated: Use AccountImport.ProtoReflect.Descriptor instead.
func (*AccountImport) GetId ¶
func (x *AccountImport) GetId() string
func (*AccountImport) GetPayloadJson ¶
func (x *AccountImport) GetPayloadJson() string
func (*AccountImport) ProtoMessage ¶
func (*AccountImport) ProtoMessage()
func (*AccountImport) ProtoReflect ¶
func (x *AccountImport) ProtoReflect() protoreflect.Message
func (*AccountImport) Reset ¶
func (x *AccountImport) Reset()
func (*AccountImport) String ¶
func (x *AccountImport) String() string
type AclResources ¶
type AclResources int32
ATTENTION: Do not modify the order of this enum. Append only.
const ( AclResources_ACCOUNT AclResources = 0 AclResources_ACCOUNT_WALLET AclResources = 1 AclResources_ACCOUNT_EXPORT AclResources = 2 AclResources_ACCOUNT_FRIENDS AclResources = 3 AclResources_ACCOUNT_GROUPS AclResources = 4 AclResources_ACCOUNT_NOTES AclResources = 5 AclResources_ACL_TEMPLATE AclResources = 6 AclResources_ALL_ACCOUNTS AclResources = 7 AclResources_ALL_DATA AclResources = 8 AclResources_ALL_STORAGE AclResources = 9 AclResources_API_EXPLORER AclResources = 10 AclResources_AUDIT_LOG AclResources = 11 AclResources_CONFIGURATION AclResources = 12 AclResources_CHANNEL_MESSAGE AclResources = 13 AclResources_USER AclResources = 14 AclResources_GROUP AclResources = 15 AclResources_IN_APP_PURCHASE AclResources = 16 AclResources_LEADERBOARD AclResources = 17 AclResources_LEADERBOARD_RECORD AclResources = 18 AclResources_MATCH AclResources = 19 AclResources_NOTIFICATION AclResources = 20 AclResources_SATORI_MESSAGE AclResources = 21 AclResources_SETTINGS AclResources = 22 AclResources_STORAGE_DATA AclResources = 23 AclResources_STORAGE_DATA_IMPORT AclResources = 24 AclResources_HIRO_INVENTORY AclResources = 25 AclResources_HIRO_PROGRESSION AclResources = 26 AclResources_HIRO_ECONOMY AclResources = 27 AclResources_HIRO_STATS AclResources = 28 AclResources_HIRO_ENERGY AclResources = 29 )
func (AclResources) Descriptor ¶
func (AclResources) Descriptor() protoreflect.EnumDescriptor
func (AclResources) Enum ¶
func (x AclResources) Enum() *AclResources
func (AclResources) EnumDescriptor
deprecated
func (AclResources) EnumDescriptor() ([]byte, []int)
Deprecated: Use AclResources.Descriptor instead.
func (AclResources) Number ¶
func (x AclResources) Number() protoreflect.EnumNumber
func (AclResources) String ¶
func (x AclResources) String() string
func (AclResources) Type ¶
func (AclResources) Type() protoreflect.EnumType
type AclTemplate ¶
type AclTemplate struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
AclBitmap string `protobuf:"bytes,3,opt,name=acl_bitmap,json=aclBitmap,proto3" json:"acl_bitmap,omitempty"`
// contains filtered or unexported fields
}
func (*AclTemplate) Descriptor
deprecated
func (*AclTemplate) Descriptor() ([]byte, []int)
Deprecated: Use AclTemplate.ProtoReflect.Descriptor instead.
func (*AclTemplate) GetAclBitmap ¶
func (x *AclTemplate) GetAclBitmap() string
func (*AclTemplate) GetId ¶
func (x *AclTemplate) GetId() string
func (*AclTemplate) GetName ¶
func (x *AclTemplate) GetName() string
func (*AclTemplate) ProtoMessage ¶
func (*AclTemplate) ProtoMessage()
func (*AclTemplate) ProtoReflect ¶
func (x *AclTemplate) ProtoReflect() protoreflect.Message
func (*AclTemplate) Reset ¶
func (x *AclTemplate) Reset()
func (*AclTemplate) String ¶
func (x *AclTemplate) String() string
type AclTemplateId ¶
type AclTemplateId struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*AclTemplateId) Descriptor
deprecated
func (*AclTemplateId) Descriptor() ([]byte, []int)
Deprecated: Use AclTemplateId.ProtoReflect.Descriptor instead.
func (*AclTemplateId) GetId ¶
func (x *AclTemplateId) GetId() string
func (*AclTemplateId) ProtoMessage ¶
func (*AclTemplateId) ProtoMessage()
func (*AclTemplateId) ProtoReflect ¶
func (x *AclTemplateId) ProtoReflect() protoreflect.Message
func (*AclTemplateId) Reset ¶
func (x *AclTemplateId) Reset()
func (*AclTemplateId) String ¶
func (x *AclTemplateId) String() string
type AclTemplateList ¶
type AclTemplateList struct {
Templates []*AclTemplate `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"`
// contains filtered or unexported fields
}
func (*AclTemplateList) Descriptor
deprecated
func (*AclTemplateList) Descriptor() ([]byte, []int)
Deprecated: Use AclTemplateList.ProtoReflect.Descriptor instead.
func (*AclTemplateList) GetTemplates ¶
func (x *AclTemplateList) GetTemplates() []*AclTemplate
func (*AclTemplateList) ProtoMessage ¶
func (*AclTemplateList) ProtoMessage()
func (*AclTemplateList) ProtoReflect ¶
func (x *AclTemplateList) ProtoReflect() protoreflect.Message
func (*AclTemplateList) Reset ¶
func (x *AclTemplateList) Reset()
func (*AclTemplateList) String ¶
func (x *AclTemplateList) String() string
type AddGroupUsersRequest ¶
type AddGroupUsersRequest struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
UserIds []string `protobuf:"bytes,2,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
// contains filtered or unexported fields
}
func (*AddGroupUsersRequest) Descriptor
deprecated
func (*AddGroupUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddGroupUsersRequest.ProtoReflect.Descriptor instead.
func (*AddGroupUsersRequest) GetGroupId ¶
func (x *AddGroupUsersRequest) GetGroupId() string
func (*AddGroupUsersRequest) GetUserIds ¶
func (x *AddGroupUsersRequest) GetUserIds() []string
func (*AddGroupUsersRequest) ProtoMessage ¶
func (*AddGroupUsersRequest) ProtoMessage()
func (*AddGroupUsersRequest) ProtoReflect ¶
func (x *AddGroupUsersRequest) ProtoReflect() protoreflect.Message
func (*AddGroupUsersRequest) Reset ¶
func (x *AddGroupUsersRequest) Reset()
func (*AddGroupUsersRequest) String ¶
func (x *AddGroupUsersRequest) String() string
type AuthenticateLogoutRequest ¶
type AuthenticateLogoutRequest struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*AuthenticateLogoutRequest) Descriptor
deprecated
func (*AuthenticateLogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateLogoutRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateLogoutRequest) GetToken ¶
func (x *AuthenticateLogoutRequest) GetToken() string
func (*AuthenticateLogoutRequest) ProtoMessage ¶
func (*AuthenticateLogoutRequest) ProtoMessage()
func (*AuthenticateLogoutRequest) ProtoReflect ¶
func (x *AuthenticateLogoutRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateLogoutRequest) Reset ¶
func (x *AuthenticateLogoutRequest) Reset()
func (*AuthenticateLogoutRequest) String ¶
func (x *AuthenticateLogoutRequest) String() string
type AuthenticateRequest ¶
type AuthenticateRequest struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
Totp string `protobuf:"bytes,3,opt,name=totp,proto3" json:"totp,omitempty"`
// contains filtered or unexported fields
}
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetPassword ¶
func (x *AuthenticateRequest) GetPassword() string
func (*AuthenticateRequest) GetTotp ¶
func (x *AuthenticateRequest) GetTotp() string
func (*AuthenticateRequest) GetUsername ¶
func (x *AuthenticateRequest) GetUsername() string
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
type CallApiEndpointRequest ¶
type CallApiEndpointRequest struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
BodyJson string `protobuf:"bytes,3,opt,name=body_json,json=bodyJson,proto3" json:"body_json,omitempty"`
// contains filtered or unexported fields
}
func (*CallApiEndpointRequest) Descriptor
deprecated
func (*CallApiEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallApiEndpointRequest.ProtoReflect.Descriptor instead.
func (*CallApiEndpointRequest) GetBodyJson ¶
func (x *CallApiEndpointRequest) GetBodyJson() string
func (*CallApiEndpointRequest) GetMethod ¶
func (x *CallApiEndpointRequest) GetMethod() string
func (*CallApiEndpointRequest) GetUserId ¶
func (x *CallApiEndpointRequest) GetUserId() string
func (*CallApiEndpointRequest) ProtoMessage ¶
func (*CallApiEndpointRequest) ProtoMessage()
func (*CallApiEndpointRequest) ProtoReflect ¶
func (x *CallApiEndpointRequest) ProtoReflect() protoreflect.Message
func (*CallApiEndpointRequest) Reset ¶
func (x *CallApiEndpointRequest) Reset()
func (*CallApiEndpointRequest) String ¶
func (x *CallApiEndpointRequest) String() string
type CallApiEndpointResponse ¶
type CallApiEndpointResponse struct {
BodyJson string `protobuf:"bytes,1,opt,name=body_json,json=bodyJson,proto3" json:"body_json,omitempty"`
// contains filtered or unexported fields
}
func (*CallApiEndpointResponse) Descriptor
deprecated
func (*CallApiEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallApiEndpointResponse.ProtoReflect.Descriptor instead.
func (*CallApiEndpointResponse) GetBodyJson ¶
func (x *CallApiEndpointResponse) GetBodyJson() string
func (*CallApiEndpointResponse) ProtoMessage ¶
func (*CallApiEndpointResponse) ProtoMessage()
func (*CallApiEndpointResponse) ProtoReflect ¶
func (x *CallApiEndpointResponse) ProtoReflect() protoreflect.Message
func (*CallApiEndpointResponse) Reset ¶
func (x *CallApiEndpointResponse) Reset()
func (*CallApiEndpointResponse) String ¶
func (x *CallApiEndpointResponse) String() string
type CallRpcEndpointRequest ¶
type CallRpcEndpointRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
func (*CallRpcEndpointRequest) Descriptor
deprecated
func (*CallRpcEndpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallRpcEndpointRequest.ProtoReflect.Descriptor instead.
func (*CallRpcEndpointRequest) GetId ¶
func (x *CallRpcEndpointRequest) GetId() string
func (*CallRpcEndpointRequest) GetPayload ¶
func (x *CallRpcEndpointRequest) GetPayload() string
func (*CallRpcEndpointRequest) GetUserId ¶
func (x *CallRpcEndpointRequest) GetUserId() string
func (*CallRpcEndpointRequest) ProtoMessage ¶
func (*CallRpcEndpointRequest) ProtoMessage()
func (*CallRpcEndpointRequest) ProtoReflect ¶
func (x *CallRpcEndpointRequest) ProtoReflect() protoreflect.Message
func (*CallRpcEndpointRequest) Reset ¶
func (x *CallRpcEndpointRequest) Reset()
func (*CallRpcEndpointRequest) String ¶
func (x *CallRpcEndpointRequest) String() string
type CallRpcEndpointResponse ¶
type CallRpcEndpointResponse struct {
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
func (*CallRpcEndpointResponse) Descriptor
deprecated
func (*CallRpcEndpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallRpcEndpointResponse.ProtoReflect.Descriptor instead.
func (*CallRpcEndpointResponse) GetPayload ¶
func (x *CallRpcEndpointResponse) GetPayload() string
func (*CallRpcEndpointResponse) ProtoMessage ¶
func (*CallRpcEndpointResponse) ProtoMessage()
func (*CallRpcEndpointResponse) ProtoReflect ¶
func (x *CallRpcEndpointResponse) ProtoReflect() protoreflect.Message
func (*CallRpcEndpointResponse) Reset ¶
func (x *CallRpcEndpointResponse) Reset()
func (*CallRpcEndpointResponse) String ¶
func (x *CallRpcEndpointResponse) String() string
type ChannelMessage ¶
type ChannelMessage struct {
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
SenderId string `protobuf:"bytes,3,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
CreateTime int64 `protobuf:"varint,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelMessage) Descriptor
deprecated
func (*ChannelMessage) Descriptor() ([]byte, []int)
Deprecated: Use ChannelMessage.ProtoReflect.Descriptor instead.
func (*ChannelMessage) GetChannelId ¶
func (x *ChannelMessage) GetChannelId() string
func (*ChannelMessage) GetContent ¶
func (x *ChannelMessage) GetContent() string
func (*ChannelMessage) GetCreateTime ¶
func (x *ChannelMessage) GetCreateTime() int64
func (*ChannelMessage) GetMessageId ¶
func (x *ChannelMessage) GetMessageId() string
func (*ChannelMessage) GetSenderId ¶
func (x *ChannelMessage) GetSenderId() string
func (*ChannelMessage) GetUsername ¶
func (x *ChannelMessage) GetUsername() string
func (*ChannelMessage) ProtoMessage ¶
func (*ChannelMessage) ProtoMessage()
func (*ChannelMessage) ProtoReflect ¶
func (x *ChannelMessage) ProtoReflect() protoreflect.Message
func (*ChannelMessage) Reset ¶
func (x *ChannelMessage) Reset()
func (*ChannelMessage) String ¶
func (x *ChannelMessage) String() string
type ChannelMessageList ¶
type ChannelMessageList struct {
Messages []*ChannelMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelMessageList) Descriptor
deprecated
func (*ChannelMessageList) Descriptor() ([]byte, []int)
Deprecated: Use ChannelMessageList.ProtoReflect.Descriptor instead.
func (*ChannelMessageList) GetMessages ¶
func (x *ChannelMessageList) GetMessages() []*ChannelMessage
func (*ChannelMessageList) GetNextCursor ¶
func (x *ChannelMessageList) GetNextCursor() string
func (*ChannelMessageList) ProtoMessage ¶
func (*ChannelMessageList) ProtoMessage()
func (*ChannelMessageList) ProtoReflect ¶
func (x *ChannelMessageList) ProtoReflect() protoreflect.Message
func (*ChannelMessageList) Reset ¶
func (x *ChannelMessageList) Reset()
func (*ChannelMessageList) String ¶
func (x *ChannelMessageList) String() string
type Config ¶
type Config struct {
Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
// contains filtered or unexported fields
}
func (*Config) Descriptor
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type ConsoleClient ¶
type ConsoleClient interface {
Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*ConsoleSession, error)
AuthenticateLogout(ctx context.Context, in *AuthenticateLogoutRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*GroupList, error)
GetGroup(ctx context.Context, in *GroupId, opts ...grpc.CallOption) (*Group, error)
DeleteGroup(ctx context.Context, in *GroupId, opts ...grpc.CallOption) (*emptypb.Empty, error)
ListGroupMembers(ctx context.Context, in *GroupId, opts ...grpc.CallOption) (*GroupUserList, error)
AddGroupUsers(ctx context.Context, in *AddGroupUsersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteGroupUser(ctx context.Context, in *DeleteGroupUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
PromoteGroupMember(ctx context.Context, in *GroupUserId, opts ...grpc.CallOption) (*emptypb.Empty, error)
DemoteGroupMember(ctx context.Context, in *GroupUserId, opts ...grpc.CallOption) (*emptypb.Empty, error)
ListChannelMessages(ctx context.Context, in *ListChannelMessagesRequest, opts ...grpc.CallOption) (*ChannelMessageList, error)
DeleteChannelMessages(ctx context.Context, in *DeleteChannelMessagesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ListNotifications(ctx context.Context, in *ListNotificationsRequest, opts ...grpc.CallOption) (*NotificationList, error)
DeleteNotification(ctx context.Context, in *NotificationId, opts ...grpc.CallOption) (*emptypb.Empty, error)
SendNotification(ctx context.Context, in *SendNotificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UnlinkAccount(ctx context.Context, in *UnlinkAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ExportAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*AccountExport, error)
ImportAccount(ctx context.Context, in *AccountImport, opts ...grpc.CallOption) (*emptypb.Empty, error)
ImportAccountFull(ctx context.Context, in *AccountImport, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteAllData(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteStorage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
ImportStorage(ctx context.Context, in *StorageImport, opts ...grpc.CallOption) (*emptypb.Empty, error)
SatoriListTemplates(ctx context.Context, in *SatoriListTemplatesRequest, opts ...grpc.CallOption) (*SatoriListTemplatesResponse, error)
SatoriSendDirectMessage(ctx context.Context, in *SatoriSendDirectMessageRequest, opts ...grpc.CallOption) (*SatoriSendDirectMessageResponse, error)
GetConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config, error)
GetRuntime(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RuntimeInfo, error)
ListApiEndpoints(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EndpointList, error)
CallApiEndpoint(ctx context.Context, in *CallApiEndpointRequest, opts ...grpc.CallOption) (*CallApiEndpointResponse, error)
CallRpcEndpoint(ctx context.Context, in *CallRpcEndpointRequest, opts ...grpc.CallOption) (*CallRpcEndpointResponse, error)
ListAclTemplates(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AclTemplateList, error)
AddAclTemplate(ctx context.Context, in *AclTemplate, opts ...grpc.CallOption) (*AclTemplate, error)
DeleteAclTemplate(ctx context.Context, in *AclTemplateId, opts ...grpc.CallOption) (*emptypb.Empty, error)
ListSettings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SettingList, error)
UpdateSetting(ctx context.Context, in *Setting, opts ...grpc.CallOption) (*Setting, error)
GetStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Status, error)
}
ConsoleClient is the client API for Console 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.
Console is the admin console service (reference-aligned surface).
func NewConsoleClient ¶
func NewConsoleClient(cc grpc.ClientConnInterface) ConsoleClient
type ConsoleServer ¶
type ConsoleServer interface {
Authenticate(context.Context, *AuthenticateRequest) (*ConsoleSession, error)
AuthenticateLogout(context.Context, *AuthenticateLogoutRequest) (*emptypb.Empty, error)
ListGroups(context.Context, *ListGroupsRequest) (*GroupList, error)
GetGroup(context.Context, *GroupId) (*Group, error)
DeleteGroup(context.Context, *GroupId) (*emptypb.Empty, error)
ListGroupMembers(context.Context, *GroupId) (*GroupUserList, error)
AddGroupUsers(context.Context, *AddGroupUsersRequest) (*emptypb.Empty, error)
DeleteGroupUser(context.Context, *DeleteGroupUserRequest) (*emptypb.Empty, error)
PromoteGroupMember(context.Context, *GroupUserId) (*emptypb.Empty, error)
DemoteGroupMember(context.Context, *GroupUserId) (*emptypb.Empty, error)
ListChannelMessages(context.Context, *ListChannelMessagesRequest) (*ChannelMessageList, error)
DeleteChannelMessages(context.Context, *DeleteChannelMessagesRequest) (*emptypb.Empty, error)
ListNotifications(context.Context, *ListNotificationsRequest) (*NotificationList, error)
DeleteNotification(context.Context, *NotificationId) (*emptypb.Empty, error)
SendNotification(context.Context, *SendNotificationRequest) (*emptypb.Empty, error)
UnlinkAccount(context.Context, *UnlinkAccountRequest) (*emptypb.Empty, error)
ExportAccount(context.Context, *AccountId) (*AccountExport, error)
ImportAccount(context.Context, *AccountImport) (*emptypb.Empty, error)
ImportAccountFull(context.Context, *AccountImport) (*emptypb.Empty, error)
DeleteAllData(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
DeleteStorage(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
ImportStorage(context.Context, *StorageImport) (*emptypb.Empty, error)
SatoriListTemplates(context.Context, *SatoriListTemplatesRequest) (*SatoriListTemplatesResponse, error)
SatoriSendDirectMessage(context.Context, *SatoriSendDirectMessageRequest) (*SatoriSendDirectMessageResponse, error)
GetConfig(context.Context, *emptypb.Empty) (*Config, error)
GetRuntime(context.Context, *emptypb.Empty) (*RuntimeInfo, error)
ListApiEndpoints(context.Context, *emptypb.Empty) (*EndpointList, error)
CallApiEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error)
CallRpcEndpoint(context.Context, *CallRpcEndpointRequest) (*CallRpcEndpointResponse, error)
ListAclTemplates(context.Context, *emptypb.Empty) (*AclTemplateList, error)
AddAclTemplate(context.Context, *AclTemplate) (*AclTemplate, error)
DeleteAclTemplate(context.Context, *AclTemplateId) (*emptypb.Empty, error)
ListSettings(context.Context, *emptypb.Empty) (*SettingList, error)
UpdateSetting(context.Context, *Setting) (*Setting, error)
GetStatus(context.Context, *emptypb.Empty) (*Status, error)
// contains filtered or unexported methods
}
ConsoleServer is the server API for Console service. All implementations must embed UnimplementedConsoleServer for forward compatibility.
Console is the admin console service (reference-aligned surface).
type ConsoleSession ¶
type ConsoleSession struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
AclBitmap string `protobuf:"bytes,2,opt,name=acl_bitmap,json=aclBitmap,proto3" json:"acl_bitmap,omitempty"`
// contains filtered or unexported fields
}
func (*ConsoleSession) Descriptor
deprecated
func (*ConsoleSession) Descriptor() ([]byte, []int)
Deprecated: Use ConsoleSession.ProtoReflect.Descriptor instead.
func (*ConsoleSession) GetAclBitmap ¶
func (x *ConsoleSession) GetAclBitmap() string
func (*ConsoleSession) GetToken ¶
func (x *ConsoleSession) GetToken() string
func (*ConsoleSession) ProtoMessage ¶
func (*ConsoleSession) ProtoMessage()
func (*ConsoleSession) ProtoReflect ¶
func (x *ConsoleSession) ProtoReflect() protoreflect.Message
func (*ConsoleSession) Reset ¶
func (x *ConsoleSession) Reset()
func (*ConsoleSession) String ¶
func (x *ConsoleSession) String() string
type DeleteChannelMessagesRequest ¶
type DeleteChannelMessagesRequest struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
Before int64 `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteChannelMessagesRequest) Descriptor
deprecated
func (*DeleteChannelMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelMessagesRequest.ProtoReflect.Descriptor instead.
func (*DeleteChannelMessagesRequest) GetBefore ¶
func (x *DeleteChannelMessagesRequest) GetBefore() int64
func (*DeleteChannelMessagesRequest) GetIds ¶
func (x *DeleteChannelMessagesRequest) GetIds() []string
func (*DeleteChannelMessagesRequest) ProtoMessage ¶
func (*DeleteChannelMessagesRequest) ProtoMessage()
func (*DeleteChannelMessagesRequest) ProtoReflect ¶
func (x *DeleteChannelMessagesRequest) ProtoReflect() protoreflect.Message
func (*DeleteChannelMessagesRequest) Reset ¶
func (x *DeleteChannelMessagesRequest) Reset()
func (*DeleteChannelMessagesRequest) String ¶
func (x *DeleteChannelMessagesRequest) String() string
type DeleteGroupUserRequest ¶
type DeleteGroupUserRequest struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteGroupUserRequest) Descriptor
deprecated
func (*DeleteGroupUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupUserRequest) GetGroupId ¶
func (x *DeleteGroupUserRequest) GetGroupId() string
func (*DeleteGroupUserRequest) GetUserId ¶
func (x *DeleteGroupUserRequest) GetUserId() string
func (*DeleteGroupUserRequest) ProtoMessage ¶
func (*DeleteGroupUserRequest) ProtoMessage()
func (*DeleteGroupUserRequest) ProtoReflect ¶
func (x *DeleteGroupUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupUserRequest) Reset ¶
func (x *DeleteGroupUserRequest) Reset()
func (*DeleteGroupUserRequest) String ¶
func (x *DeleteGroupUserRequest) String() string
type EndpointList ¶
type EndpointList struct {
Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
// contains filtered or unexported fields
}
func (*EndpointList) Descriptor
deprecated
func (*EndpointList) Descriptor() ([]byte, []int)
Deprecated: Use EndpointList.ProtoReflect.Descriptor instead.
func (*EndpointList) GetMethods ¶
func (x *EndpointList) GetMethods() []string
func (*EndpointList) ProtoMessage ¶
func (*EndpointList) ProtoMessage()
func (*EndpointList) ProtoReflect ¶
func (x *EndpointList) ProtoReflect() protoreflect.Message
func (*EndpointList) Reset ¶
func (x *EndpointList) Reset()
func (*EndpointList) String ¶
func (x *EndpointList) String() string
type Group ¶
type Group struct {
Id string `protobuf:"bytes,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"`
LangTag string `protobuf:"bytes,4,opt,name=lang_tag,json=langTag,proto3" json:"lang_tag,omitempty"`
Open bool `protobuf:"varint,5,opt,name=open,proto3" json:"open,omitempty"`
EdgeCount int32 `protobuf:"varint,6,opt,name=edge_count,json=edgeCount,proto3" json:"edge_count,omitempty"`
MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
// contains filtered or unexported fields
}
func (*Group) Descriptor
deprecated
func (*Group) GetDescription ¶
func (*Group) GetEdgeCount ¶
func (*Group) GetLangTag ¶
func (*Group) GetMaxCount ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type GroupId ¶
type GroupId struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GroupId) Descriptor
deprecated
func (*GroupId) ProtoMessage ¶
func (*GroupId) ProtoMessage()
func (*GroupId) ProtoReflect ¶
func (x *GroupId) ProtoReflect() protoreflect.Message
type GroupList ¶
type GroupList struct {
Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*GroupList) Descriptor
deprecated
func (*GroupList) ProtoMessage ¶
func (*GroupList) ProtoMessage()
func (*GroupList) ProtoReflect ¶
func (x *GroupList) ProtoReflect() protoreflect.Message
type GroupUser ¶
type GroupUser struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
State int32 `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*GroupUser) Descriptor
deprecated
func (*GroupUser) GetUsername ¶
func (*GroupUser) ProtoMessage ¶
func (*GroupUser) ProtoMessage()
func (*GroupUser) ProtoReflect ¶
func (x *GroupUser) ProtoReflect() protoreflect.Message
type GroupUserId ¶
type GroupUserId struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*GroupUserId) Descriptor
deprecated
func (*GroupUserId) Descriptor() ([]byte, []int)
Deprecated: Use GroupUserId.ProtoReflect.Descriptor instead.
func (*GroupUserId) GetGroupId ¶
func (x *GroupUserId) GetGroupId() string
func (*GroupUserId) GetUserId ¶
func (x *GroupUserId) GetUserId() string
func (*GroupUserId) ProtoMessage ¶
func (*GroupUserId) ProtoMessage()
func (*GroupUserId) ProtoReflect ¶
func (x *GroupUserId) ProtoReflect() protoreflect.Message
func (*GroupUserId) Reset ¶
func (x *GroupUserId) Reset()
func (*GroupUserId) String ¶
func (x *GroupUserId) String() string
type GroupUserList ¶
type GroupUserList struct {
Users []*GroupUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GroupUserList) Descriptor
deprecated
func (*GroupUserList) Descriptor() ([]byte, []int)
Deprecated: Use GroupUserList.ProtoReflect.Descriptor instead.
func (*GroupUserList) GetUsers ¶
func (x *GroupUserList) GetUsers() []*GroupUser
func (*GroupUserList) ProtoMessage ¶
func (*GroupUserList) ProtoMessage()
func (*GroupUserList) ProtoReflect ¶
func (x *GroupUserList) ProtoReflect() protoreflect.Message
func (*GroupUserList) Reset ¶
func (x *GroupUserList) Reset()
func (*GroupUserList) String ¶
func (x *GroupUserList) String() string
type ListChannelMessagesRequest ¶
type ListChannelMessagesRequest struct {
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ListChannelMessagesRequest) Descriptor
deprecated
func (*ListChannelMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListChannelMessagesRequest) GetChannelId ¶
func (x *ListChannelMessagesRequest) GetChannelId() string
func (*ListChannelMessagesRequest) GetCursor ¶
func (x *ListChannelMessagesRequest) GetCursor() string
func (*ListChannelMessagesRequest) GetLimit ¶
func (x *ListChannelMessagesRequest) GetLimit() int32
func (*ListChannelMessagesRequest) ProtoMessage ¶
func (*ListChannelMessagesRequest) ProtoMessage()
func (*ListChannelMessagesRequest) ProtoReflect ¶
func (x *ListChannelMessagesRequest) ProtoReflect() protoreflect.Message
func (*ListChannelMessagesRequest) Reset ¶
func (x *ListChannelMessagesRequest) Reset()
func (*ListChannelMessagesRequest) String ¶
func (x *ListChannelMessagesRequest) String() string
type ListGroupsRequest ¶
type ListGroupsRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ListGroupsRequest) Descriptor
deprecated
func (*ListGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListGroupsRequest) GetCursor ¶
func (x *ListGroupsRequest) GetCursor() string
func (*ListGroupsRequest) GetLimit ¶
func (x *ListGroupsRequest) GetLimit() int32
func (*ListGroupsRequest) GetName ¶
func (x *ListGroupsRequest) GetName() string
func (*ListGroupsRequest) ProtoMessage ¶
func (*ListGroupsRequest) ProtoMessage()
func (*ListGroupsRequest) ProtoReflect ¶
func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListGroupsRequest) Reset ¶
func (x *ListGroupsRequest) Reset()
func (*ListGroupsRequest) String ¶
func (x *ListGroupsRequest) String() string
type ListNotificationsRequest ¶
type ListNotificationsRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*ListNotificationsRequest) Descriptor
deprecated
func (*ListNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNotificationsRequest.ProtoReflect.Descriptor instead.
func (*ListNotificationsRequest) GetCursor ¶
func (x *ListNotificationsRequest) GetCursor() string
func (*ListNotificationsRequest) GetLimit ¶
func (x *ListNotificationsRequest) GetLimit() int32
func (*ListNotificationsRequest) GetUserId ¶
func (x *ListNotificationsRequest) GetUserId() string
func (*ListNotificationsRequest) ProtoMessage ¶
func (*ListNotificationsRequest) ProtoMessage()
func (*ListNotificationsRequest) ProtoReflect ¶
func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message
func (*ListNotificationsRequest) Reset ¶
func (x *ListNotificationsRequest) Reset()
func (*ListNotificationsRequest) String ¶
func (x *ListNotificationsRequest) String() string
type Notification ¶
type Notification struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
Code int32 `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"`
// contains filtered or unexported fields
}
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetCode ¶
func (x *Notification) GetCode() int32
func (*Notification) GetContent ¶
func (x *Notification) GetContent() string
func (*Notification) GetId ¶
func (x *Notification) GetId() string
func (*Notification) GetSubject ¶
func (x *Notification) GetSubject() string
func (*Notification) GetUserId ¶
func (x *Notification) GetUserId() string
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type NotificationId ¶
type NotificationId struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*NotificationId) Descriptor
deprecated
func (*NotificationId) Descriptor() ([]byte, []int)
Deprecated: Use NotificationId.ProtoReflect.Descriptor instead.
func (*NotificationId) GetId ¶
func (x *NotificationId) GetId() string
func (*NotificationId) ProtoMessage ¶
func (*NotificationId) ProtoMessage()
func (*NotificationId) ProtoReflect ¶
func (x *NotificationId) ProtoReflect() protoreflect.Message
func (*NotificationId) Reset ¶
func (x *NotificationId) Reset()
func (*NotificationId) String ¶
func (x *NotificationId) String() string
type NotificationList ¶
type NotificationList struct {
Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*NotificationList) Descriptor
deprecated
func (*NotificationList) Descriptor() ([]byte, []int)
Deprecated: Use NotificationList.ProtoReflect.Descriptor instead.
func (*NotificationList) GetCursor ¶
func (x *NotificationList) GetCursor() string
func (*NotificationList) GetNotifications ¶
func (x *NotificationList) GetNotifications() []*Notification
func (*NotificationList) ProtoMessage ¶
func (*NotificationList) ProtoMessage()
func (*NotificationList) ProtoReflect ¶
func (x *NotificationList) ProtoReflect() protoreflect.Message
func (*NotificationList) Reset ¶
func (x *NotificationList) Reset()
func (*NotificationList) String ¶
func (x *NotificationList) String() string
type RuntimeInfo ¶
type RuntimeInfo struct {
RpcIds []string `protobuf:"bytes,1,rep,name=rpc_ids,json=rpcIds,proto3" json:"rpc_ids,omitempty"`
// contains filtered or unexported fields
}
func (*RuntimeInfo) Descriptor
deprecated
func (*RuntimeInfo) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeInfo.ProtoReflect.Descriptor instead.
func (*RuntimeInfo) GetRpcIds ¶
func (x *RuntimeInfo) GetRpcIds() []string
func (*RuntimeInfo) ProtoMessage ¶
func (*RuntimeInfo) ProtoMessage()
func (*RuntimeInfo) ProtoReflect ¶
func (x *RuntimeInfo) ProtoReflect() protoreflect.Message
func (*RuntimeInfo) Reset ¶
func (x *RuntimeInfo) Reset()
func (*RuntimeInfo) String ¶
func (x *RuntimeInfo) String() string
type SatoriListTemplatesRequest ¶
type SatoriListTemplatesRequest struct {
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*SatoriListTemplatesRequest) Descriptor
deprecated
func (*SatoriListTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SatoriListTemplatesRequest.ProtoReflect.Descriptor instead.
func (*SatoriListTemplatesRequest) GetCursor ¶
func (x *SatoriListTemplatesRequest) GetCursor() string
func (*SatoriListTemplatesRequest) GetLimit ¶
func (x *SatoriListTemplatesRequest) GetLimit() int32
func (*SatoriListTemplatesRequest) ProtoMessage ¶
func (*SatoriListTemplatesRequest) ProtoMessage()
func (*SatoriListTemplatesRequest) ProtoReflect ¶
func (x *SatoriListTemplatesRequest) ProtoReflect() protoreflect.Message
func (*SatoriListTemplatesRequest) Reset ¶
func (x *SatoriListTemplatesRequest) Reset()
func (*SatoriListTemplatesRequest) String ¶
func (x *SatoriListTemplatesRequest) String() string
type SatoriListTemplatesResponse ¶
type SatoriListTemplatesResponse struct {
Templates []*SatoriTemplate `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"`
Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
func (*SatoriListTemplatesResponse) Descriptor
deprecated
func (*SatoriListTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SatoriListTemplatesResponse.ProtoReflect.Descriptor instead.
func (*SatoriListTemplatesResponse) GetCursor ¶
func (x *SatoriListTemplatesResponse) GetCursor() string
func (*SatoriListTemplatesResponse) GetTemplates ¶
func (x *SatoriListTemplatesResponse) GetTemplates() []*SatoriTemplate
func (*SatoriListTemplatesResponse) ProtoMessage ¶
func (*SatoriListTemplatesResponse) ProtoMessage()
func (*SatoriListTemplatesResponse) ProtoReflect ¶
func (x *SatoriListTemplatesResponse) ProtoReflect() protoreflect.Message
func (*SatoriListTemplatesResponse) Reset ¶
func (x *SatoriListTemplatesResponse) Reset()
func (*SatoriListTemplatesResponse) String ¶
func (x *SatoriListTemplatesResponse) String() string
type SatoriSendDirectMessageRequest ¶
type SatoriSendDirectMessageRequest struct {
IdentityId string `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
TemplateId string `protobuf:"bytes,4,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
// contains filtered or unexported fields
}
func (*SatoriSendDirectMessageRequest) Descriptor
deprecated
func (*SatoriSendDirectMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SatoriSendDirectMessageRequest.ProtoReflect.Descriptor instead.
func (*SatoriSendDirectMessageRequest) GetBody ¶
func (x *SatoriSendDirectMessageRequest) GetBody() string
func (*SatoriSendDirectMessageRequest) GetIdentityId ¶
func (x *SatoriSendDirectMessageRequest) GetIdentityId() string
func (*SatoriSendDirectMessageRequest) GetTemplateId ¶
func (x *SatoriSendDirectMessageRequest) GetTemplateId() string
func (*SatoriSendDirectMessageRequest) GetTitle ¶
func (x *SatoriSendDirectMessageRequest) GetTitle() string
func (*SatoriSendDirectMessageRequest) ProtoMessage ¶
func (*SatoriSendDirectMessageRequest) ProtoMessage()
func (*SatoriSendDirectMessageRequest) ProtoReflect ¶
func (x *SatoriSendDirectMessageRequest) ProtoReflect() protoreflect.Message
func (*SatoriSendDirectMessageRequest) Reset ¶
func (x *SatoriSendDirectMessageRequest) Reset()
func (*SatoriSendDirectMessageRequest) String ¶
func (x *SatoriSendDirectMessageRequest) String() string
type SatoriSendDirectMessageResponse ¶
type SatoriSendDirectMessageResponse struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*SatoriSendDirectMessageResponse) Descriptor
deprecated
func (*SatoriSendDirectMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SatoriSendDirectMessageResponse.ProtoReflect.Descriptor instead.
func (*SatoriSendDirectMessageResponse) GetError ¶
func (x *SatoriSendDirectMessageResponse) GetError() string
func (*SatoriSendDirectMessageResponse) GetOk ¶
func (x *SatoriSendDirectMessageResponse) GetOk() bool
func (*SatoriSendDirectMessageResponse) ProtoMessage ¶
func (*SatoriSendDirectMessageResponse) ProtoMessage()
func (*SatoriSendDirectMessageResponse) ProtoReflect ¶
func (x *SatoriSendDirectMessageResponse) ProtoReflect() protoreflect.Message
func (*SatoriSendDirectMessageResponse) Reset ¶
func (x *SatoriSendDirectMessageResponse) Reset()
func (*SatoriSendDirectMessageResponse) String ¶
func (x *SatoriSendDirectMessageResponse) String() string
type SatoriTemplate ¶
type SatoriTemplate struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*SatoriTemplate) Descriptor
deprecated
func (*SatoriTemplate) Descriptor() ([]byte, []int)
Deprecated: Use SatoriTemplate.ProtoReflect.Descriptor instead.
func (*SatoriTemplate) GetId ¶
func (x *SatoriTemplate) GetId() string
func (*SatoriTemplate) GetName ¶
func (x *SatoriTemplate) GetName() string
func (*SatoriTemplate) GetTitle ¶
func (x *SatoriTemplate) GetTitle() string
func (*SatoriTemplate) GetValue ¶
func (x *SatoriTemplate) GetValue() string
func (*SatoriTemplate) ProtoMessage ¶
func (*SatoriTemplate) ProtoMessage()
func (*SatoriTemplate) ProtoReflect ¶
func (x *SatoriTemplate) ProtoReflect() protoreflect.Message
func (*SatoriTemplate) Reset ¶
func (x *SatoriTemplate) Reset()
func (*SatoriTemplate) String ¶
func (x *SatoriTemplate) String() string
type SendNotificationRequest ¶
type SendNotificationRequest struct {
UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
Code int32 `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`
Persistent bool `protobuf:"varint,5,opt,name=persistent,proto3" json:"persistent,omitempty"`
// contains filtered or unexported fields
}
func (*SendNotificationRequest) Descriptor
deprecated
func (*SendNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendNotificationRequest.ProtoReflect.Descriptor instead.
func (*SendNotificationRequest) GetCode ¶
func (x *SendNotificationRequest) GetCode() int32
func (*SendNotificationRequest) GetContent ¶
func (x *SendNotificationRequest) GetContent() string
func (*SendNotificationRequest) GetPersistent ¶
func (x *SendNotificationRequest) GetPersistent() bool
func (*SendNotificationRequest) GetSubject ¶
func (x *SendNotificationRequest) GetSubject() string
func (*SendNotificationRequest) GetUserIds ¶
func (x *SendNotificationRequest) GetUserIds() []string
func (*SendNotificationRequest) ProtoMessage ¶
func (*SendNotificationRequest) ProtoMessage()
func (*SendNotificationRequest) ProtoReflect ¶
func (x *SendNotificationRequest) ProtoReflect() protoreflect.Message
func (*SendNotificationRequest) Reset ¶
func (x *SendNotificationRequest) Reset()
func (*SendNotificationRequest) String ¶
func (x *SendNotificationRequest) String() string
type Setting ¶
type Setting struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ValueJson string `protobuf:"bytes,2,opt,name=value_json,json=valueJson,proto3" json:"value_json,omitempty"`
// contains filtered or unexported fields
}
func (*Setting) Descriptor
deprecated
func (*Setting) GetValueJson ¶
func (*Setting) ProtoMessage ¶
func (*Setting) ProtoMessage()
func (*Setting) ProtoReflect ¶
func (x *Setting) ProtoReflect() protoreflect.Message
type SettingList ¶
type SettingList struct {
Settings []*Setting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
// contains filtered or unexported fields
}
func (*SettingList) Descriptor
deprecated
func (*SettingList) Descriptor() ([]byte, []int)
Deprecated: Use SettingList.ProtoReflect.Descriptor instead.
func (*SettingList) GetSettings ¶
func (x *SettingList) GetSettings() []*Setting
func (*SettingList) ProtoMessage ¶
func (*SettingList) ProtoMessage()
func (*SettingList) ProtoReflect ¶
func (x *SettingList) ProtoReflect() protoreflect.Message
func (*SettingList) Reset ¶
func (x *SettingList) Reset()
func (*SettingList) String ¶
func (x *SettingList) String() string
type Status ¶
type Status struct {
Json string `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
// contains filtered or unexported fields
}
func (*Status) Descriptor
deprecated
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type StorageImport ¶
type StorageImport struct {
Objects []*StorageImportObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
// contains filtered or unexported fields
}
func (*StorageImport) Descriptor
deprecated
func (*StorageImport) Descriptor() ([]byte, []int)
Deprecated: Use StorageImport.ProtoReflect.Descriptor instead.
func (*StorageImport) GetObjects ¶
func (x *StorageImport) GetObjects() []*StorageImportObject
func (*StorageImport) ProtoMessage ¶
func (*StorageImport) ProtoMessage()
func (*StorageImport) ProtoReflect ¶
func (x *StorageImport) ProtoReflect() protoreflect.Message
func (*StorageImport) Reset ¶
func (x *StorageImport) Reset()
func (*StorageImport) String ¶
func (x *StorageImport) String() string
type StorageImportObject ¶
type StorageImportObject struct {
Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
PermissionRead int32 `protobuf:"varint,5,opt,name=permission_read,json=permissionRead,proto3" json:"permission_read,omitempty"`
PermissionWrite int32 `protobuf:"varint,6,opt,name=permission_write,json=permissionWrite,proto3" json:"permission_write,omitempty"`
// contains filtered or unexported fields
}
func (*StorageImportObject) Descriptor
deprecated
func (*StorageImportObject) Descriptor() ([]byte, []int)
Deprecated: Use StorageImportObject.ProtoReflect.Descriptor instead.
func (*StorageImportObject) GetCollection ¶
func (x *StorageImportObject) GetCollection() string
func (*StorageImportObject) GetKey ¶
func (x *StorageImportObject) GetKey() string
func (*StorageImportObject) GetPermissionRead ¶
func (x *StorageImportObject) GetPermissionRead() int32
func (*StorageImportObject) GetPermissionWrite ¶
func (x *StorageImportObject) GetPermissionWrite() int32
func (*StorageImportObject) GetUserId ¶
func (x *StorageImportObject) GetUserId() string
func (*StorageImportObject) GetValue ¶
func (x *StorageImportObject) GetValue() string
func (*StorageImportObject) ProtoMessage ¶
func (*StorageImportObject) ProtoMessage()
func (*StorageImportObject) ProtoReflect ¶
func (x *StorageImportObject) ProtoReflect() protoreflect.Message
func (*StorageImportObject) Reset ¶
func (x *StorageImportObject) Reset()
func (*StorageImportObject) String ¶
func (x *StorageImportObject) String() string
type UnimplementedConsoleServer ¶
type UnimplementedConsoleServer struct{}
UnimplementedConsoleServer 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 (UnimplementedConsoleServer) AddAclTemplate ¶
func (UnimplementedConsoleServer) AddAclTemplate(context.Context, *AclTemplate) (*AclTemplate, error)
func (UnimplementedConsoleServer) AddGroupUsers ¶
func (UnimplementedConsoleServer) AddGroupUsers(context.Context, *AddGroupUsersRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) Authenticate ¶
func (UnimplementedConsoleServer) Authenticate(context.Context, *AuthenticateRequest) (*ConsoleSession, error)
func (UnimplementedConsoleServer) AuthenticateLogout ¶
func (UnimplementedConsoleServer) AuthenticateLogout(context.Context, *AuthenticateLogoutRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) CallApiEndpoint ¶
func (UnimplementedConsoleServer) CallApiEndpoint(context.Context, *CallApiEndpointRequest) (*CallApiEndpointResponse, error)
func (UnimplementedConsoleServer) CallRpcEndpoint ¶
func (UnimplementedConsoleServer) CallRpcEndpoint(context.Context, *CallRpcEndpointRequest) (*CallRpcEndpointResponse, error)
func (UnimplementedConsoleServer) DeleteAclTemplate ¶
func (UnimplementedConsoleServer) DeleteAclTemplate(context.Context, *AclTemplateId) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteAllData ¶
func (UnimplementedConsoleServer) DeleteChannelMessages ¶
func (UnimplementedConsoleServer) DeleteChannelMessages(context.Context, *DeleteChannelMessagesRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteGroup ¶
func (UnimplementedConsoleServer) DeleteGroupUser ¶
func (UnimplementedConsoleServer) DeleteGroupUser(context.Context, *DeleteGroupUserRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteNotification ¶
func (UnimplementedConsoleServer) DeleteNotification(context.Context, *NotificationId) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) DeleteStorage ¶
func (UnimplementedConsoleServer) DemoteGroupMember ¶
func (UnimplementedConsoleServer) DemoteGroupMember(context.Context, *GroupUserId) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) ExportAccount ¶
func (UnimplementedConsoleServer) ExportAccount(context.Context, *AccountId) (*AccountExport, error)
func (UnimplementedConsoleServer) GetRuntime ¶
func (UnimplementedConsoleServer) GetRuntime(context.Context, *emptypb.Empty) (*RuntimeInfo, error)
func (UnimplementedConsoleServer) ImportAccount ¶
func (UnimplementedConsoleServer) ImportAccount(context.Context, *AccountImport) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) ImportAccountFull ¶
func (UnimplementedConsoleServer) ImportAccountFull(context.Context, *AccountImport) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) ImportStorage ¶
func (UnimplementedConsoleServer) ImportStorage(context.Context, *StorageImport) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) ListAclTemplates ¶
func (UnimplementedConsoleServer) ListAclTemplates(context.Context, *emptypb.Empty) (*AclTemplateList, error)
func (UnimplementedConsoleServer) ListApiEndpoints ¶
func (UnimplementedConsoleServer) ListApiEndpoints(context.Context, *emptypb.Empty) (*EndpointList, error)
func (UnimplementedConsoleServer) ListChannelMessages ¶
func (UnimplementedConsoleServer) ListChannelMessages(context.Context, *ListChannelMessagesRequest) (*ChannelMessageList, error)
func (UnimplementedConsoleServer) ListGroupMembers ¶
func (UnimplementedConsoleServer) ListGroupMembers(context.Context, *GroupId) (*GroupUserList, error)
func (UnimplementedConsoleServer) ListGroups ¶
func (UnimplementedConsoleServer) ListGroups(context.Context, *ListGroupsRequest) (*GroupList, error)
func (UnimplementedConsoleServer) ListNotifications ¶
func (UnimplementedConsoleServer) ListNotifications(context.Context, *ListNotificationsRequest) (*NotificationList, error)
func (UnimplementedConsoleServer) ListSettings ¶
func (UnimplementedConsoleServer) ListSettings(context.Context, *emptypb.Empty) (*SettingList, error)
func (UnimplementedConsoleServer) PromoteGroupMember ¶
func (UnimplementedConsoleServer) PromoteGroupMember(context.Context, *GroupUserId) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) SatoriListTemplates ¶
func (UnimplementedConsoleServer) SatoriListTemplates(context.Context, *SatoriListTemplatesRequest) (*SatoriListTemplatesResponse, error)
func (UnimplementedConsoleServer) SatoriSendDirectMessage ¶
func (UnimplementedConsoleServer) SatoriSendDirectMessage(context.Context, *SatoriSendDirectMessageRequest) (*SatoriSendDirectMessageResponse, error)
func (UnimplementedConsoleServer) SendNotification ¶
func (UnimplementedConsoleServer) SendNotification(context.Context, *SendNotificationRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) UnlinkAccount ¶
func (UnimplementedConsoleServer) UnlinkAccount(context.Context, *UnlinkAccountRequest) (*emptypb.Empty, error)
func (UnimplementedConsoleServer) UpdateSetting ¶
type UnlinkAccountRequest ¶
type UnlinkAccountRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // email|device|apple|google|facebook|steam|custom|gamecenter|facebookinstantgame
// contains filtered or unexported fields
}
func (*UnlinkAccountRequest) Descriptor
deprecated
func (*UnlinkAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkAccountRequest.ProtoReflect.Descriptor instead.
func (*UnlinkAccountRequest) GetProvider ¶
func (x *UnlinkAccountRequest) GetProvider() string
func (*UnlinkAccountRequest) GetUserId ¶
func (x *UnlinkAccountRequest) GetUserId() string
func (*UnlinkAccountRequest) ProtoMessage ¶
func (*UnlinkAccountRequest) ProtoMessage()
func (*UnlinkAccountRequest) ProtoReflect ¶
func (x *UnlinkAccountRequest) ProtoReflect() protoreflect.Message
func (*UnlinkAccountRequest) Reset ¶
func (x *UnlinkAccountRequest) Reset()
func (*UnlinkAccountRequest) String ¶
func (x *UnlinkAccountRequest) String() string
type UnsafeConsoleServer ¶
type UnsafeConsoleServer interface {
// contains filtered or unexported methods
}
UnsafeConsoleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsoleServer will result in compilation errors.