Documentation ¶
Index ¶
- Variables
- func RegisterManagerServer(s *grpc.Server, srv ManagerServer)
- type CommandDefinition
- func (*CommandDefinition) Descriptor() ([]byte, []int)
- func (m *CommandDefinition) GetCommandID() string
- func (m *CommandDefinition) GetDescription() string
- func (m *CommandDefinition) GetEnabled() bool
- func (m *CommandDefinition) GetLastModifiedDateUtc() *timestamp.Timestamp
- func (m *CommandDefinition) GetLastModifiedUserID() string
- func (m *CommandDefinition) GetParameterDefinitions() []*CommandParameterDefinition
- func (m *CommandDefinition) GetPermissionLevel() CommandDefinition_PermissionLevel
- func (m *CommandDefinition) GetTriggers() []string
- func (m *CommandDefinition) GetUnlisted() bool
- func (*CommandDefinition) ProtoMessage()
- func (m *CommandDefinition) Reset()
- func (m *CommandDefinition) String() string
- func (m *CommandDefinition) XXX_DiscardUnknown()
- func (m *CommandDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommandDefinition) XXX_Merge(src proto.Message)
- func (m *CommandDefinition) XXX_Size() int
- func (m *CommandDefinition) XXX_Unmarshal(b []byte) error
- type CommandDefinitionList
- func (*CommandDefinitionList) Descriptor() ([]byte, []int)
- func (m *CommandDefinitionList) GetCommandDefinitions() []*CommandDefinition
- func (*CommandDefinitionList) ProtoMessage()
- func (m *CommandDefinitionList) Reset()
- func (m *CommandDefinitionList) String() string
- func (m *CommandDefinitionList) XXX_DiscardUnknown()
- func (m *CommandDefinitionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommandDefinitionList) XXX_Merge(src proto.Message)
- func (m *CommandDefinitionList) XXX_Size() int
- func (m *CommandDefinitionList) XXX_Unmarshal(b []byte) error
- type CommandDefinition_PermissionLevel
- type CommandParameterDefinition
- func (*CommandParameterDefinition) Descriptor() ([]byte, []int)
- func (m *CommandParameterDefinition) GetName() string
- func (m *CommandParameterDefinition) GetOptional() bool
- func (m *CommandParameterDefinition) GetPattern() string
- func (*CommandParameterDefinition) ProtoMessage()
- func (m *CommandParameterDefinition) Reset()
- func (m *CommandParameterDefinition) String() string
- func (m *CommandParameterDefinition) XXX_DiscardUnknown()
- func (m *CommandParameterDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommandParameterDefinition) XXX_Merge(src proto.Message)
- func (m *CommandParameterDefinition) XXX_Size() int
- func (m *CommandParameterDefinition) XXX_Unmarshal(b []byte) error
- type GuildCommandConfiguration
- func (*GuildCommandConfiguration) Descriptor() ([]byte, []int)
- func (m *GuildCommandConfiguration) GetChannelRestrictions() []string
- func (m *GuildCommandConfiguration) GetCommandID() string
- func (m *GuildCommandConfiguration) GetEnabled() bool
- func (m *GuildCommandConfiguration) GetGuildID() string
- func (m *GuildCommandConfiguration) GetLastModifiedDateUtc() *timestamp.Timestamp
- func (m *GuildCommandConfiguration) GetLastModifiedUserId() string
- func (m *GuildCommandConfiguration) GetRoleRestrictions() []string
- func (*GuildCommandConfiguration) ProtoMessage()
- func (m *GuildCommandConfiguration) Reset()
- func (m *GuildCommandConfiguration) String() string
- func (m *GuildCommandConfiguration) XXX_DiscardUnknown()
- func (m *GuildCommandConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GuildCommandConfiguration) XXX_Merge(src proto.Message)
- func (m *GuildCommandConfiguration) XXX_Size() int
- func (m *GuildCommandConfiguration) XXX_Unmarshal(b []byte) error
- type GuildCommandConfigurationList
- func (*GuildCommandConfigurationList) Descriptor() ([]byte, []int)
- func (m *GuildCommandConfigurationList) GetGuildCommandConfigurations() []*GuildCommandConfiguration
- func (*GuildCommandConfigurationList) ProtoMessage()
- func (m *GuildCommandConfigurationList) Reset()
- func (m *GuildCommandConfigurationList) String() string
- func (m *GuildCommandConfigurationList) XXX_DiscardUnknown()
- func (m *GuildCommandConfigurationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GuildCommandConfigurationList) XXX_Merge(src proto.Message)
- func (m *GuildCommandConfigurationList) XXX_Size() int
- func (m *GuildCommandConfigurationList) XXX_Unmarshal(b []byte) error
- type GuildQuery
- func (*GuildQuery) Descriptor() ([]byte, []int)
- func (m *GuildQuery) GetGuildID() string
- func (*GuildQuery) ProtoMessage()
- func (m *GuildQuery) Reset()
- func (m *GuildQuery) String() string
- func (m *GuildQuery) XXX_DiscardUnknown()
- func (m *GuildQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GuildQuery) XXX_Merge(src proto.Message)
- func (m *GuildQuery) XXX_Size() int
- func (m *GuildQuery) XXX_Unmarshal(b []byte) error
- type HealthCheckStatus
- func (*HealthCheckStatus) Descriptor() ([]byte, []int)
- func (m *HealthCheckStatus) GetConnectedServers() int32
- func (m *HealthCheckStatus) GetConnectedUsers() int32
- func (m *HealthCheckStatus) GetInstanceID() string
- func (m *HealthCheckStatus) GetMemAllocated() int64
- func (m *HealthCheckStatus) GetMemCumulative() int64
- func (m *HealthCheckStatus) GetMemSystem() int64
- func (m *HealthCheckStatus) GetShardID() int32
- func (m *HealthCheckStatus) GetTaskCount() int32
- func (m *HealthCheckStatus) GetTimestamp() *timestamp.Timestamp
- func (m *HealthCheckStatus) GetUptime() int64
- func (*HealthCheckStatus) ProtoMessage()
- func (m *HealthCheckStatus) Reset()
- func (m *HealthCheckStatus) String() string
- func (m *HealthCheckStatus) XXX_DiscardUnknown()
- func (m *HealthCheckStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheckStatus) XXX_Merge(src proto.Message)
- func (m *HealthCheckStatus) XXX_Size() int
- func (m *HealthCheckStatus) XXX_Unmarshal(b []byte) error
- type HealthCheckStatusList
- func (*HealthCheckStatusList) Descriptor() ([]byte, []int)
- func (m *HealthCheckStatusList) GetHealthChecks() []*HealthCheckStatus
- func (*HealthCheckStatusList) ProtoMessage()
- func (m *HealthCheckStatusList) Reset()
- func (m *HealthCheckStatusList) String() string
- func (m *HealthCheckStatusList) XXX_DiscardUnknown()
- func (m *HealthCheckStatusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheckStatusList) XXX_Merge(src proto.Message)
- func (m *HealthCheckStatusList) XXX_Size() int
- func (m *HealthCheckStatusList) XXX_Unmarshal(b []byte) error
- type ManagerClient
- type ManagerServer
- type UnimplementedManagerServer
- func (*UnimplementedManagerServer) GetCommandDefinitions(ctx context.Context, req *empty.Empty) (*CommandDefinitionList, error)
- func (*UnimplementedManagerServer) GetGuildCommandConfigurations(ctx context.Context, req *GuildQuery) (*GuildCommandConfigurationList, error)
- func (*UnimplementedManagerServer) GetListenerHealthChecks(ctx context.Context, req *empty.Empty) (*HealthCheckStatusList, error)
- func (*UnimplementedManagerServer) GetWorkerHealthChecks(ctx context.Context, req *empty.Empty) (*HealthCheckStatusList, error)
- func (*UnimplementedManagerServer) SetGuildCommandConfiguration(ctx context.Context, req *GuildCommandConfiguration) (*GuildCommandConfiguration, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandDefinition_PermissionLevel_name = map[int32]string{
0: "USER",
1: "MODERATOR",
2: "ADMIN",
3: "OWNER",
}
View Source
var CommandDefinition_PermissionLevel_value = map[string]int32{
"USER": 0,
"MODERATOR": 1,
"ADMIN": 2,
"OWNER": 3,
}
Functions ¶
func RegisterManagerServer ¶
func RegisterManagerServer(s *grpc.Server, srv ManagerServer)
Types ¶
type CommandDefinition ¶
type CommandDefinition struct { CommandID string `protobuf:"bytes,1,opt,name=commandID,proto3" json:"commandID,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` Triggers []string `protobuf:"bytes,3,rep,name=triggers,proto3" json:"triggers,omitempty"` PermissionLevel CommandDefinition_PermissionLevel `` /* 140-byte string literal not displayed */ ParameterDefinitions []*CommandParameterDefinition `protobuf:"bytes,5,rep,name=parameterDefinitions,proto3" json:"parameterDefinitions,omitempty"` LastModifiedUserID string `protobuf:"bytes,6,opt,name=lastModifiedUserID,proto3" json:"lastModifiedUserID,omitempty"` LastModifiedDateUtc *timestamp.Timestamp `protobuf:"bytes,7,opt,name=lastModifiedDateUtc,proto3" json:"lastModifiedDateUtc,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` Unlisted bool `protobuf:"varint,9,opt,name=unlisted,proto3" json:"unlisted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommandDefinition) Descriptor ¶
func (*CommandDefinition) Descriptor() ([]byte, []int)
func (*CommandDefinition) GetCommandID ¶
func (m *CommandDefinition) GetCommandID() string
func (*CommandDefinition) GetDescription ¶
func (m *CommandDefinition) GetDescription() string
func (*CommandDefinition) GetEnabled ¶
func (m *CommandDefinition) GetEnabled() bool
func (*CommandDefinition) GetLastModifiedDateUtc ¶
func (m *CommandDefinition) GetLastModifiedDateUtc() *timestamp.Timestamp
func (*CommandDefinition) GetLastModifiedUserID ¶
func (m *CommandDefinition) GetLastModifiedUserID() string
func (*CommandDefinition) GetParameterDefinitions ¶
func (m *CommandDefinition) GetParameterDefinitions() []*CommandParameterDefinition
func (*CommandDefinition) GetPermissionLevel ¶
func (m *CommandDefinition) GetPermissionLevel() CommandDefinition_PermissionLevel
func (*CommandDefinition) GetTriggers ¶
func (m *CommandDefinition) GetTriggers() []string
func (*CommandDefinition) GetUnlisted ¶
func (m *CommandDefinition) GetUnlisted() bool
func (*CommandDefinition) ProtoMessage ¶
func (*CommandDefinition) ProtoMessage()
func (*CommandDefinition) Reset ¶
func (m *CommandDefinition) Reset()
func (*CommandDefinition) String ¶
func (m *CommandDefinition) String() string
func (*CommandDefinition) XXX_DiscardUnknown ¶
func (m *CommandDefinition) XXX_DiscardUnknown()
func (*CommandDefinition) XXX_Marshal ¶
func (m *CommandDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommandDefinition) XXX_Merge ¶
func (m *CommandDefinition) XXX_Merge(src proto.Message)
func (*CommandDefinition) XXX_Size ¶
func (m *CommandDefinition) XXX_Size() int
func (*CommandDefinition) XXX_Unmarshal ¶
func (m *CommandDefinition) XXX_Unmarshal(b []byte) error
type CommandDefinitionList ¶
type CommandDefinitionList struct { CommandDefinitions []*CommandDefinition `protobuf:"bytes,1,rep,name=commandDefinitions,proto3" json:"commandDefinitions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommandDefinitionList) Descriptor ¶
func (*CommandDefinitionList) Descriptor() ([]byte, []int)
func (*CommandDefinitionList) GetCommandDefinitions ¶
func (m *CommandDefinitionList) GetCommandDefinitions() []*CommandDefinition
func (*CommandDefinitionList) ProtoMessage ¶
func (*CommandDefinitionList) ProtoMessage()
func (*CommandDefinitionList) Reset ¶
func (m *CommandDefinitionList) Reset()
func (*CommandDefinitionList) String ¶
func (m *CommandDefinitionList) String() string
func (*CommandDefinitionList) XXX_DiscardUnknown ¶
func (m *CommandDefinitionList) XXX_DiscardUnknown()
func (*CommandDefinitionList) XXX_Marshal ¶
func (m *CommandDefinitionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommandDefinitionList) XXX_Merge ¶
func (m *CommandDefinitionList) XXX_Merge(src proto.Message)
func (*CommandDefinitionList) XXX_Size ¶
func (m *CommandDefinitionList) XXX_Size() int
func (*CommandDefinitionList) XXX_Unmarshal ¶
func (m *CommandDefinitionList) XXX_Unmarshal(b []byte) error
type CommandDefinition_PermissionLevel ¶
type CommandDefinition_PermissionLevel int32
const ( CommandDefinition_USER CommandDefinition_PermissionLevel = 0 CommandDefinition_MODERATOR CommandDefinition_PermissionLevel = 1 CommandDefinition_ADMIN CommandDefinition_PermissionLevel = 2 CommandDefinition_OWNER CommandDefinition_PermissionLevel = 3 )
func (CommandDefinition_PermissionLevel) EnumDescriptor ¶
func (CommandDefinition_PermissionLevel) EnumDescriptor() ([]byte, []int)
func (CommandDefinition_PermissionLevel) String ¶
func (x CommandDefinition_PermissionLevel) String() string
type CommandParameterDefinition ¶
type CommandParameterDefinition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"` Optional bool `protobuf:"varint,3,opt,name=optional,proto3" json:"optional,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommandParameterDefinition) Descriptor ¶
func (*CommandParameterDefinition) Descriptor() ([]byte, []int)
func (*CommandParameterDefinition) GetName ¶
func (m *CommandParameterDefinition) GetName() string
func (*CommandParameterDefinition) GetOptional ¶
func (m *CommandParameterDefinition) GetOptional() bool
func (*CommandParameterDefinition) GetPattern ¶
func (m *CommandParameterDefinition) GetPattern() string
func (*CommandParameterDefinition) ProtoMessage ¶
func (*CommandParameterDefinition) ProtoMessage()
func (*CommandParameterDefinition) Reset ¶
func (m *CommandParameterDefinition) Reset()
func (*CommandParameterDefinition) String ¶
func (m *CommandParameterDefinition) String() string
func (*CommandParameterDefinition) XXX_DiscardUnknown ¶
func (m *CommandParameterDefinition) XXX_DiscardUnknown()
func (*CommandParameterDefinition) XXX_Marshal ¶
func (m *CommandParameterDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommandParameterDefinition) XXX_Merge ¶
func (m *CommandParameterDefinition) XXX_Merge(src proto.Message)
func (*CommandParameterDefinition) XXX_Size ¶
func (m *CommandParameterDefinition) XXX_Size() int
func (*CommandParameterDefinition) XXX_Unmarshal ¶
func (m *CommandParameterDefinition) XXX_Unmarshal(b []byte) error
type GuildCommandConfiguration ¶
type GuildCommandConfiguration struct { GuildID string `protobuf:"bytes,1,opt,name=guildID,proto3" json:"guildID,omitempty"` CommandID string `protobuf:"bytes,2,opt,name=commandID,proto3" json:"commandID,omitempty"` Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` RoleRestrictions []string `protobuf:"bytes,4,rep,name=roleRestrictions,proto3" json:"roleRestrictions,omitempty"` ChannelRestrictions []string `protobuf:"bytes,5,rep,name=channelRestrictions,proto3" json:"channelRestrictions,omitempty"` LastModifiedUserId string `protobuf:"bytes,6,opt,name=lastModifiedUserId,proto3" json:"lastModifiedUserId,omitempty"` LastModifiedDateUtc *timestamp.Timestamp `protobuf:"bytes,7,opt,name=lastModifiedDateUtc,proto3" json:"lastModifiedDateUtc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GuildCommandConfiguration) Descriptor ¶
func (*GuildCommandConfiguration) Descriptor() ([]byte, []int)
func (*GuildCommandConfiguration) GetChannelRestrictions ¶
func (m *GuildCommandConfiguration) GetChannelRestrictions() []string
func (*GuildCommandConfiguration) GetCommandID ¶
func (m *GuildCommandConfiguration) GetCommandID() string
func (*GuildCommandConfiguration) GetEnabled ¶
func (m *GuildCommandConfiguration) GetEnabled() bool
func (*GuildCommandConfiguration) GetGuildID ¶
func (m *GuildCommandConfiguration) GetGuildID() string
func (*GuildCommandConfiguration) GetLastModifiedDateUtc ¶
func (m *GuildCommandConfiguration) GetLastModifiedDateUtc() *timestamp.Timestamp
func (*GuildCommandConfiguration) GetLastModifiedUserId ¶
func (m *GuildCommandConfiguration) GetLastModifiedUserId() string
func (*GuildCommandConfiguration) GetRoleRestrictions ¶
func (m *GuildCommandConfiguration) GetRoleRestrictions() []string
func (*GuildCommandConfiguration) ProtoMessage ¶
func (*GuildCommandConfiguration) ProtoMessage()
func (*GuildCommandConfiguration) Reset ¶
func (m *GuildCommandConfiguration) Reset()
func (*GuildCommandConfiguration) String ¶
func (m *GuildCommandConfiguration) String() string
func (*GuildCommandConfiguration) XXX_DiscardUnknown ¶
func (m *GuildCommandConfiguration) XXX_DiscardUnknown()
func (*GuildCommandConfiguration) XXX_Marshal ¶
func (m *GuildCommandConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GuildCommandConfiguration) XXX_Merge ¶
func (m *GuildCommandConfiguration) XXX_Merge(src proto.Message)
func (*GuildCommandConfiguration) XXX_Size ¶
func (m *GuildCommandConfiguration) XXX_Size() int
func (*GuildCommandConfiguration) XXX_Unmarshal ¶
func (m *GuildCommandConfiguration) XXX_Unmarshal(b []byte) error
type GuildCommandConfigurationList ¶
type GuildCommandConfigurationList struct { GuildCommandConfigurations []*GuildCommandConfiguration `protobuf:"bytes,1,rep,name=guildCommandConfigurations,proto3" json:"guildCommandConfigurations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GuildCommandConfigurationList) Descriptor ¶
func (*GuildCommandConfigurationList) Descriptor() ([]byte, []int)
func (*GuildCommandConfigurationList) GetGuildCommandConfigurations ¶
func (m *GuildCommandConfigurationList) GetGuildCommandConfigurations() []*GuildCommandConfiguration
func (*GuildCommandConfigurationList) ProtoMessage ¶
func (*GuildCommandConfigurationList) ProtoMessage()
func (*GuildCommandConfigurationList) Reset ¶
func (m *GuildCommandConfigurationList) Reset()
func (*GuildCommandConfigurationList) String ¶
func (m *GuildCommandConfigurationList) String() string
func (*GuildCommandConfigurationList) XXX_DiscardUnknown ¶
func (m *GuildCommandConfigurationList) XXX_DiscardUnknown()
func (*GuildCommandConfigurationList) XXX_Marshal ¶
func (m *GuildCommandConfigurationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GuildCommandConfigurationList) XXX_Merge ¶
func (m *GuildCommandConfigurationList) XXX_Merge(src proto.Message)
func (*GuildCommandConfigurationList) XXX_Size ¶
func (m *GuildCommandConfigurationList) XXX_Size() int
func (*GuildCommandConfigurationList) XXX_Unmarshal ¶
func (m *GuildCommandConfigurationList) XXX_Unmarshal(b []byte) error
type GuildQuery ¶
type GuildQuery struct { GuildID string `protobuf:"bytes,1,opt,name=guildID,proto3" json:"guildID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GuildQuery) Descriptor ¶
func (*GuildQuery) Descriptor() ([]byte, []int)
func (*GuildQuery) GetGuildID ¶
func (m *GuildQuery) GetGuildID() string
func (*GuildQuery) ProtoMessage ¶
func (*GuildQuery) ProtoMessage()
func (*GuildQuery) Reset ¶
func (m *GuildQuery) Reset()
func (*GuildQuery) String ¶
func (m *GuildQuery) String() string
func (*GuildQuery) XXX_DiscardUnknown ¶
func (m *GuildQuery) XXX_DiscardUnknown()
func (*GuildQuery) XXX_Marshal ¶
func (m *GuildQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GuildQuery) XXX_Merge ¶
func (m *GuildQuery) XXX_Merge(src proto.Message)
func (*GuildQuery) XXX_Size ¶
func (m *GuildQuery) XXX_Size() int
func (*GuildQuery) XXX_Unmarshal ¶
func (m *GuildQuery) XXX_Unmarshal(b []byte) error
type HealthCheckStatus ¶
type HealthCheckStatus struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` InstanceID string `protobuf:"bytes,2,opt,name=instanceID,proto3" json:"instanceID,omitempty"` ShardID int32 `protobuf:"varint,3,opt,name=shardID,proto3" json:"shardID,omitempty"` Uptime int64 `protobuf:"varint,4,opt,name=uptime,proto3" json:"uptime,omitempty"` MemAllocated int64 `protobuf:"varint,5,opt,name=memAllocated,proto3" json:"memAllocated,omitempty"` MemSystem int64 `protobuf:"varint,6,opt,name=memSystem,proto3" json:"memSystem,omitempty"` MemCumulative int64 `protobuf:"varint,7,opt,name=memCumulative,proto3" json:"memCumulative,omitempty"` TaskCount int32 `protobuf:"varint,8,opt,name=taskCount,proto3" json:"taskCount,omitempty"` ConnectedServers int32 `protobuf:"varint,9,opt,name=connectedServers,proto3" json:"connectedServers,omitempty"` ConnectedUsers int32 `protobuf:"varint,10,opt,name=connectedUsers,proto3" json:"connectedUsers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckStatus) Descriptor ¶
func (*HealthCheckStatus) Descriptor() ([]byte, []int)
func (*HealthCheckStatus) GetConnectedServers ¶
func (m *HealthCheckStatus) GetConnectedServers() int32
func (*HealthCheckStatus) GetConnectedUsers ¶
func (m *HealthCheckStatus) GetConnectedUsers() int32
func (*HealthCheckStatus) GetInstanceID ¶
func (m *HealthCheckStatus) GetInstanceID() string
func (*HealthCheckStatus) GetMemAllocated ¶
func (m *HealthCheckStatus) GetMemAllocated() int64
func (*HealthCheckStatus) GetMemCumulative ¶
func (m *HealthCheckStatus) GetMemCumulative() int64
func (*HealthCheckStatus) GetMemSystem ¶
func (m *HealthCheckStatus) GetMemSystem() int64
func (*HealthCheckStatus) GetShardID ¶
func (m *HealthCheckStatus) GetShardID() int32
func (*HealthCheckStatus) GetTaskCount ¶
func (m *HealthCheckStatus) GetTaskCount() int32
func (*HealthCheckStatus) GetTimestamp ¶
func (m *HealthCheckStatus) GetTimestamp() *timestamp.Timestamp
func (*HealthCheckStatus) GetUptime ¶
func (m *HealthCheckStatus) GetUptime() int64
func (*HealthCheckStatus) ProtoMessage ¶
func (*HealthCheckStatus) ProtoMessage()
func (*HealthCheckStatus) Reset ¶
func (m *HealthCheckStatus) Reset()
func (*HealthCheckStatus) String ¶
func (m *HealthCheckStatus) String() string
func (*HealthCheckStatus) XXX_DiscardUnknown ¶
func (m *HealthCheckStatus) XXX_DiscardUnknown()
func (*HealthCheckStatus) XXX_Marshal ¶
func (m *HealthCheckStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckStatus) XXX_Merge ¶
func (m *HealthCheckStatus) XXX_Merge(src proto.Message)
func (*HealthCheckStatus) XXX_Size ¶
func (m *HealthCheckStatus) XXX_Size() int
func (*HealthCheckStatus) XXX_Unmarshal ¶
func (m *HealthCheckStatus) XXX_Unmarshal(b []byte) error
type HealthCheckStatusList ¶
type HealthCheckStatusList struct { HealthChecks []*HealthCheckStatus `protobuf:"bytes,1,rep,name=healthChecks,proto3" json:"healthChecks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckStatusList) Descriptor ¶
func (*HealthCheckStatusList) Descriptor() ([]byte, []int)
func (*HealthCheckStatusList) GetHealthChecks ¶
func (m *HealthCheckStatusList) GetHealthChecks() []*HealthCheckStatus
func (*HealthCheckStatusList) ProtoMessage ¶
func (*HealthCheckStatusList) ProtoMessage()
func (*HealthCheckStatusList) Reset ¶
func (m *HealthCheckStatusList) Reset()
func (*HealthCheckStatusList) String ¶
func (m *HealthCheckStatusList) String() string
func (*HealthCheckStatusList) XXX_DiscardUnknown ¶
func (m *HealthCheckStatusList) XXX_DiscardUnknown()
func (*HealthCheckStatusList) XXX_Marshal ¶
func (m *HealthCheckStatusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckStatusList) XXX_Merge ¶
func (m *HealthCheckStatusList) XXX_Merge(src proto.Message)
func (*HealthCheckStatusList) XXX_Size ¶
func (m *HealthCheckStatusList) XXX_Size() int
func (*HealthCheckStatusList) XXX_Unmarshal ¶
func (m *HealthCheckStatusList) XXX_Unmarshal(b []byte) error
type ManagerClient ¶
type ManagerClient interface { GetCommandDefinitions(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CommandDefinitionList, error) GetGuildCommandConfigurations(ctx context.Context, in *GuildQuery, opts ...grpc.CallOption) (*GuildCommandConfigurationList, error) SetGuildCommandConfiguration(ctx context.Context, in *GuildCommandConfiguration, opts ...grpc.CallOption) (*GuildCommandConfiguration, error) GetWorkerHealthChecks(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HealthCheckStatusList, error) GetListenerHealthChecks(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HealthCheckStatusList, error) }
ManagerClient is the client API for Manager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewManagerClient ¶
func NewManagerClient(cc *grpc.ClientConn) ManagerClient
type ManagerServer ¶
type ManagerServer interface { GetCommandDefinitions(context.Context, *empty.Empty) (*CommandDefinitionList, error) GetGuildCommandConfigurations(context.Context, *GuildQuery) (*GuildCommandConfigurationList, error) SetGuildCommandConfiguration(context.Context, *GuildCommandConfiguration) (*GuildCommandConfiguration, error) GetWorkerHealthChecks(context.Context, *empty.Empty) (*HealthCheckStatusList, error) GetListenerHealthChecks(context.Context, *empty.Empty) (*HealthCheckStatusList, error) }
ManagerServer is the server API for Manager service.
type UnimplementedManagerServer ¶
type UnimplementedManagerServer struct { }
UnimplementedManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedManagerServer) GetCommandDefinitions ¶
func (*UnimplementedManagerServer) GetCommandDefinitions(ctx context.Context, req *empty.Empty) (*CommandDefinitionList, error)
func (*UnimplementedManagerServer) GetGuildCommandConfigurations ¶
func (*UnimplementedManagerServer) GetGuildCommandConfigurations(ctx context.Context, req *GuildQuery) (*GuildCommandConfigurationList, error)
func (*UnimplementedManagerServer) GetListenerHealthChecks ¶
func (*UnimplementedManagerServer) GetListenerHealthChecks(ctx context.Context, req *empty.Empty) (*HealthCheckStatusList, error)
func (*UnimplementedManagerServer) GetWorkerHealthChecks ¶
func (*UnimplementedManagerServer) GetWorkerHealthChecks(ctx context.Context, req *empty.Empty) (*HealthCheckStatusList, error)
func (*UnimplementedManagerServer) SetGuildCommandConfiguration ¶
func (*UnimplementedManagerServer) SetGuildCommandConfiguration(ctx context.Context, req *GuildCommandConfiguration) (*GuildCommandConfiguration, error)
Click to show internal directories.
Click to hide internal directories.