Documentation ¶
Index ¶
- Constants
- Variables
- func MessageType(msg interface{}) uint16
- type ACL
- func (*ACL) Descriptor() ([]byte, []int)deprecated
- func (x *ACL) GetAcls() []*ACL_ChanACL
- func (x *ACL) GetChannelId() uint32
- func (x *ACL) GetGroups() []*ACL_ChanGroup
- func (x *ACL) GetInheritAcls() bool
- func (x *ACL) GetQuery() bool
- func (*ACL) ProtoMessage()
- func (x *ACL) ProtoReflect() protoreflect.Message
- func (x *ACL) Reset()
- func (x *ACL) String() string
- type ACL_ChanACL
- func (*ACL_ChanACL) Descriptor() ([]byte, []int)deprecated
- func (x *ACL_ChanACL) GetApplyHere() bool
- func (x *ACL_ChanACL) GetApplySubs() bool
- func (x *ACL_ChanACL) GetDeny() uint32
- func (x *ACL_ChanACL) GetGrant() uint32
- func (x *ACL_ChanACL) GetGroup() string
- func (x *ACL_ChanACL) GetInherited() bool
- func (x *ACL_ChanACL) GetUserId() uint32
- func (*ACL_ChanACL) ProtoMessage()
- func (x *ACL_ChanACL) ProtoReflect() protoreflect.Message
- func (x *ACL_ChanACL) Reset()
- func (x *ACL_ChanACL) String() string
- type ACL_ChanGroup
- func (*ACL_ChanGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ACL_ChanGroup) GetAdd() []uint32
- func (x *ACL_ChanGroup) GetInherit() bool
- func (x *ACL_ChanGroup) GetInheritable() bool
- func (x *ACL_ChanGroup) GetInherited() bool
- func (x *ACL_ChanGroup) GetInheritedMembers() []uint32
- func (x *ACL_ChanGroup) GetName() string
- func (x *ACL_ChanGroup) GetRemove() []uint32
- func (*ACL_ChanGroup) ProtoMessage()
- func (x *ACL_ChanGroup) ProtoReflect() protoreflect.Message
- func (x *ACL_ChanGroup) Reset()
- func (x *ACL_ChanGroup) String() string
- type Authenticate
- func (*Authenticate) Descriptor() ([]byte, []int)deprecated
- func (x *Authenticate) GetCeltVersions() []int32
- func (x *Authenticate) GetOpus() bool
- func (x *Authenticate) GetPassword() string
- func (x *Authenticate) GetTokens() []string
- func (x *Authenticate) GetUsername() string
- func (*Authenticate) ProtoMessage()
- func (x *Authenticate) ProtoReflect() protoreflect.Message
- func (x *Authenticate) Reset()
- func (x *Authenticate) String() string
- type BanList
- type BanList_BanEntry
- func (*BanList_BanEntry) Descriptor() ([]byte, []int)deprecated
- func (x *BanList_BanEntry) GetAddress() []byte
- func (x *BanList_BanEntry) GetDuration() uint32
- func (x *BanList_BanEntry) GetHash() string
- func (x *BanList_BanEntry) GetMask() uint32
- func (x *BanList_BanEntry) GetName() string
- func (x *BanList_BanEntry) GetReason() string
- func (x *BanList_BanEntry) GetStart() string
- func (*BanList_BanEntry) ProtoMessage()
- func (x *BanList_BanEntry) ProtoReflect() protoreflect.Message
- func (x *BanList_BanEntry) Reset()
- func (x *BanList_BanEntry) String() string
- type ChannelRemove
- type ChannelState
- func (*ChannelState) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelState) GetCanEnter() bool
- func (x *ChannelState) GetChannelId() uint32
- func (x *ChannelState) GetDescription() string
- func (x *ChannelState) GetDescriptionHash() []byte
- func (x *ChannelState) GetIsEnterRestricted() bool
- func (x *ChannelState) GetLinks() []uint32
- func (x *ChannelState) GetLinksAdd() []uint32
- func (x *ChannelState) GetLinksRemove() []uint32
- func (x *ChannelState) GetMaxUsers() uint32
- func (x *ChannelState) GetName() string
- func (x *ChannelState) GetParent() uint32
- func (x *ChannelState) GetPosition() int32
- func (x *ChannelState) GetTemporary() bool
- func (*ChannelState) ProtoMessage()
- func (x *ChannelState) ProtoReflect() protoreflect.Message
- func (x *ChannelState) Reset()
- func (x *ChannelState) String() string
- type CodecVersion
- func (*CodecVersion) Descriptor() ([]byte, []int)deprecated
- func (x *CodecVersion) GetAlpha() int32
- func (x *CodecVersion) GetBeta() int32
- func (x *CodecVersion) GetOpus() bool
- func (x *CodecVersion) GetPreferAlpha() bool
- func (*CodecVersion) ProtoMessage()
- func (x *CodecVersion) ProtoReflect() protoreflect.Message
- func (x *CodecVersion) Reset()
- func (x *CodecVersion) String() string
- type ContextAction
- func (*ContextAction) Descriptor() ([]byte, []int)deprecated
- func (x *ContextAction) GetAction() string
- func (x *ContextAction) GetChannelId() uint32
- func (x *ContextAction) GetSession() uint32
- func (*ContextAction) ProtoMessage()
- func (x *ContextAction) ProtoReflect() protoreflect.Message
- func (x *ContextAction) Reset()
- func (x *ContextAction) String() string
- type ContextActionModify
- func (*ContextActionModify) Descriptor() ([]byte, []int)deprecated
- func (x *ContextActionModify) GetAction() string
- func (x *ContextActionModify) GetContext() uint32
- func (x *ContextActionModify) GetOperation() ContextActionModify_Operation
- func (x *ContextActionModify) GetText() string
- func (*ContextActionModify) ProtoMessage()
- func (x *ContextActionModify) ProtoReflect() protoreflect.Message
- func (x *ContextActionModify) Reset()
- func (x *ContextActionModify) String() string
- type ContextActionModify_Context
- func (ContextActionModify_Context) Descriptor() protoreflect.EnumDescriptor
- func (x ContextActionModify_Context) Enum() *ContextActionModify_Context
- func (ContextActionModify_Context) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContextActionModify_Context) Number() protoreflect.EnumNumber
- func (x ContextActionModify_Context) String() string
- func (ContextActionModify_Context) Type() protoreflect.EnumType
- func (x *ContextActionModify_Context) UnmarshalJSON(b []byte) errordeprecated
- type ContextActionModify_Operation
- func (ContextActionModify_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x ContextActionModify_Operation) Enum() *ContextActionModify_Operation
- func (ContextActionModify_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContextActionModify_Operation) Number() protoreflect.EnumNumber
- func (x ContextActionModify_Operation) String() string
- func (ContextActionModify_Operation) Type() protoreflect.EnumType
- func (x *ContextActionModify_Operation) UnmarshalJSON(b []byte) errordeprecated
- type CryptSetup
- func (*CryptSetup) Descriptor() ([]byte, []int)deprecated
- func (x *CryptSetup) GetClientNonce() []byte
- func (x *CryptSetup) GetKey() []byte
- func (x *CryptSetup) GetServerNonce() []byte
- func (*CryptSetup) ProtoMessage()
- func (x *CryptSetup) ProtoReflect() protoreflect.Message
- func (x *CryptSetup) Reset()
- func (x *CryptSetup) String() string
- type PermissionDenied
- func (*PermissionDenied) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionDenied) GetChannelId() uint32
- func (x *PermissionDenied) GetName() string
- func (x *PermissionDenied) GetPermission() uint32
- func (x *PermissionDenied) GetReason() string
- func (x *PermissionDenied) GetSession() uint32
- func (x *PermissionDenied) GetType() PermissionDenied_DenyType
- func (*PermissionDenied) ProtoMessage()
- func (x *PermissionDenied) ProtoReflect() protoreflect.Message
- func (x *PermissionDenied) Reset()
- func (x *PermissionDenied) String() string
- type PermissionDenied_DenyType
- func (PermissionDenied_DenyType) Descriptor() protoreflect.EnumDescriptor
- func (x PermissionDenied_DenyType) Enum() *PermissionDenied_DenyType
- func (PermissionDenied_DenyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PermissionDenied_DenyType) Number() protoreflect.EnumNumber
- func (x PermissionDenied_DenyType) String() string
- func (PermissionDenied_DenyType) Type() protoreflect.EnumType
- func (x *PermissionDenied_DenyType) UnmarshalJSON(b []byte) errordeprecated
- type PermissionQuery
- func (*PermissionQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionQuery) GetChannelId() uint32
- func (x *PermissionQuery) GetFlush() bool
- func (x *PermissionQuery) GetPermissions() uint32
- func (*PermissionQuery) ProtoMessage()
- func (x *PermissionQuery) ProtoReflect() protoreflect.Message
- func (x *PermissionQuery) Reset()
- func (x *PermissionQuery) String() string
- type Ping
- func (*Ping) Descriptor() ([]byte, []int)deprecated
- func (x *Ping) GetGood() uint32
- func (x *Ping) GetLate() uint32
- func (x *Ping) GetLost() uint32
- func (x *Ping) GetResync() uint32
- func (x *Ping) GetTcpPackets() uint32
- func (x *Ping) GetTcpPingAvg() float32
- func (x *Ping) GetTcpPingVar() float32
- func (x *Ping) GetTimestamp() uint64
- func (x *Ping) GetUdpPackets() uint32
- func (x *Ping) GetUdpPingAvg() float32
- func (x *Ping) GetUdpPingVar() float32
- func (*Ping) ProtoMessage()
- func (x *Ping) ProtoReflect() protoreflect.Message
- func (x *Ping) Reset()
- func (x *Ping) String() string
- type PluginDataTransmission
- func (*PluginDataTransmission) Descriptor() ([]byte, []int)deprecated
- func (x *PluginDataTransmission) GetData() []byte
- func (x *PluginDataTransmission) GetDataID() string
- func (x *PluginDataTransmission) GetReceiverSessions() []uint32
- func (x *PluginDataTransmission) GetSenderSession() uint32
- func (*PluginDataTransmission) ProtoMessage()
- func (x *PluginDataTransmission) ProtoReflect() protoreflect.Message
- func (x *PluginDataTransmission) Reset()
- func (x *PluginDataTransmission) String() string
- type QueryUsers
- type Reject
- type Reject_RejectType
- func (Reject_RejectType) Descriptor() protoreflect.EnumDescriptor
- func (x Reject_RejectType) Enum() *Reject_RejectType
- func (Reject_RejectType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Reject_RejectType) Number() protoreflect.EnumNumber
- func (x Reject_RejectType) String() string
- func (Reject_RejectType) Type() protoreflect.EnumType
- func (x *Reject_RejectType) UnmarshalJSON(b []byte) errordeprecated
- type RequestBlob
- func (*RequestBlob) Descriptor() ([]byte, []int)deprecated
- func (x *RequestBlob) GetChannelDescription() []uint32
- func (x *RequestBlob) GetSessionComment() []uint32
- func (x *RequestBlob) GetSessionTexture() []uint32
- func (*RequestBlob) ProtoMessage()
- func (x *RequestBlob) ProtoReflect() protoreflect.Message
- func (x *RequestBlob) Reset()
- func (x *RequestBlob) String() string
- type ServerConfig
- func (*ServerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServerConfig) GetAllowHtml() bool
- func (x *ServerConfig) GetImageMessageLength() uint32
- func (x *ServerConfig) GetMaxBandwidth() uint32
- func (x *ServerConfig) GetMaxUsers() uint32
- func (x *ServerConfig) GetMessageLength() uint32
- func (x *ServerConfig) GetWelcomeText() string
- func (*ServerConfig) ProtoMessage()
- func (x *ServerConfig) ProtoReflect() protoreflect.Message
- func (x *ServerConfig) Reset()
- func (x *ServerConfig) String() string
- type ServerSync
- func (*ServerSync) Descriptor() ([]byte, []int)deprecated
- func (x *ServerSync) GetMaxBandwidth() uint32
- func (x *ServerSync) GetPermissions() uint64
- func (x *ServerSync) GetSession() uint32
- func (x *ServerSync) GetWelcomeText() string
- func (*ServerSync) ProtoMessage()
- func (x *ServerSync) ProtoReflect() protoreflect.Message
- func (x *ServerSync) Reset()
- func (x *ServerSync) String() string
- type SuggestConfig
- func (*SuggestConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestConfig) GetPositional() bool
- func (x *SuggestConfig) GetPushToTalk() bool
- func (x *SuggestConfig) GetVersion() uint32
- func (*SuggestConfig) ProtoMessage()
- func (x *SuggestConfig) ProtoReflect() protoreflect.Message
- func (x *SuggestConfig) Reset()
- func (x *SuggestConfig) String() string
- type TextMessage
- func (*TextMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TextMessage) GetActor() uint32
- func (x *TextMessage) GetChannelId() []uint32
- func (x *TextMessage) GetMessage() string
- func (x *TextMessage) GetSession() []uint32
- func (x *TextMessage) GetTreeId() []uint32
- func (*TextMessage) ProtoMessage()
- func (x *TextMessage) ProtoReflect() protoreflect.Message
- func (x *TextMessage) Reset()
- func (x *TextMessage) String() string
- type UDPTunnel
- type UserList
- type UserList_User
- func (*UserList_User) Descriptor() ([]byte, []int)deprecated
- func (x *UserList_User) GetLastChannel() uint32
- func (x *UserList_User) GetLastSeen() string
- func (x *UserList_User) GetName() string
- func (x *UserList_User) GetUserId() uint32
- func (*UserList_User) ProtoMessage()
- func (x *UserList_User) ProtoReflect() protoreflect.Message
- func (x *UserList_User) Reset()
- func (x *UserList_User) String() string
- type UserRemove
- func (*UserRemove) Descriptor() ([]byte, []int)deprecated
- func (x *UserRemove) GetActor() uint32
- func (x *UserRemove) GetBan() bool
- func (x *UserRemove) GetReason() string
- func (x *UserRemove) GetSession() uint32
- func (*UserRemove) ProtoMessage()
- func (x *UserRemove) ProtoReflect() protoreflect.Message
- func (x *UserRemove) Reset()
- func (x *UserRemove) String() string
- type UserState
- func (*UserState) Descriptor() ([]byte, []int)deprecated
- func (x *UserState) GetActor() uint32
- func (x *UserState) GetChannelId() uint32
- func (x *UserState) GetComment() string
- func (x *UserState) GetCommentHash() []byte
- func (x *UserState) GetDeaf() bool
- func (x *UserState) GetHash() string
- func (x *UserState) GetListeningChannelAdd() []uint32
- func (x *UserState) GetListeningChannelRemove() []uint32
- func (x *UserState) GetMute() bool
- func (x *UserState) GetName() string
- func (x *UserState) GetPluginContext() []byte
- func (x *UserState) GetPluginIdentity() string
- func (x *UserState) GetPrioritySpeaker() bool
- func (x *UserState) GetRecording() bool
- func (x *UserState) GetSelfDeaf() bool
- func (x *UserState) GetSelfMute() bool
- func (x *UserState) GetSession() uint32
- func (x *UserState) GetSuppress() bool
- func (x *UserState) GetTemporaryAccessTokens() []string
- func (x *UserState) GetTexture() []byte
- func (x *UserState) GetTextureHash() []byte
- func (x *UserState) GetUserId() uint32
- func (*UserState) ProtoMessage()
- func (x *UserState) ProtoReflect() protoreflect.Message
- func (x *UserState) Reset()
- func (x *UserState) String() string
- type UserStats
- func (*UserStats) Descriptor() ([]byte, []int)deprecated
- func (x *UserStats) GetAddress() []byte
- func (x *UserStats) GetBandwidth() uint32
- func (x *UserStats) GetCeltVersions() []int32
- func (x *UserStats) GetCertificates() [][]byte
- func (x *UserStats) GetFromClient() *UserStats_Stats
- func (x *UserStats) GetFromServer() *UserStats_Stats
- func (x *UserStats) GetIdlesecs() uint32
- func (x *UserStats) GetOnlinesecs() uint32
- func (x *UserStats) GetOpus() bool
- func (x *UserStats) GetSession() uint32
- func (x *UserStats) GetStatsOnly() bool
- func (x *UserStats) GetStrongCertificate() bool
- func (x *UserStats) GetTcpPackets() uint32
- func (x *UserStats) GetTcpPingAvg() float32
- func (x *UserStats) GetTcpPingVar() float32
- func (x *UserStats) GetUdpPackets() uint32
- func (x *UserStats) GetUdpPingAvg() float32
- func (x *UserStats) GetUdpPingVar() float32
- func (x *UserStats) GetVersion() *Version
- func (*UserStats) ProtoMessage()
- func (x *UserStats) ProtoReflect() protoreflect.Message
- func (x *UserStats) Reset()
- func (x *UserStats) String() string
- type UserStats_Stats
- func (*UserStats_Stats) Descriptor() ([]byte, []int)deprecated
- func (x *UserStats_Stats) GetGood() uint32
- func (x *UserStats_Stats) GetLate() uint32
- func (x *UserStats_Stats) GetLost() uint32
- func (x *UserStats_Stats) GetResync() uint32
- func (*UserStats_Stats) ProtoMessage()
- func (x *UserStats_Stats) ProtoReflect() protoreflect.Message
- func (x *UserStats_Stats) Reset()
- func (x *UserStats_Stats) String() string
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetCryptoModes() []string
- func (x *Version) GetOs() string
- func (x *Version) GetOsVersion() string
- func (x *Version) GetRelease() string
- func (x *Version) GetVersion() uint32
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type VoiceTarget
- func (*VoiceTarget) Descriptor() ([]byte, []int)deprecated
- func (x *VoiceTarget) GetId() uint32
- func (x *VoiceTarget) GetTargets() []*VoiceTarget_Target
- func (*VoiceTarget) ProtoMessage()
- func (x *VoiceTarget) ProtoReflect() protoreflect.Message
- func (x *VoiceTarget) Reset()
- func (x *VoiceTarget) String() string
- type VoiceTarget_Target
- func (*VoiceTarget_Target) Descriptor() ([]byte, []int)deprecated
- func (x *VoiceTarget_Target) GetChannelId() uint32
- func (x *VoiceTarget_Target) GetChildren() bool
- func (x *VoiceTarget_Target) GetGroup() string
- func (x *VoiceTarget_Target) GetLinks() bool
- func (x *VoiceTarget_Target) GetSession() []uint32
- func (*VoiceTarget_Target) ProtoMessage()
- func (x *VoiceTarget_Target) ProtoReflect() protoreflect.Message
- func (x *VoiceTarget_Target) Reset()
- func (x *VoiceTarget_Target) String() string
Constants ¶
const ( Default_ChannelState_Temporary = bool(false) Default_ChannelState_Position = int32(0) )
Default values for ChannelState fields.
const ( Default_ACL_InheritAcls = bool(true) Default_ACL_Query = bool(false) )
Default values for ACL fields.
const ( Default_CodecVersion_PreferAlpha = bool(true) Default_CodecVersion_Opus = bool(false) )
Default values for CodecVersion fields.
const ( Default_UserStats_StatsOnly = bool(false) Default_UserStats_StrongCertificate = bool(false) Default_UserStats_Opus = bool(false) )
Default values for UserStats fields.
const ( Default_ACL_ChanGroup_Inherited = bool(true) Default_ACL_ChanGroup_Inherit = bool(true) Default_ACL_ChanGroup_Inheritable = bool(true) )
Default values for ACL_ChanGroup fields.
const ( Default_ACL_ChanACL_ApplyHere = bool(true) Default_ACL_ChanACL_ApplySubs = bool(true) Default_ACL_ChanACL_Inherited = bool(true) )
Default values for ACL_ChanACL fields.
const ( Default_VoiceTarget_Target_Links = bool(false) Default_VoiceTarget_Target_Children = bool(false) )
Default values for VoiceTarget_Target fields.
const ( MessageVersion uint16 = iota MessageUDPTunnel MessageAuthenticate MessagePing MessageReject MessageServerSync MessageChannelRemove MessageChannelState MessageUserRemove MessageUserState MessageBanList MessageTextMessage MessagePermissionDenied MessageACL MessageQueryUsers MessageCryptSetup MessageContextActionModify MessageContextAction MessageUserList MessageVoiceTarget MessagePermissionQuery MessageCodecVersion MessageUserStats MessageRequestBlob MessageServerConfig )
const ( UDPMessageVoiceCELTAlpha = iota UDPMessagePing UDPMessageVoiceSpeex UDPMessageVoiceCELTBeta UDPMessageVoiceOpus )
const (
Default_Authenticate_Opus = bool(false)
)
Default values for Authenticate fields.
const (
Default_BanList_Query = bool(false)
)
Default values for BanList fields.
const (
Default_PermissionQuery_Flush = bool(false)
)
Default values for PermissionQuery fields.
Variables ¶
var ( Reject_RejectType_name = map[int32]string{ 0: "None", 1: "WrongVersion", 2: "InvalidUsername", 3: "WrongUserPW", 4: "WrongServerPW", 5: "UsernameInUse", 6: "ServerFull", 7: "NoCertificate", 8: "AuthenticatorFail", } Reject_RejectType_value = map[string]int32{ "None": 0, "WrongVersion": 1, "InvalidUsername": 2, "WrongUserPW": 3, "WrongServerPW": 4, "UsernameInUse": 5, "ServerFull": 6, "NoCertificate": 7, "AuthenticatorFail": 8, } )
Enum value maps for Reject_RejectType.
var ( PermissionDenied_DenyType_name = map[int32]string{ 0: "Text", 1: "Permission", 2: "SuperUser", 3: "ChannelName", 4: "TextTooLong", 5: "H9K", 6: "TemporaryChannel", 7: "MissingCertificate", 8: "UserName", 9: "ChannelFull", 10: "NestingLimit", 11: "ChannelCountLimit", 12: "ChannelListenerLimit", 13: "UserListenerLimit", } PermissionDenied_DenyType_value = map[string]int32{ "Text": 0, "Permission": 1, "SuperUser": 2, "ChannelName": 3, "TextTooLong": 4, "H9K": 5, "TemporaryChannel": 6, "MissingCertificate": 7, "UserName": 8, "ChannelFull": 9, "NestingLimit": 10, "ChannelCountLimit": 11, "ChannelListenerLimit": 12, "UserListenerLimit": 13, } )
Enum value maps for PermissionDenied_DenyType.
var ( ContextActionModify_Context_name = map[int32]string{ 1: "Server", 2: "Channel", 4: "User", } ContextActionModify_Context_value = map[string]int32{ "Server": 1, "Channel": 2, "User": 4, } )
Enum value maps for ContextActionModify_Context.
var ( ContextActionModify_Operation_name = map[int32]string{ 0: "Add", 1: "Remove", } ContextActionModify_Operation_value = map[string]int32{ "Add": 0, "Remove": 1, } )
Enum value maps for ContextActionModify_Operation.
var File_Mumble_proto protoreflect.FileDescriptor
Functions ¶
func MessageType ¶
func MessageType(msg interface{}) uint16
Returns the numeric value identifying the message type of msg on the wire.
Types ¶
type ACL ¶
type ACL struct { // Channel ID of the channel this message affects. ChannelId *uint32 `protobuf:"varint,1,req,name=channel_id,json=channelId" json:"channel_id,omitempty"` // True if the channel inherits its parent's ACLs. InheritAcls *bool `protobuf:"varint,2,opt,name=inherit_acls,json=inheritAcls,def=1" json:"inherit_acls,omitempty"` // User group specifications. Groups []*ACL_ChanGroup `protobuf:"bytes,3,rep,name=groups" json:"groups,omitempty"` // ACL specifications. Acls []*ACL_ChanACL `protobuf:"bytes,4,rep,name=acls" json:"acls,omitempty"` // True if the message is a query for ACLs instead of setting them. Query *bool `protobuf:"varint,5,opt,name=query,def=0" json:"query,omitempty"` // contains filtered or unexported fields }
func (*ACL) Descriptor
deprecated
func (*ACL) GetAcls ¶
func (x *ACL) GetAcls() []*ACL_ChanACL
func (*ACL) GetChannelId ¶
func (*ACL) GetGroups ¶
func (x *ACL) GetGroups() []*ACL_ChanGroup
func (*ACL) GetInheritAcls ¶
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
func (*ACL) ProtoReflect ¶
func (x *ACL) ProtoReflect() protoreflect.Message
type ACL_ChanACL ¶
type ACL_ChanACL struct { // True if this ACL applies to the current channel. ApplyHere *bool `protobuf:"varint,1,opt,name=apply_here,json=applyHere,def=1" json:"apply_here,omitempty"` // True if this ACL applies to the sub channels. ApplySubs *bool `protobuf:"varint,2,opt,name=apply_subs,json=applySubs,def=1" json:"apply_subs,omitempty"` // True if the ACL has been inherited from the parent. Inherited *bool `protobuf:"varint,3,opt,name=inherited,def=1" json:"inherited,omitempty"` // ID of the user that is affected by this ACL. UserId *uint32 `protobuf:"varint,4,opt,name=user_id,json=userId" json:"user_id,omitempty"` // ID of the group that is affected by this ACL. Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` // Bit flag field of the permissions granted by this ACL. Grant *uint32 `protobuf:"varint,6,opt,name=grant" json:"grant,omitempty"` // Bit flag field of the permissions denied by this ACL. Deny *uint32 `protobuf:"varint,7,opt,name=deny" json:"deny,omitempty"` // contains filtered or unexported fields }
func (*ACL_ChanACL) Descriptor
deprecated
func (*ACL_ChanACL) Descriptor() ([]byte, []int)
Deprecated: Use ACL_ChanACL.ProtoReflect.Descriptor instead.
func (*ACL_ChanACL) GetApplyHere ¶
func (x *ACL_ChanACL) GetApplyHere() bool
func (*ACL_ChanACL) GetApplySubs ¶
func (x *ACL_ChanACL) GetApplySubs() bool
func (*ACL_ChanACL) GetDeny ¶
func (x *ACL_ChanACL) GetDeny() uint32
func (*ACL_ChanACL) GetGrant ¶
func (x *ACL_ChanACL) GetGrant() uint32
func (*ACL_ChanACL) GetGroup ¶
func (x *ACL_ChanACL) GetGroup() string
func (*ACL_ChanACL) GetInherited ¶
func (x *ACL_ChanACL) GetInherited() bool
func (*ACL_ChanACL) GetUserId ¶
func (x *ACL_ChanACL) GetUserId() uint32
func (*ACL_ChanACL) ProtoMessage ¶
func (*ACL_ChanACL) ProtoMessage()
func (*ACL_ChanACL) ProtoReflect ¶
func (x *ACL_ChanACL) ProtoReflect() protoreflect.Message
func (*ACL_ChanACL) Reset ¶
func (x *ACL_ChanACL) Reset()
func (*ACL_ChanACL) String ¶
func (x *ACL_ChanACL) String() string
type ACL_ChanGroup ¶
type ACL_ChanGroup struct { // Name of the channel group, UTF-8 encoded. Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // True if the group has been inherited from the parent (Read only). Inherited *bool `protobuf:"varint,2,opt,name=inherited,def=1" json:"inherited,omitempty"` // True if the group members are inherited. Inherit *bool `protobuf:"varint,3,opt,name=inherit,def=1" json:"inherit,omitempty"` // True if the group can be inherited by sub channels. Inheritable *bool `protobuf:"varint,4,opt,name=inheritable,def=1" json:"inheritable,omitempty"` // Users explicitly included in this group, identified by user_id. Add []uint32 `protobuf:"varint,5,rep,name=add" json:"add,omitempty"` // Users explicitly removed from this group in this channel if the group // has been inherited, identified by user_id. Remove []uint32 `protobuf:"varint,6,rep,name=remove" json:"remove,omitempty"` // Users inherited, identified by user_id. InheritedMembers []uint32 `protobuf:"varint,7,rep,name=inherited_members,json=inheritedMembers" json:"inherited_members,omitempty"` // contains filtered or unexported fields }
func (*ACL_ChanGroup) Descriptor
deprecated
func (*ACL_ChanGroup) Descriptor() ([]byte, []int)
Deprecated: Use ACL_ChanGroup.ProtoReflect.Descriptor instead.
func (*ACL_ChanGroup) GetAdd ¶
func (x *ACL_ChanGroup) GetAdd() []uint32
func (*ACL_ChanGroup) GetInherit ¶
func (x *ACL_ChanGroup) GetInherit() bool
func (*ACL_ChanGroup) GetInheritable ¶
func (x *ACL_ChanGroup) GetInheritable() bool
func (*ACL_ChanGroup) GetInherited ¶
func (x *ACL_ChanGroup) GetInherited() bool
func (*ACL_ChanGroup) GetInheritedMembers ¶
func (x *ACL_ChanGroup) GetInheritedMembers() []uint32
func (*ACL_ChanGroup) GetName ¶
func (x *ACL_ChanGroup) GetName() string
func (*ACL_ChanGroup) GetRemove ¶
func (x *ACL_ChanGroup) GetRemove() []uint32
func (*ACL_ChanGroup) ProtoMessage ¶
func (*ACL_ChanGroup) ProtoMessage()
func (*ACL_ChanGroup) ProtoReflect ¶
func (x *ACL_ChanGroup) ProtoReflect() protoreflect.Message
func (*ACL_ChanGroup) Reset ¶
func (x *ACL_ChanGroup) Reset()
func (*ACL_ChanGroup) String ¶
func (x *ACL_ChanGroup) String() string
type Authenticate ¶
type Authenticate struct { // UTF-8 encoded username. Username *string `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"` // Server or user password. Password *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"` // Additional access tokens for server ACL groups. Tokens []string `protobuf:"bytes,3,rep,name=tokens" json:"tokens,omitempty"` // A list of CELT bitstream version constants supported by the client. CeltVersions []int32 `protobuf:"varint,4,rep,name=celt_versions,json=celtVersions" json:"celt_versions,omitempty"` Opus *bool `protobuf:"varint,5,opt,name=opus,def=0" json:"opus,omitempty"` // contains filtered or unexported fields }
Used by the client to send the authentication credentials to the server.
func (*Authenticate) Descriptor
deprecated
func (*Authenticate) Descriptor() ([]byte, []int)
Deprecated: Use Authenticate.ProtoReflect.Descriptor instead.
func (*Authenticate) GetCeltVersions ¶
func (x *Authenticate) GetCeltVersions() []int32
func (*Authenticate) GetOpus ¶
func (x *Authenticate) GetOpus() bool
func (*Authenticate) GetPassword ¶
func (x *Authenticate) GetPassword() string
func (*Authenticate) GetTokens ¶
func (x *Authenticate) GetTokens() []string
func (*Authenticate) GetUsername ¶
func (x *Authenticate) GetUsername() string
func (*Authenticate) ProtoMessage ¶
func (*Authenticate) ProtoMessage()
func (*Authenticate) ProtoReflect ¶
func (x *Authenticate) ProtoReflect() protoreflect.Message
func (*Authenticate) Reset ¶
func (x *Authenticate) Reset()
func (*Authenticate) String ¶
func (x *Authenticate) String() string
type BanList ¶
type BanList struct { // List of ban entries currently in place. Bans []*BanList_BanEntry `protobuf:"bytes,1,rep,name=bans" json:"bans,omitempty"` // True if the server should return the list, false if it should replace old // ban list with the one provided. Query *bool `protobuf:"varint,2,opt,name=query,def=0" json:"query,omitempty"` // contains filtered or unexported fields }
Relays information on the bans. The client may send the BanList message to either modify the list of bans or query them from the server. The server sends this list only after a client queries for it.
func (*BanList) Descriptor
deprecated
func (*BanList) GetBans ¶
func (x *BanList) GetBans() []*BanList_BanEntry
func (*BanList) ProtoMessage ¶
func (*BanList) ProtoMessage()
func (*BanList) ProtoReflect ¶
func (x *BanList) ProtoReflect() protoreflect.Message
type BanList_BanEntry ¶
type BanList_BanEntry struct { // Banned IP address. Address []byte `protobuf:"bytes,1,req,name=address" json:"address,omitempty"` // The length of the subnet mask for the ban. Mask *uint32 `protobuf:"varint,2,req,name=mask" json:"mask,omitempty"` // User name for identification purposes (does not affect the ban). Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // The certificate hash of the banned user. Hash *string `protobuf:"bytes,4,opt,name=hash" json:"hash,omitempty"` // Reason for the ban (does not affect the ban). Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"` // Ban start time. Start *string `protobuf:"bytes,6,opt,name=start" json:"start,omitempty"` // Ban duration in seconds. Duration *uint32 `protobuf:"varint,7,opt,name=duration" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*BanList_BanEntry) Descriptor
deprecated
func (*BanList_BanEntry) Descriptor() ([]byte, []int)
Deprecated: Use BanList_BanEntry.ProtoReflect.Descriptor instead.
func (*BanList_BanEntry) GetAddress ¶
func (x *BanList_BanEntry) GetAddress() []byte
func (*BanList_BanEntry) GetDuration ¶
func (x *BanList_BanEntry) GetDuration() uint32
func (*BanList_BanEntry) GetHash ¶
func (x *BanList_BanEntry) GetHash() string
func (*BanList_BanEntry) GetMask ¶
func (x *BanList_BanEntry) GetMask() uint32
func (*BanList_BanEntry) GetName ¶
func (x *BanList_BanEntry) GetName() string
func (*BanList_BanEntry) GetReason ¶
func (x *BanList_BanEntry) GetReason() string
func (*BanList_BanEntry) GetStart ¶
func (x *BanList_BanEntry) GetStart() string
func (*BanList_BanEntry) ProtoMessage ¶
func (*BanList_BanEntry) ProtoMessage()
func (*BanList_BanEntry) ProtoReflect ¶
func (x *BanList_BanEntry) ProtoReflect() protoreflect.Message
func (*BanList_BanEntry) Reset ¶
func (x *BanList_BanEntry) Reset()
func (*BanList_BanEntry) String ¶
func (x *BanList_BanEntry) String() string
type ChannelRemove ¶
type ChannelRemove struct { ChannelId *uint32 `protobuf:"varint,1,req,name=channel_id,json=channelId" json:"channel_id,omitempty"` // contains filtered or unexported fields }
Sent by the client when it wants a channel removed. Sent by the server when a channel has been removed and clients should be notified.
func (*ChannelRemove) Descriptor
deprecated
func (*ChannelRemove) Descriptor() ([]byte, []int)
Deprecated: Use ChannelRemove.ProtoReflect.Descriptor instead.
func (*ChannelRemove) GetChannelId ¶
func (x *ChannelRemove) GetChannelId() uint32
func (*ChannelRemove) ProtoMessage ¶
func (*ChannelRemove) ProtoMessage()
func (*ChannelRemove) ProtoReflect ¶
func (x *ChannelRemove) ProtoReflect() protoreflect.Message
func (*ChannelRemove) Reset ¶
func (x *ChannelRemove) Reset()
func (*ChannelRemove) String ¶
func (x *ChannelRemove) String() string
type ChannelState ¶
type ChannelState struct { // Unique ID for the channel within the server. ChannelId *uint32 `protobuf:"varint,1,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"` // channel_id of the parent channel. Parent *uint32 `protobuf:"varint,2,opt,name=parent" json:"parent,omitempty"` // UTF-8 encoded channel name. Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // A collection of channel id values of the linked channels. Absent during // the first channel listing. Links []uint32 `protobuf:"varint,4,rep,name=links" json:"links,omitempty"` // UTF-8 encoded channel description. Only if the description is less than // 128 bytes Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` // A collection of channel_id values that should be added to links. LinksAdd []uint32 `protobuf:"varint,6,rep,name=links_add,json=linksAdd" json:"links_add,omitempty"` // A collection of channel_id values that should be removed from links. LinksRemove []uint32 `protobuf:"varint,7,rep,name=links_remove,json=linksRemove" json:"links_remove,omitempty"` // True if the channel is temporary. Temporary *bool `protobuf:"varint,8,opt,name=temporary,def=0" json:"temporary,omitempty"` // Position weight to tweak the channel position in the channel list. Position *int32 `protobuf:"varint,9,opt,name=position,def=0" json:"position,omitempty"` // SHA1 hash of the description if the description is 128 bytes or more. DescriptionHash []byte `protobuf:"bytes,10,opt,name=description_hash,json=descriptionHash" json:"description_hash,omitempty"` // Maximum number of users allowed in the channel. If this value is zero, // the maximum number of users allowed in the channel is given by the // server's "usersperchannel" setting. MaxUsers *uint32 `protobuf:"varint,11,opt,name=max_users,json=maxUsers" json:"max_users,omitempty"` // Whether this channel has enter restrictions (ACL denying ENTER) set IsEnterRestricted *bool `protobuf:"varint,12,opt,name=is_enter_restricted,json=isEnterRestricted" json:"is_enter_restricted,omitempty"` // Whether the receiver of this msg is considered to be able to enter this channel CanEnter *bool `protobuf:"varint,13,opt,name=can_enter,json=canEnter" json:"can_enter,omitempty"` // contains filtered or unexported fields }
Used to communicate channel properties between the client and the server. Sent by the server during the login process or when channel properties are updated. Client may use this message to update said channel properties.
func (*ChannelState) Descriptor
deprecated
func (*ChannelState) Descriptor() ([]byte, []int)
Deprecated: Use ChannelState.ProtoReflect.Descriptor instead.
func (*ChannelState) GetCanEnter ¶
func (x *ChannelState) GetCanEnter() bool
func (*ChannelState) GetChannelId ¶
func (x *ChannelState) GetChannelId() uint32
func (*ChannelState) GetDescription ¶
func (x *ChannelState) GetDescription() string
func (*ChannelState) GetDescriptionHash ¶
func (x *ChannelState) GetDescriptionHash() []byte
func (*ChannelState) GetIsEnterRestricted ¶
func (x *ChannelState) GetIsEnterRestricted() bool
func (*ChannelState) GetLinks ¶
func (x *ChannelState) GetLinks() []uint32
func (*ChannelState) GetLinksAdd ¶
func (x *ChannelState) GetLinksAdd() []uint32
func (*ChannelState) GetLinksRemove ¶
func (x *ChannelState) GetLinksRemove() []uint32
func (*ChannelState) GetMaxUsers ¶
func (x *ChannelState) GetMaxUsers() uint32
func (*ChannelState) GetName ¶
func (x *ChannelState) GetName() string
func (*ChannelState) GetParent ¶
func (x *ChannelState) GetParent() uint32
func (*ChannelState) GetPosition ¶
func (x *ChannelState) GetPosition() int32
func (*ChannelState) GetTemporary ¶
func (x *ChannelState) GetTemporary() bool
func (*ChannelState) ProtoMessage ¶
func (*ChannelState) ProtoMessage()
func (*ChannelState) ProtoReflect ¶
func (x *ChannelState) ProtoReflect() protoreflect.Message
func (*ChannelState) Reset ¶
func (x *ChannelState) Reset()
func (*ChannelState) String ¶
func (x *ChannelState) String() string
type CodecVersion ¶
type CodecVersion struct { // The version of the CELT Alpha codec. Alpha *int32 `protobuf:"varint,1,req,name=alpha" json:"alpha,omitempty"` // The version of the CELT Beta codec. Beta *int32 `protobuf:"varint,2,req,name=beta" json:"beta,omitempty"` // True if the user should prefer Alpha over Beta. PreferAlpha *bool `protobuf:"varint,3,req,name=prefer_alpha,json=preferAlpha,def=1" json:"prefer_alpha,omitempty"` Opus *bool `protobuf:"varint,4,opt,name=opus,def=0" json:"opus,omitempty"` // contains filtered or unexported fields }
Sent by the server to notify the users of the version of the CELT codec they should use. This may change during the connection when new users join.
func (*CodecVersion) Descriptor
deprecated
func (*CodecVersion) Descriptor() ([]byte, []int)
Deprecated: Use CodecVersion.ProtoReflect.Descriptor instead.
func (*CodecVersion) GetAlpha ¶
func (x *CodecVersion) GetAlpha() int32
func (*CodecVersion) GetBeta ¶
func (x *CodecVersion) GetBeta() int32
func (*CodecVersion) GetOpus ¶
func (x *CodecVersion) GetOpus() bool
func (*CodecVersion) GetPreferAlpha ¶
func (x *CodecVersion) GetPreferAlpha() bool
func (*CodecVersion) ProtoMessage ¶
func (*CodecVersion) ProtoMessage()
func (*CodecVersion) ProtoReflect ¶
func (x *CodecVersion) ProtoReflect() protoreflect.Message
func (*CodecVersion) Reset ¶
func (x *CodecVersion) Reset()
func (*CodecVersion) String ¶
func (x *CodecVersion) String() string
type ContextAction ¶
type ContextAction struct { // The target User for the action, identified by session. Session *uint32 `protobuf:"varint,1,opt,name=session" json:"session,omitempty"` // The target Channel for the action, identified by channel_id. ChannelId *uint32 `protobuf:"varint,2,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"` // The action that should be executed. Action *string `protobuf:"bytes,3,req,name=action" json:"action,omitempty"` // contains filtered or unexported fields }
Sent by the client when it wants to initiate a Context action.
func (*ContextAction) Descriptor
deprecated
func (*ContextAction) Descriptor() ([]byte, []int)
Deprecated: Use ContextAction.ProtoReflect.Descriptor instead.
func (*ContextAction) GetAction ¶
func (x *ContextAction) GetAction() string
func (*ContextAction) GetChannelId ¶
func (x *ContextAction) GetChannelId() uint32
func (*ContextAction) GetSession ¶
func (x *ContextAction) GetSession() uint32
func (*ContextAction) ProtoMessage ¶
func (*ContextAction) ProtoMessage()
func (*ContextAction) ProtoReflect ¶
func (x *ContextAction) ProtoReflect() protoreflect.Message
func (*ContextAction) Reset ¶
func (x *ContextAction) Reset()
func (*ContextAction) String ¶
func (x *ContextAction) String() string
type ContextActionModify ¶
type ContextActionModify struct { // The action identifier. Used later to initiate an action. Action *string `protobuf:"bytes,1,req,name=action" json:"action,omitempty"` // The display name of the action. Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` // Context bit flags defining where the action should be displayed. // Flags can be OR-ed to combine different types. Context *uint32 `protobuf:"varint,3,opt,name=context" json:"context,omitempty"` // Choose either to add or to remove the context action. // Note: This field only exists after Mumble 1.2.4-beta1 release. // The message will be recognized as Add regardless of this field // before said release. Operation *ContextActionModify_Operation `protobuf:"varint,4,opt,name=operation,enum=ContextActionModify_Operation" json:"operation,omitempty"` // contains filtered or unexported fields }
Used to add or remove custom context menu item on client-side.
func (*ContextActionModify) Descriptor
deprecated
func (*ContextActionModify) Descriptor() ([]byte, []int)
Deprecated: Use ContextActionModify.ProtoReflect.Descriptor instead.
func (*ContextActionModify) GetAction ¶
func (x *ContextActionModify) GetAction() string
func (*ContextActionModify) GetContext ¶
func (x *ContextActionModify) GetContext() uint32
func (*ContextActionModify) GetOperation ¶
func (x *ContextActionModify) GetOperation() ContextActionModify_Operation
func (*ContextActionModify) GetText ¶
func (x *ContextActionModify) GetText() string
func (*ContextActionModify) ProtoMessage ¶
func (*ContextActionModify) ProtoMessage()
func (*ContextActionModify) ProtoReflect ¶
func (x *ContextActionModify) ProtoReflect() protoreflect.Message
func (*ContextActionModify) Reset ¶
func (x *ContextActionModify) Reset()
func (*ContextActionModify) String ¶
func (x *ContextActionModify) String() string
type ContextActionModify_Context ¶
type ContextActionModify_Context int32
const ( // Action is applicable to the server. ContextActionModify_Server ContextActionModify_Context = 1 // Action can target a Channel. ContextActionModify_Channel ContextActionModify_Context = 2 // Action can target a User. ContextActionModify_User ContextActionModify_Context = 4 )
func (ContextActionModify_Context) Descriptor ¶
func (ContextActionModify_Context) Descriptor() protoreflect.EnumDescriptor
func (ContextActionModify_Context) Enum ¶
func (x ContextActionModify_Context) Enum() *ContextActionModify_Context
func (ContextActionModify_Context) EnumDescriptor
deprecated
func (ContextActionModify_Context) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContextActionModify_Context.Descriptor instead.
func (ContextActionModify_Context) Number ¶
func (x ContextActionModify_Context) Number() protoreflect.EnumNumber
func (ContextActionModify_Context) String ¶
func (x ContextActionModify_Context) String() string
func (ContextActionModify_Context) Type ¶
func (ContextActionModify_Context) Type() protoreflect.EnumType
func (*ContextActionModify_Context) UnmarshalJSON
deprecated
func (x *ContextActionModify_Context) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ContextActionModify_Operation ¶
type ContextActionModify_Operation int32
const ( ContextActionModify_Add ContextActionModify_Operation = 0 ContextActionModify_Remove ContextActionModify_Operation = 1 )
func (ContextActionModify_Operation) Descriptor ¶
func (ContextActionModify_Operation) Descriptor() protoreflect.EnumDescriptor
func (ContextActionModify_Operation) Enum ¶
func (x ContextActionModify_Operation) Enum() *ContextActionModify_Operation
func (ContextActionModify_Operation) EnumDescriptor
deprecated
func (ContextActionModify_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContextActionModify_Operation.Descriptor instead.
func (ContextActionModify_Operation) Number ¶
func (x ContextActionModify_Operation) Number() protoreflect.EnumNumber
func (ContextActionModify_Operation) String ¶
func (x ContextActionModify_Operation) String() string
func (ContextActionModify_Operation) Type ¶
func (ContextActionModify_Operation) Type() protoreflect.EnumType
func (*ContextActionModify_Operation) UnmarshalJSON
deprecated
func (x *ContextActionModify_Operation) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CryptSetup ¶
type CryptSetup struct { // Encryption key. Key []byte `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` // Client nonce. ClientNonce []byte `protobuf:"bytes,2,opt,name=client_nonce,json=clientNonce" json:"client_nonce,omitempty"` // Server nonce. ServerNonce []byte `protobuf:"bytes,3,opt,name=server_nonce,json=serverNonce" json:"server_nonce,omitempty"` // contains filtered or unexported fields }
Used to initialize and resync the UDP encryption. Either side may request a resync by sending the message without any values filled. The resync is performed by sending the message with only the client or server nonce filled.
func (*CryptSetup) Descriptor
deprecated
func (*CryptSetup) Descriptor() ([]byte, []int)
Deprecated: Use CryptSetup.ProtoReflect.Descriptor instead.
func (*CryptSetup) GetClientNonce ¶
func (x *CryptSetup) GetClientNonce() []byte
func (*CryptSetup) GetKey ¶
func (x *CryptSetup) GetKey() []byte
func (*CryptSetup) GetServerNonce ¶
func (x *CryptSetup) GetServerNonce() []byte
func (*CryptSetup) ProtoMessage ¶
func (*CryptSetup) ProtoMessage()
func (*CryptSetup) ProtoReflect ¶
func (x *CryptSetup) ProtoReflect() protoreflect.Message
func (*CryptSetup) Reset ¶
func (x *CryptSetup) Reset()
func (*CryptSetup) String ¶
func (x *CryptSetup) String() string
type PermissionDenied ¶
type PermissionDenied struct { // The denied permission when type is Permission. Permission *uint32 `protobuf:"varint,1,opt,name=permission" json:"permission,omitempty"` // channel_id for the channel where the permission was denied when type is // Permission. ChannelId *uint32 `protobuf:"varint,2,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"` // The user who was denied permissions, identified by session. Session *uint32 `protobuf:"varint,3,opt,name=session" json:"session,omitempty"` // Textual reason for the denial. Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"` // Type of the denial. Type *PermissionDenied_DenyType `protobuf:"varint,5,opt,name=type,enum=PermissionDenied_DenyType" json:"type,omitempty"` // The name that is invalid when type is UserName. Name *string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PermissionDenied) Descriptor
deprecated
func (*PermissionDenied) Descriptor() ([]byte, []int)
Deprecated: Use PermissionDenied.ProtoReflect.Descriptor instead.
func (*PermissionDenied) GetChannelId ¶
func (x *PermissionDenied) GetChannelId() uint32
func (*PermissionDenied) GetName ¶
func (x *PermissionDenied) GetName() string
func (*PermissionDenied) GetPermission ¶
func (x *PermissionDenied) GetPermission() uint32
func (*PermissionDenied) GetReason ¶
func (x *PermissionDenied) GetReason() string
func (*PermissionDenied) GetSession ¶
func (x *PermissionDenied) GetSession() uint32
func (*PermissionDenied) GetType ¶
func (x *PermissionDenied) GetType() PermissionDenied_DenyType
func (*PermissionDenied) ProtoMessage ¶
func (*PermissionDenied) ProtoMessage()
func (*PermissionDenied) ProtoReflect ¶
func (x *PermissionDenied) ProtoReflect() protoreflect.Message
func (*PermissionDenied) Reset ¶
func (x *PermissionDenied) Reset()
func (*PermissionDenied) String ¶
func (x *PermissionDenied) String() string
type PermissionDenied_DenyType ¶
type PermissionDenied_DenyType int32
const ( // Operation denied for other reason, see reason field. PermissionDenied_Text PermissionDenied_DenyType = 0 // Permissions were denied. PermissionDenied_Permission PermissionDenied_DenyType = 1 // Cannot modify SuperUser. PermissionDenied_SuperUser PermissionDenied_DenyType = 2 // Invalid channel name. PermissionDenied_ChannelName PermissionDenied_DenyType = 3 // Text message too long. PermissionDenied_TextTooLong PermissionDenied_DenyType = 4 // The flux capacitor was spelled wrong. PermissionDenied_H9K PermissionDenied_DenyType = 5 // Operation not permitted in temporary channel. PermissionDenied_TemporaryChannel PermissionDenied_DenyType = 6 // Operation requires certificate. PermissionDenied_MissingCertificate PermissionDenied_DenyType = 7 // Invalid username. PermissionDenied_UserName PermissionDenied_DenyType = 8 // Channel is full. PermissionDenied_ChannelFull PermissionDenied_DenyType = 9 // Channels are nested too deeply. PermissionDenied_NestingLimit PermissionDenied_DenyType = 10 // Maximum channel count reached. PermissionDenied_ChannelCountLimit PermissionDenied_DenyType = 11 // Amount of listener objects for this channel has been reached PermissionDenied_ChannelListenerLimit PermissionDenied_DenyType = 12 // Amount of listener proxies for the user has been reached PermissionDenied_UserListenerLimit PermissionDenied_DenyType = 13 )
func (PermissionDenied_DenyType) Descriptor ¶
func (PermissionDenied_DenyType) Descriptor() protoreflect.EnumDescriptor
func (PermissionDenied_DenyType) Enum ¶
func (x PermissionDenied_DenyType) Enum() *PermissionDenied_DenyType
func (PermissionDenied_DenyType) EnumDescriptor
deprecated
func (PermissionDenied_DenyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PermissionDenied_DenyType.Descriptor instead.
func (PermissionDenied_DenyType) Number ¶
func (x PermissionDenied_DenyType) Number() protoreflect.EnumNumber
func (PermissionDenied_DenyType) String ¶
func (x PermissionDenied_DenyType) String() string
func (PermissionDenied_DenyType) Type ¶
func (PermissionDenied_DenyType) Type() protoreflect.EnumType
func (*PermissionDenied_DenyType) UnmarshalJSON
deprecated
func (x *PermissionDenied_DenyType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type PermissionQuery ¶
type PermissionQuery struct { // channel_id of the channel for which the permissions are queried. ChannelId *uint32 `protobuf:"varint,1,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"` // Channel permissions. Permissions *uint32 `protobuf:"varint,2,opt,name=permissions" json:"permissions,omitempty"` // True if the client should drop its current permission information for all // channels. Flush *bool `protobuf:"varint,3,opt,name=flush,def=0" json:"flush,omitempty"` // contains filtered or unexported fields }
Sent by the client when it wants permissions for a certain channel. Sent by the server when it replies to the query or wants the user to resync all channel permissions.
func (*PermissionQuery) Descriptor
deprecated
func (*PermissionQuery) Descriptor() ([]byte, []int)
Deprecated: Use PermissionQuery.ProtoReflect.Descriptor instead.
func (*PermissionQuery) GetChannelId ¶
func (x *PermissionQuery) GetChannelId() uint32
func (*PermissionQuery) GetFlush ¶
func (x *PermissionQuery) GetFlush() bool
func (*PermissionQuery) GetPermissions ¶
func (x *PermissionQuery) GetPermissions() uint32
func (*PermissionQuery) ProtoMessage ¶
func (*PermissionQuery) ProtoMessage()
func (*PermissionQuery) ProtoReflect ¶
func (x *PermissionQuery) ProtoReflect() protoreflect.Message
func (*PermissionQuery) Reset ¶
func (x *PermissionQuery) Reset()
func (*PermissionQuery) String ¶
func (x *PermissionQuery) String() string
type Ping ¶
type Ping struct { // Client timestamp. Server should not attempt to decode. Timestamp *uint64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` // The amount of good packets received. Good *uint32 `protobuf:"varint,2,opt,name=good" json:"good,omitempty"` // The amount of late packets received. Late *uint32 `protobuf:"varint,3,opt,name=late" json:"late,omitempty"` // The amount of packets never received. Lost *uint32 `protobuf:"varint,4,opt,name=lost" json:"lost,omitempty"` // The amount of nonce resyncs. Resync *uint32 `protobuf:"varint,5,opt,name=resync" json:"resync,omitempty"` // The total amount of UDP packets received. UdpPackets *uint32 `protobuf:"varint,6,opt,name=udp_packets,json=udpPackets" json:"udp_packets,omitempty"` // The total amount of TCP packets received. TcpPackets *uint32 `protobuf:"varint,7,opt,name=tcp_packets,json=tcpPackets" json:"tcp_packets,omitempty"` // UDP ping average. UdpPingAvg *float32 `protobuf:"fixed32,8,opt,name=udp_ping_avg,json=udpPingAvg" json:"udp_ping_avg,omitempty"` // UDP ping variance. UdpPingVar *float32 `protobuf:"fixed32,9,opt,name=udp_ping_var,json=udpPingVar" json:"udp_ping_var,omitempty"` // TCP ping average. TcpPingAvg *float32 `protobuf:"fixed32,10,opt,name=tcp_ping_avg,json=tcpPingAvg" json:"tcp_ping_avg,omitempty"` // TCP ping variance. TcpPingVar *float32 `protobuf:"fixed32,11,opt,name=tcp_ping_var,json=tcpPingVar" json:"tcp_ping_var,omitempty"` // contains filtered or unexported fields }
Sent by the client to notify the server that the client is still alive. Server must reply to the packet with the same timestamp and its own good/late/lost/resync numbers. None of the fields is strictly required.
func (*Ping) Descriptor
deprecated
func (*Ping) GetTcpPackets ¶
func (*Ping) GetTcpPingAvg ¶
func (*Ping) GetTcpPingVar ¶
func (*Ping) GetTimestamp ¶
func (*Ping) GetUdpPackets ¶
func (*Ping) GetUdpPingAvg ¶
func (*Ping) GetUdpPingVar ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type PluginDataTransmission ¶ added in v0.4.0
type PluginDataTransmission struct { // The session ID of the client this message was sent from SenderSession *uint32 `protobuf:"varint,1,opt,name=senderSession" json:"senderSession,omitempty"` // The session IDs of the clients that should receive this message ReceiverSessions []uint32 `protobuf:"varint,2,rep,packed,name=receiverSessions" json:"receiverSessions,omitempty"` // The data that is sent Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"` // The ID of the sent data. This will be used by plugins to check whether they will // process it or not DataID *string `protobuf:"bytes,4,opt,name=dataID" json:"dataID,omitempty"` // contains filtered or unexported fields }
Used to send plugin messages between clients
func (*PluginDataTransmission) Descriptor
deprecated
added in
v0.4.0
func (*PluginDataTransmission) Descriptor() ([]byte, []int)
Deprecated: Use PluginDataTransmission.ProtoReflect.Descriptor instead.
func (*PluginDataTransmission) GetData ¶ added in v0.4.0
func (x *PluginDataTransmission) GetData() []byte
func (*PluginDataTransmission) GetDataID ¶ added in v0.4.0
func (x *PluginDataTransmission) GetDataID() string
func (*PluginDataTransmission) GetReceiverSessions ¶ added in v0.4.0
func (x *PluginDataTransmission) GetReceiverSessions() []uint32
func (*PluginDataTransmission) GetSenderSession ¶ added in v0.4.0
func (x *PluginDataTransmission) GetSenderSession() uint32
func (*PluginDataTransmission) ProtoMessage ¶ added in v0.4.0
func (*PluginDataTransmission) ProtoMessage()
func (*PluginDataTransmission) ProtoReflect ¶ added in v0.4.0
func (x *PluginDataTransmission) ProtoReflect() protoreflect.Message
func (*PluginDataTransmission) Reset ¶ added in v0.4.0
func (x *PluginDataTransmission) Reset()
func (*PluginDataTransmission) String ¶ added in v0.4.0
func (x *PluginDataTransmission) String() string
type QueryUsers ¶
type QueryUsers struct { // user_ids. Ids []uint32 `protobuf:"varint,1,rep,name=ids" json:"ids,omitempty"` // User names in the same order as ids. Names []string `protobuf:"bytes,2,rep,name=names" json:"names,omitempty"` // contains filtered or unexported fields }
Client may use this message to refresh its registered user information. The client should fill the IDs or Names of the users it wants to refresh. The server fills the missing parts and sends the message back.
func (*QueryUsers) Descriptor
deprecated
func (*QueryUsers) Descriptor() ([]byte, []int)
Deprecated: Use QueryUsers.ProtoReflect.Descriptor instead.
func (*QueryUsers) GetIds ¶
func (x *QueryUsers) GetIds() []uint32
func (*QueryUsers) GetNames ¶
func (x *QueryUsers) GetNames() []string
func (*QueryUsers) ProtoMessage ¶
func (*QueryUsers) ProtoMessage()
func (*QueryUsers) ProtoReflect ¶
func (x *QueryUsers) ProtoReflect() protoreflect.Message
func (*QueryUsers) Reset ¶
func (x *QueryUsers) Reset()
func (*QueryUsers) String ¶
func (x *QueryUsers) String() string
type Reject ¶
type Reject struct { // Rejection type. Type *Reject_RejectType `protobuf:"varint,1,opt,name=type,enum=Reject_RejectType" json:"type,omitempty"` // Human readable rejection reason. Reason *string `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"` // contains filtered or unexported fields }
Sent by the server when it rejects the user connection.
func (*Reject) Descriptor
deprecated
func (*Reject) GetType ¶
func (x *Reject) GetType() Reject_RejectType
func (*Reject) ProtoMessage ¶
func (*Reject) ProtoMessage()
func (*Reject) ProtoReflect ¶
func (x *Reject) ProtoReflect() protoreflect.Message
type Reject_RejectType ¶
type Reject_RejectType int32
const ( // The rejection reason is unknown (details should be available // in Reject.reason). Reject_None Reject_RejectType = 0 // The client attempted to connect with an incompatible version. Reject_WrongVersion Reject_RejectType = 1 // The user name supplied by the client was invalid. Reject_InvalidUsername Reject_RejectType = 2 // The client attempted to authenticate as a user with a password but it // was wrong. Reject_WrongUserPW Reject_RejectType = 3 // The client attempted to connect to a passworded server but the password // was wrong. Reject_WrongServerPW Reject_RejectType = 4 // Supplied username is already in use. Reject_UsernameInUse Reject_RejectType = 5 // Server is currently full and cannot accept more users. Reject_ServerFull Reject_RejectType = 6 // The user did not provide a certificate but one is required. Reject_NoCertificate Reject_RejectType = 7 Reject_AuthenticatorFail Reject_RejectType = 8 )
func (Reject_RejectType) Descriptor ¶
func (Reject_RejectType) Descriptor() protoreflect.EnumDescriptor
func (Reject_RejectType) Enum ¶
func (x Reject_RejectType) Enum() *Reject_RejectType
func (Reject_RejectType) EnumDescriptor
deprecated
func (Reject_RejectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Reject_RejectType.Descriptor instead.
func (Reject_RejectType) Number ¶
func (x Reject_RejectType) Number() protoreflect.EnumNumber
func (Reject_RejectType) String ¶
func (x Reject_RejectType) String() string
func (Reject_RejectType) Type ¶
func (Reject_RejectType) Type() protoreflect.EnumType
func (*Reject_RejectType) UnmarshalJSON
deprecated
func (x *Reject_RejectType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type RequestBlob ¶
type RequestBlob struct { // sessions of the requested UserState textures. SessionTexture []uint32 `protobuf:"varint,1,rep,name=session_texture,json=sessionTexture" json:"session_texture,omitempty"` // sessions of the requested UserState comments. SessionComment []uint32 `protobuf:"varint,2,rep,name=session_comment,json=sessionComment" json:"session_comment,omitempty"` // channel_ids of the requested ChannelState descriptions. ChannelDescription []uint32 `protobuf:"varint,3,rep,name=channel_description,json=channelDescription" json:"channel_description,omitempty"` // contains filtered or unexported fields }
Used by the client to request binary data from the server. By default large comments or textures are not sent within standard messages but instead the hash is. If the client does not recognize the hash it may request the resource when it needs it. The client does so by sending a RequestBlob message with the correct fields filled with the user sessions or channel_ids it wants to receive. The server replies to this by sending a new UserState/ChannelState message with the resources filled even if they would normally be transmitted as hashes.
func (*RequestBlob) Descriptor
deprecated
func (*RequestBlob) Descriptor() ([]byte, []int)
Deprecated: Use RequestBlob.ProtoReflect.Descriptor instead.
func (*RequestBlob) GetChannelDescription ¶
func (x *RequestBlob) GetChannelDescription() []uint32
func (*RequestBlob) GetSessionComment ¶
func (x *RequestBlob) GetSessionComment() []uint32
func (*RequestBlob) GetSessionTexture ¶
func (x *RequestBlob) GetSessionTexture() []uint32
func (*RequestBlob) ProtoMessage ¶
func (*RequestBlob) ProtoMessage()
func (*RequestBlob) ProtoReflect ¶
func (x *RequestBlob) ProtoReflect() protoreflect.Message
func (*RequestBlob) Reset ¶
func (x *RequestBlob) Reset()
func (*RequestBlob) String ¶
func (x *RequestBlob) String() string
type ServerConfig ¶
type ServerConfig struct { // The maximum bandwidth the clients should use. MaxBandwidth *uint32 `protobuf:"varint,1,opt,name=max_bandwidth,json=maxBandwidth" json:"max_bandwidth,omitempty"` // Server welcome text. WelcomeText *string `protobuf:"bytes,2,opt,name=welcome_text,json=welcomeText" json:"welcome_text,omitempty"` // True if the server allows HTML. AllowHtml *bool `protobuf:"varint,3,opt,name=allow_html,json=allowHtml" json:"allow_html,omitempty"` // Maximum text message length. MessageLength *uint32 `protobuf:"varint,4,opt,name=message_length,json=messageLength" json:"message_length,omitempty"` // Maximum image message length. ImageMessageLength *uint32 `protobuf:"varint,5,opt,name=image_message_length,json=imageMessageLength" json:"image_message_length,omitempty"` // The maximum number of users allowed on the server. MaxUsers *uint32 `protobuf:"varint,6,opt,name=max_users,json=maxUsers" json:"max_users,omitempty"` // contains filtered or unexported fields }
Sent by the server when it informs the clients on server configuration details.
func (*ServerConfig) Descriptor
deprecated
func (*ServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
func (*ServerConfig) GetAllowHtml ¶
func (x *ServerConfig) GetAllowHtml() bool
func (*ServerConfig) GetImageMessageLength ¶
func (x *ServerConfig) GetImageMessageLength() uint32
func (*ServerConfig) GetMaxBandwidth ¶
func (x *ServerConfig) GetMaxBandwidth() uint32
func (*ServerConfig) GetMaxUsers ¶
func (x *ServerConfig) GetMaxUsers() uint32
func (*ServerConfig) GetMessageLength ¶
func (x *ServerConfig) GetMessageLength() uint32
func (*ServerConfig) GetWelcomeText ¶
func (x *ServerConfig) GetWelcomeText() string
func (*ServerConfig) ProtoMessage ¶
func (*ServerConfig) ProtoMessage()
func (*ServerConfig) ProtoReflect ¶
func (x *ServerConfig) ProtoReflect() protoreflect.Message
func (*ServerConfig) Reset ¶
func (x *ServerConfig) Reset()
func (*ServerConfig) String ¶
func (x *ServerConfig) String() string
type ServerSync ¶
type ServerSync struct { // The session of the current user. Session *uint32 `protobuf:"varint,1,opt,name=session" json:"session,omitempty"` // Maximum bandwidth that the user should use. MaxBandwidth *uint32 `protobuf:"varint,2,opt,name=max_bandwidth,json=maxBandwidth" json:"max_bandwidth,omitempty"` // Server welcome text. WelcomeText *string `protobuf:"bytes,3,opt,name=welcome_text,json=welcomeText" json:"welcome_text,omitempty"` // Current user permissions in the root channel. // Note: The permissions data type usually is uin32 (e.g. in PermissionQuery and PermissionDenied messages). Here // it is uint64 because of an oversight in the past. Nonetheless it should never exceed the uin32 range. // See also: https://github.com/mumble-voip/mumble/issues/5139 Permissions *uint64 `protobuf:"varint,4,opt,name=permissions" json:"permissions,omitempty"` // contains filtered or unexported fields }
ServerSync message is sent by the server when it has authenticated the user and finished synchronizing the server state.
func (*ServerSync) Descriptor
deprecated
func (*ServerSync) Descriptor() ([]byte, []int)
Deprecated: Use ServerSync.ProtoReflect.Descriptor instead.
func (*ServerSync) GetMaxBandwidth ¶
func (x *ServerSync) GetMaxBandwidth() uint32
func (*ServerSync) GetPermissions ¶
func (x *ServerSync) GetPermissions() uint64
func (*ServerSync) GetSession ¶
func (x *ServerSync) GetSession() uint32
func (*ServerSync) GetWelcomeText ¶
func (x *ServerSync) GetWelcomeText() string
func (*ServerSync) ProtoMessage ¶
func (*ServerSync) ProtoMessage()
func (*ServerSync) ProtoReflect ¶
func (x *ServerSync) ProtoReflect() protoreflect.Message
func (*ServerSync) Reset ¶
func (x *ServerSync) Reset()
func (*ServerSync) String ¶
func (x *ServerSync) String() string
type SuggestConfig ¶
type SuggestConfig struct { // Suggested client version. Version *uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` // True if the administrator suggests positional audio to be used on this // server. Positional *bool `protobuf:"varint,2,opt,name=positional" json:"positional,omitempty"` // True if the administrator suggests push to talk to be used on this server. PushToTalk *bool `protobuf:"varint,3,opt,name=push_to_talk,json=pushToTalk" json:"push_to_talk,omitempty"` // contains filtered or unexported fields }
Sent by the server to inform the clients of suggested client configuration specified by the server administrator.
func (*SuggestConfig) Descriptor
deprecated
func (*SuggestConfig) Descriptor() ([]byte, []int)
Deprecated: Use SuggestConfig.ProtoReflect.Descriptor instead.
func (*SuggestConfig) GetPositional ¶
func (x *SuggestConfig) GetPositional() bool
func (*SuggestConfig) GetPushToTalk ¶
func (x *SuggestConfig) GetPushToTalk() bool
func (*SuggestConfig) GetVersion ¶
func (x *SuggestConfig) GetVersion() uint32
func (*SuggestConfig) ProtoMessage ¶
func (*SuggestConfig) ProtoMessage()
func (*SuggestConfig) ProtoReflect ¶
func (x *SuggestConfig) ProtoReflect() protoreflect.Message
func (*SuggestConfig) Reset ¶
func (x *SuggestConfig) Reset()
func (*SuggestConfig) String ¶
func (x *SuggestConfig) String() string
type TextMessage ¶
type TextMessage struct { // The message sender, identified by its session. Actor *uint32 `protobuf:"varint,1,opt,name=actor" json:"actor,omitempty"` // Target users for the message, identified by their session. Session []uint32 `protobuf:"varint,2,rep,name=session" json:"session,omitempty"` // The channels to which the message is sent, identified by their // channel_ids. ChannelId []uint32 `protobuf:"varint,3,rep,name=channel_id,json=channelId" json:"channel_id,omitempty"` // The root channels when sending message recursively to several channels, // identified by their channel_ids. TreeId []uint32 `protobuf:"varint,4,rep,name=tree_id,json=treeId" json:"tree_id,omitempty"` // The UTF-8 encoded message. May be HTML if the server allows. Message *string `protobuf:"bytes,5,req,name=message" json:"message,omitempty"` // contains filtered or unexported fields }
Used to send and broadcast text messages.
func (*TextMessage) Descriptor
deprecated
func (*TextMessage) Descriptor() ([]byte, []int)
Deprecated: Use TextMessage.ProtoReflect.Descriptor instead.
func (*TextMessage) GetActor ¶
func (x *TextMessage) GetActor() uint32
func (*TextMessage) GetChannelId ¶
func (x *TextMessage) GetChannelId() []uint32
func (*TextMessage) GetMessage ¶
func (x *TextMessage) GetMessage() string
func (*TextMessage) GetSession ¶
func (x *TextMessage) GetSession() []uint32
func (*TextMessage) GetTreeId ¶
func (x *TextMessage) GetTreeId() []uint32
func (*TextMessage) ProtoMessage ¶
func (*TextMessage) ProtoMessage()
func (*TextMessage) ProtoReflect ¶
func (x *TextMessage) ProtoReflect() protoreflect.Message
func (*TextMessage) Reset ¶
func (x *TextMessage) Reset()
func (*TextMessage) String ¶
func (x *TextMessage) String() string
type UDPTunnel ¶
type UDPTunnel struct { // Not used. Packet []byte `protobuf:"bytes,1,req,name=packet" json:"packet,omitempty"` // contains filtered or unexported fields }
Not used. Not even for tunneling UDP through TCP.
func (*UDPTunnel) Descriptor
deprecated
func (*UDPTunnel) ProtoMessage ¶
func (*UDPTunnel) ProtoMessage()
func (*UDPTunnel) ProtoReflect ¶
func (x *UDPTunnel) ProtoReflect() protoreflect.Message
type UserList ¶
type UserList struct { // A list of registered users. Users []*UserList_User `protobuf:"bytes,1,rep,name=users" json:"users,omitempty"` // contains filtered or unexported fields }
Lists the registered users.
func (*UserList) Descriptor
deprecated
func (*UserList) GetUsers ¶
func (x *UserList) GetUsers() []*UserList_User
func (*UserList) ProtoMessage ¶
func (*UserList) ProtoMessage()
func (*UserList) ProtoReflect ¶
func (x *UserList) ProtoReflect() protoreflect.Message
type UserList_User ¶
type UserList_User struct { // Registered user ID. UserId *uint32 `protobuf:"varint,1,req,name=user_id,json=userId" json:"user_id,omitempty"` // Registered user name. Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` LastSeen *string `protobuf:"bytes,3,opt,name=last_seen,json=lastSeen" json:"last_seen,omitempty"` LastChannel *uint32 `protobuf:"varint,4,opt,name=last_channel,json=lastChannel" json:"last_channel,omitempty"` // contains filtered or unexported fields }
func (*UserList_User) Descriptor
deprecated
func (*UserList_User) Descriptor() ([]byte, []int)
Deprecated: Use UserList_User.ProtoReflect.Descriptor instead.
func (*UserList_User) GetLastChannel ¶
func (x *UserList_User) GetLastChannel() uint32
func (*UserList_User) GetLastSeen ¶
func (x *UserList_User) GetLastSeen() string
func (*UserList_User) GetName ¶
func (x *UserList_User) GetName() string
func (*UserList_User) GetUserId ¶
func (x *UserList_User) GetUserId() uint32
func (*UserList_User) ProtoMessage ¶
func (*UserList_User) ProtoMessage()
func (*UserList_User) ProtoReflect ¶
func (x *UserList_User) ProtoReflect() protoreflect.Message
func (*UserList_User) Reset ¶
func (x *UserList_User) Reset()
func (*UserList_User) String ¶
func (x *UserList_User) String() string
type UserRemove ¶
type UserRemove struct { // The user who is being kicked, identified by their session, not present // when no one is being kicked. Session *uint32 `protobuf:"varint,1,req,name=session" json:"session,omitempty"` // The user who initiated the removal. Either the user who performs the kick // or the user who is currently leaving. Actor *uint32 `protobuf:"varint,2,opt,name=actor" json:"actor,omitempty"` // Reason for the kick, stored as the ban reason if the user is banned. Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"` // True if the kick should result in a ban. Ban *bool `protobuf:"varint,4,opt,name=ban" json:"ban,omitempty"` // contains filtered or unexported fields }
Used to communicate user leaving or being kicked. May be sent by the client when it attempts to kick a user. Sent by the server when it informs the clients that a user is not present anymore.
func (*UserRemove) Descriptor
deprecated
func (*UserRemove) Descriptor() ([]byte, []int)
Deprecated: Use UserRemove.ProtoReflect.Descriptor instead.
func (*UserRemove) GetActor ¶
func (x *UserRemove) GetActor() uint32
func (*UserRemove) GetBan ¶
func (x *UserRemove) GetBan() bool
func (*UserRemove) GetReason ¶
func (x *UserRemove) GetReason() string
func (*UserRemove) GetSession ¶
func (x *UserRemove) GetSession() uint32
func (*UserRemove) ProtoMessage ¶
func (*UserRemove) ProtoMessage()
func (*UserRemove) ProtoReflect ¶
func (x *UserRemove) ProtoReflect() protoreflect.Message
func (*UserRemove) Reset ¶
func (x *UserRemove) Reset()
func (*UserRemove) String ¶
func (x *UserRemove) String() string
type UserState ¶
type UserState struct { // Unique user session ID of the user whose state this is, may change on // reconnect. Session *uint32 `protobuf:"varint,1,opt,name=session" json:"session,omitempty"` // The session of the user who is updating this user. Actor *uint32 `protobuf:"varint,2,opt,name=actor" json:"actor,omitempty"` // User name, UTF-8 encoded. Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // Registered user ID if the user is registered. UserId *uint32 `protobuf:"varint,4,opt,name=user_id,json=userId" json:"user_id,omitempty"` // Channel on which the user is. ChannelId *uint32 `protobuf:"varint,5,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"` // True if the user is muted by admin. Mute *bool `protobuf:"varint,6,opt,name=mute" json:"mute,omitempty"` // True if the user is deafened by admin. Deaf *bool `protobuf:"varint,7,opt,name=deaf" json:"deaf,omitempty"` // True if the user has been suppressed from talking by a reason other than // being muted. Suppress *bool `protobuf:"varint,8,opt,name=suppress" json:"suppress,omitempty"` // True if the user has muted self. SelfMute *bool `protobuf:"varint,9,opt,name=self_mute,json=selfMute" json:"self_mute,omitempty"` // True if the user has deafened self. SelfDeaf *bool `protobuf:"varint,10,opt,name=self_deaf,json=selfDeaf" json:"self_deaf,omitempty"` // User image if it is less than 128 bytes. Texture []byte `protobuf:"bytes,11,opt,name=texture" json:"texture,omitempty"` // The positional audio plugin identifier. // Positional audio information is only sent to users who share // identical plugin contexts. // // This value is not transmitted to clients. PluginContext []byte `protobuf:"bytes,12,opt,name=plugin_context,json=pluginContext" json:"plugin_context,omitempty"` // The user's plugin-specific identity. // This value is not transmitted to clients. PluginIdentity *string `protobuf:"bytes,13,opt,name=plugin_identity,json=pluginIdentity" json:"plugin_identity,omitempty"` // User comment if it is less than 128 bytes. Comment *string `protobuf:"bytes,14,opt,name=comment" json:"comment,omitempty"` // The hash of the user certificate. Hash *string `protobuf:"bytes,15,opt,name=hash" json:"hash,omitempty"` // SHA1 hash of the user comment if it 128 bytes or more. CommentHash []byte `protobuf:"bytes,16,opt,name=comment_hash,json=commentHash" json:"comment_hash,omitempty"` // SHA1 hash of the user picture if it 128 bytes or more. TextureHash []byte `protobuf:"bytes,17,opt,name=texture_hash,json=textureHash" json:"texture_hash,omitempty"` // True if the user is a priority speaker. PrioritySpeaker *bool `protobuf:"varint,18,opt,name=priority_speaker,json=prioritySpeaker" json:"priority_speaker,omitempty"` // True if the user is currently recording. Recording *bool `protobuf:"varint,19,opt,name=recording" json:"recording,omitempty"` // A list of temporary access tokens to be respected when processing this request. TemporaryAccessTokens []string `protobuf:"bytes,20,rep,name=temporary_access_tokens,json=temporaryAccessTokens" json:"temporary_access_tokens,omitempty"` // A list of channels the user wants to start listening to. ListeningChannelAdd []uint32 `protobuf:"varint,21,rep,name=listening_channel_add,json=listeningChannelAdd" json:"listening_channel_add,omitempty"` // a list of channels the user does no longer want to listen to. ListeningChannelRemove []uint32 `protobuf:"varint,22,rep,name=listening_channel_remove,json=listeningChannelRemove" json:"listening_channel_remove,omitempty"` // contains filtered or unexported fields }
Sent by the server when it communicates new and changed users to client. First seen during login procedure. May be sent by the client when it wishes to alter its state.
func (*UserState) Descriptor
deprecated
func (*UserState) GetChannelId ¶
func (*UserState) GetComment ¶
func (*UserState) GetCommentHash ¶
func (*UserState) GetListeningChannelAdd ¶
func (*UserState) GetListeningChannelRemove ¶
func (*UserState) GetPluginContext ¶
func (*UserState) GetPluginIdentity ¶
func (*UserState) GetPrioritySpeaker ¶
func (*UserState) GetRecording ¶
func (*UserState) GetSelfDeaf ¶
func (*UserState) GetSelfMute ¶
func (*UserState) GetSession ¶
func (*UserState) GetSuppress ¶
func (*UserState) GetTemporaryAccessTokens ¶
func (*UserState) GetTexture ¶
func (*UserState) GetTextureHash ¶
func (*UserState) ProtoMessage ¶
func (*UserState) ProtoMessage()
func (*UserState) ProtoReflect ¶
func (x *UserState) ProtoReflect() protoreflect.Message
type UserStats ¶
type UserStats struct { // User whose stats these are. Session *uint32 `protobuf:"varint,1,opt,name=session" json:"session,omitempty"` // True if the message contains only mutable stats (packets, ping). StatsOnly *bool `protobuf:"varint,2,opt,name=stats_only,json=statsOnly,def=0" json:"stats_only,omitempty"` // Full user certificate chain of the user certificate in DER format. Certificates [][]byte `protobuf:"bytes,3,rep,name=certificates" json:"certificates,omitempty"` // Packet statistics for packets received from the client. FromClient *UserStats_Stats `protobuf:"bytes,4,opt,name=from_client,json=fromClient" json:"from_client,omitempty"` // Packet statistics for packets sent by the server. FromServer *UserStats_Stats `protobuf:"bytes,5,opt,name=from_server,json=fromServer" json:"from_server,omitempty"` // Amount of UDP packets sent. UdpPackets *uint32 `protobuf:"varint,6,opt,name=udp_packets,json=udpPackets" json:"udp_packets,omitempty"` // Amount of TCP packets sent. TcpPackets *uint32 `protobuf:"varint,7,opt,name=tcp_packets,json=tcpPackets" json:"tcp_packets,omitempty"` // UDP ping average. UdpPingAvg *float32 `protobuf:"fixed32,8,opt,name=udp_ping_avg,json=udpPingAvg" json:"udp_ping_avg,omitempty"` // UDP ping variance. UdpPingVar *float32 `protobuf:"fixed32,9,opt,name=udp_ping_var,json=udpPingVar" json:"udp_ping_var,omitempty"` // TCP ping average. TcpPingAvg *float32 `protobuf:"fixed32,10,opt,name=tcp_ping_avg,json=tcpPingAvg" json:"tcp_ping_avg,omitempty"` // TCP ping variance. TcpPingVar *float32 `protobuf:"fixed32,11,opt,name=tcp_ping_var,json=tcpPingVar" json:"tcp_ping_var,omitempty"` // Client version. Version *Version `protobuf:"bytes,12,opt,name=version" json:"version,omitempty"` // A list of CELT bitstream version constants supported by the client of this // user. CeltVersions []int32 `protobuf:"varint,13,rep,name=celt_versions,json=celtVersions" json:"celt_versions,omitempty"` // Client IP address. Address []byte `protobuf:"bytes,14,opt,name=address" json:"address,omitempty"` // Bandwidth used by this client. Bandwidth *uint32 `protobuf:"varint,15,opt,name=bandwidth" json:"bandwidth,omitempty"` // Connection duration. Onlinesecs *uint32 `protobuf:"varint,16,opt,name=onlinesecs" json:"onlinesecs,omitempty"` // Duration since last activity. Idlesecs *uint32 `protobuf:"varint,17,opt,name=idlesecs" json:"idlesecs,omitempty"` // True if the user has a strong certificate. StrongCertificate *bool `protobuf:"varint,18,opt,name=strong_certificate,json=strongCertificate,def=0" json:"strong_certificate,omitempty"` Opus *bool `protobuf:"varint,19,opt,name=opus,def=0" json:"opus,omitempty"` // contains filtered or unexported fields }
Used to communicate user stats between the server and clients.
func (*UserStats) Descriptor
deprecated
func (*UserStats) GetAddress ¶
func (*UserStats) GetBandwidth ¶
func (*UserStats) GetCeltVersions ¶
func (*UserStats) GetCertificates ¶
func (*UserStats) GetFromClient ¶
func (x *UserStats) GetFromClient() *UserStats_Stats
func (*UserStats) GetFromServer ¶
func (x *UserStats) GetFromServer() *UserStats_Stats
func (*UserStats) GetIdlesecs ¶
func (*UserStats) GetOnlinesecs ¶
func (*UserStats) GetSession ¶
func (*UserStats) GetStatsOnly ¶
func (*UserStats) GetStrongCertificate ¶
func (*UserStats) GetTcpPackets ¶
func (*UserStats) GetTcpPingAvg ¶
func (*UserStats) GetTcpPingVar ¶
func (*UserStats) GetUdpPackets ¶
func (*UserStats) GetUdpPingAvg ¶
func (*UserStats) GetUdpPingVar ¶
func (*UserStats) GetVersion ¶
func (*UserStats) ProtoMessage ¶
func (*UserStats) ProtoMessage()
func (*UserStats) ProtoReflect ¶
func (x *UserStats) ProtoReflect() protoreflect.Message
type UserStats_Stats ¶
type UserStats_Stats struct { // The amount of good packets received. Good *uint32 `protobuf:"varint,1,opt,name=good" json:"good,omitempty"` // The amount of late packets received. Late *uint32 `protobuf:"varint,2,opt,name=late" json:"late,omitempty"` // The amount of packets never received. Lost *uint32 `protobuf:"varint,3,opt,name=lost" json:"lost,omitempty"` // The amount of nonce resyncs. Resync *uint32 `protobuf:"varint,4,opt,name=resync" json:"resync,omitempty"` // contains filtered or unexported fields }
func (*UserStats_Stats) Descriptor
deprecated
func (*UserStats_Stats) Descriptor() ([]byte, []int)
Deprecated: Use UserStats_Stats.ProtoReflect.Descriptor instead.
func (*UserStats_Stats) GetGood ¶
func (x *UserStats_Stats) GetGood() uint32
func (*UserStats_Stats) GetLate ¶
func (x *UserStats_Stats) GetLate() uint32
func (*UserStats_Stats) GetLost ¶
func (x *UserStats_Stats) GetLost() uint32
func (*UserStats_Stats) GetResync ¶
func (x *UserStats_Stats) GetResync() uint32
func (*UserStats_Stats) ProtoMessage ¶
func (*UserStats_Stats) ProtoMessage()
func (*UserStats_Stats) ProtoReflect ¶
func (x *UserStats_Stats) ProtoReflect() protoreflect.Message
func (*UserStats_Stats) Reset ¶
func (x *UserStats_Stats) Reset()
func (*UserStats_Stats) String ¶
func (x *UserStats_Stats) String() string
type Version ¶
type Version struct { CryptoModes []string `protobuf:"bytes,5,rep,name=crypto_modes,json=cryptoModes" json:"crypto_modes,omitempty"` // 2-byte Major, 1-byte Minor and 1-byte Patch version number. Version *uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` // Client release name. Release *string `protobuf:"bytes,2,opt,name=release" json:"release,omitempty"` // Client OS name. Os *string `protobuf:"bytes,3,opt,name=os" json:"os,omitempty"` // Client OS version. OsVersion *string `protobuf:"bytes,4,opt,name=os_version,json=osVersion" json:"os_version,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor
deprecated
func (*Version) GetCryptoModes ¶
func (*Version) GetOsVersion ¶
func (*Version) GetRelease ¶
func (*Version) GetVersion ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
type VoiceTarget ¶
type VoiceTarget struct { // Voice target ID. Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // The receivers that this voice target includes. Targets []*VoiceTarget_Target `protobuf:"bytes,2,rep,name=targets" json:"targets,omitempty"` // contains filtered or unexported fields }
Sent by the client when it wants to register or clear whisper targets.
Note: The first available target ID is 1 as 0 is reserved for normal talking. Maximum target ID is 30.
func (*VoiceTarget) Descriptor
deprecated
func (*VoiceTarget) Descriptor() ([]byte, []int)
Deprecated: Use VoiceTarget.ProtoReflect.Descriptor instead.
func (*VoiceTarget) GetId ¶
func (x *VoiceTarget) GetId() uint32
func (*VoiceTarget) GetTargets ¶
func (x *VoiceTarget) GetTargets() []*VoiceTarget_Target
func (*VoiceTarget) ProtoMessage ¶
func (*VoiceTarget) ProtoMessage()
func (*VoiceTarget) ProtoReflect ¶
func (x *VoiceTarget) ProtoReflect() protoreflect.Message
func (*VoiceTarget) Reset ¶
func (x *VoiceTarget) Reset()
func (*VoiceTarget) String ¶
func (x *VoiceTarget) String() string
type VoiceTarget_Target ¶
type VoiceTarget_Target struct { // Users that are included as targets. Session []uint32 `protobuf:"varint,1,rep,name=session" json:"session,omitempty"` // Channel that is included as a target. ChannelId *uint32 `protobuf:"varint,2,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"` // ACL group that is included as a target. Group *string `protobuf:"bytes,3,opt,name=group" json:"group,omitempty"` // True if the voice should follow links from the specified channel. Links *bool `protobuf:"varint,4,opt,name=links,def=0" json:"links,omitempty"` // True if the voice should also be sent to children of the specific // channel. Children *bool `protobuf:"varint,5,opt,name=children,def=0" json:"children,omitempty"` // contains filtered or unexported fields }
func (*VoiceTarget_Target) Descriptor
deprecated
func (*VoiceTarget_Target) Descriptor() ([]byte, []int)
Deprecated: Use VoiceTarget_Target.ProtoReflect.Descriptor instead.
func (*VoiceTarget_Target) GetChannelId ¶
func (x *VoiceTarget_Target) GetChannelId() uint32
func (*VoiceTarget_Target) GetChildren ¶
func (x *VoiceTarget_Target) GetChildren() bool
func (*VoiceTarget_Target) GetGroup ¶
func (x *VoiceTarget_Target) GetGroup() string
func (*VoiceTarget_Target) GetLinks ¶
func (x *VoiceTarget_Target) GetLinks() bool
func (*VoiceTarget_Target) GetSession ¶
func (x *VoiceTarget_Target) GetSession() []uint32
func (*VoiceTarget_Target) ProtoMessage ¶
func (*VoiceTarget_Target) ProtoMessage()
func (*VoiceTarget_Target) ProtoReflect ¶
func (x *VoiceTarget_Target) ProtoReflect() protoreflect.Message
func (*VoiceTarget_Target) Reset ¶
func (x *VoiceTarget_Target) Reset()
func (*VoiceTarget_Target) String ¶
func (x *VoiceTarget_Target) String() string