Documentation ¶
Overview ¶
Package MumbleProto is a generated protocol buffer package.
It is generated from these files:
Mumble.proto
It has these top-level messages:
Version UDPTunnel Authenticate Ping Reject ServerSync ChannelRemove ChannelState UserRemove UserState BanList TextMessage PermissionDenied ACL QueryUsers CryptSetup ContextActionModify ContextAction UserList VoiceTarget PermissionQuery CodecVersion UserStats RequestBlob ServerConfig SuggestConfig
Index ¶
- Constants
- Variables
- type ACL
- type ACL_ChanACL
- func (m *ACL_ChanACL) GetApplyHere() bool
- func (m *ACL_ChanACL) GetApplySubs() bool
- func (m *ACL_ChanACL) GetDeny() uint32
- func (m *ACL_ChanACL) GetGrant() uint32
- func (m *ACL_ChanACL) GetGroup() string
- func (m *ACL_ChanACL) GetInherited() bool
- func (m *ACL_ChanACL) GetUserId() uint32
- func (*ACL_ChanACL) ProtoMessage()
- func (m *ACL_ChanACL) Reset()
- func (m *ACL_ChanACL) String() string
- type ACL_ChanGroup
- func (m *ACL_ChanGroup) GetAdd() []uint32
- func (m *ACL_ChanGroup) GetInherit() bool
- func (m *ACL_ChanGroup) GetInheritable() bool
- func (m *ACL_ChanGroup) GetInherited() bool
- func (m *ACL_ChanGroup) GetInheritedMembers() []uint32
- func (m *ACL_ChanGroup) GetName() string
- func (m *ACL_ChanGroup) GetRemove() []uint32
- func (*ACL_ChanGroup) ProtoMessage()
- func (m *ACL_ChanGroup) Reset()
- func (m *ACL_ChanGroup) String() string
- type Authenticate
- func (m *Authenticate) GetCeltVersions() []int32
- func (m *Authenticate) GetOpus() bool
- func (m *Authenticate) GetPassword() string
- func (m *Authenticate) GetTokens() []string
- func (m *Authenticate) GetUsername() string
- func (*Authenticate) ProtoMessage()
- func (m *Authenticate) Reset()
- func (m *Authenticate) String() string
- type BanList
- type BanList_BanEntry
- func (m *BanList_BanEntry) GetAddress() []byte
- func (m *BanList_BanEntry) GetDuration() uint32
- func (m *BanList_BanEntry) GetHash() string
- func (m *BanList_BanEntry) GetMask() uint32
- func (m *BanList_BanEntry) GetName() string
- func (m *BanList_BanEntry) GetReason() string
- func (m *BanList_BanEntry) GetStart() string
- func (*BanList_BanEntry) ProtoMessage()
- func (m *BanList_BanEntry) Reset()
- func (m *BanList_BanEntry) String() string
- type ChannelRemove
- type ChannelState
- func (m *ChannelState) GetChannelId() uint32
- func (m *ChannelState) GetDescription() string
- func (m *ChannelState) GetDescriptionHash() []byte
- func (m *ChannelState) GetLinks() []uint32
- func (m *ChannelState) GetLinksAdd() []uint32
- func (m *ChannelState) GetLinksRemove() []uint32
- func (m *ChannelState) GetName() string
- func (m *ChannelState) GetParent() uint32
- func (m *ChannelState) GetPosition() int32
- func (m *ChannelState) GetTemporary() bool
- func (*ChannelState) ProtoMessage()
- func (m *ChannelState) Reset()
- func (m *ChannelState) String() string
- type CodecVersion
- type ContextAction
- type ContextActionModify
- func (m *ContextActionModify) GetAction() string
- func (m *ContextActionModify) GetContext() uint32
- func (m *ContextActionModify) GetOperation() ContextActionModify_Operation
- func (m *ContextActionModify) GetText() string
- func (*ContextActionModify) ProtoMessage()
- func (m *ContextActionModify) Reset()
- func (m *ContextActionModify) String() string
- type ContextActionModify_Context
- type ContextActionModify_Operation
- type CryptSetup
- type PermissionDenied
- func (m *PermissionDenied) GetChannelId() uint32
- func (m *PermissionDenied) GetName() string
- func (m *PermissionDenied) GetPermission() uint32
- func (m *PermissionDenied) GetReason() string
- func (m *PermissionDenied) GetSession() uint32
- func (m *PermissionDenied) GetType() PermissionDenied_DenyType
- func (*PermissionDenied) ProtoMessage()
- func (m *PermissionDenied) Reset()
- func (m *PermissionDenied) String() string
- type PermissionDenied_DenyType
- type PermissionQuery
- type Ping
- func (m *Ping) GetGood() uint32
- func (m *Ping) GetLate() uint32
- func (m *Ping) GetLost() uint32
- func (m *Ping) GetResync() uint32
- func (m *Ping) GetTcpPackets() uint32
- func (m *Ping) GetTcpPingAvg() float32
- func (m *Ping) GetTcpPingVar() float32
- func (m *Ping) GetTimestamp() uint64
- func (m *Ping) GetUdpPackets() uint32
- func (m *Ping) GetUdpPingAvg() float32
- func (m *Ping) GetUdpPingVar() float32
- func (*Ping) ProtoMessage()
- func (m *Ping) Reset()
- func (m *Ping) String() string
- type QueryUsers
- type Reject
- type Reject_RejectType
- type RequestBlob
- type ServerConfig
- func (m *ServerConfig) GetAllowHtml() bool
- func (m *ServerConfig) GetImageMessageLength() uint32
- func (m *ServerConfig) GetMaxBandwidth() uint32
- func (m *ServerConfig) GetMessageLength() uint32
- func (m *ServerConfig) GetWelcomeText() string
- func (*ServerConfig) ProtoMessage()
- func (m *ServerConfig) Reset()
- func (m *ServerConfig) String() string
- type ServerSync
- type SuggestConfig
- type TextMessage
- func (m *TextMessage) GetActor() uint32
- func (m *TextMessage) GetChannelId() []uint32
- func (m *TextMessage) GetMessage() string
- func (m *TextMessage) GetSession() []uint32
- func (m *TextMessage) GetTreeId() []uint32
- func (*TextMessage) ProtoMessage()
- func (m *TextMessage) Reset()
- func (m *TextMessage) String() string
- type UDPTunnel
- type UserList
- type UserList_User
- type UserRemove
- type UserState
- func (m *UserState) GetActor() uint32
- func (m *UserState) GetChannelId() uint32
- func (m *UserState) GetComment() string
- func (m *UserState) GetCommentHash() []byte
- func (m *UserState) GetDeaf() bool
- func (m *UserState) GetHash() string
- func (m *UserState) GetMute() bool
- func (m *UserState) GetName() string
- func (m *UserState) GetPluginContext() []byte
- func (m *UserState) GetPluginIdentity() string
- func (m *UserState) GetPrioritySpeaker() bool
- func (m *UserState) GetRecording() bool
- func (m *UserState) GetSelfDeaf() bool
- func (m *UserState) GetSelfMute() bool
- func (m *UserState) GetSession() uint32
- func (m *UserState) GetSuppress() bool
- func (m *UserState) GetTexture() []byte
- func (m *UserState) GetTextureHash() []byte
- func (m *UserState) GetUserId() uint32
- func (*UserState) ProtoMessage()
- func (m *UserState) Reset()
- func (m *UserState) String() string
- type UserStats
- func (m *UserStats) GetAddress() []byte
- func (m *UserStats) GetBandwidth() uint32
- func (m *UserStats) GetCeltVersions() []int32
- func (m *UserStats) GetCertificates() [][]byte
- func (m *UserStats) GetFromClient() *UserStats_Stats
- func (m *UserStats) GetFromServer() *UserStats_Stats
- func (m *UserStats) GetIdlesecs() uint32
- func (m *UserStats) GetOnlinesecs() uint32
- func (m *UserStats) GetOpus() bool
- func (m *UserStats) GetSession() uint32
- func (m *UserStats) GetStatsOnly() bool
- func (m *UserStats) GetStrongCertificate() bool
- func (m *UserStats) GetTcpPackets() uint32
- func (m *UserStats) GetTcpPingAvg() float32
- func (m *UserStats) GetTcpPingVar() float32
- func (m *UserStats) GetUdpPackets() uint32
- func (m *UserStats) GetUdpPingAvg() float32
- func (m *UserStats) GetUdpPingVar() float32
- func (m *UserStats) GetVersion() *Version
- func (*UserStats) ProtoMessage()
- func (m *UserStats) Reset()
- func (m *UserStats) String() string
- type UserStats_Stats
- type Version
- type VoiceTarget
- type VoiceTarget_Target
- func (m *VoiceTarget_Target) GetChannelId() uint32
- func (m *VoiceTarget_Target) GetChildren() bool
- func (m *VoiceTarget_Target) GetGroup() string
- func (m *VoiceTarget_Target) GetLinks() bool
- func (m *VoiceTarget_Target) GetSession() []uint32
- func (*VoiceTarget_Target) ProtoMessage()
- func (m *VoiceTarget_Target) Reset()
- func (m *VoiceTarget_Target) String() string
Constants ¶
const Default_ACL_ChanACL_ApplyHere bool = true
const Default_ACL_ChanACL_ApplySubs bool = true
const Default_ACL_ChanACL_Inherited bool = true
const Default_ACL_ChanGroup_Inherit bool = true
const Default_ACL_ChanGroup_Inheritable bool = true
const Default_ACL_ChanGroup_Inherited bool = true
const Default_ACL_InheritAcls bool = true
const Default_ACL_Query bool = false
const Default_Authenticate_Opus bool = false
const Default_BanList_Query bool = false
const Default_ChannelState_Position int32 = 0
const Default_ChannelState_Temporary bool = false
const Default_CodecVersion_Opus bool = false
const Default_CodecVersion_PreferAlpha bool = true
const Default_PermissionQuery_Flush bool = false
const Default_UserStats_Opus bool = false
const Default_UserStats_StatsOnly bool = false
const Default_UserStats_StrongCertificate bool = false
const Default_VoiceTarget_Target_Children bool = false
const Default_VoiceTarget_Target_Links bool = false
Variables ¶
var ContextActionModify_Context_name = map[int32]string{
1: "Server",
2: "Channel",
4: "User",
}
var ContextActionModify_Context_value = map[string]int32{
"Server": 1,
"Channel": 2,
"User": 4,
}
var ContextActionModify_Operation_name = map[int32]string{
0: "Add",
1: "Remove",
}
var ContextActionModify_Operation_value = map[string]int32{
"Add": 0,
"Remove": 1,
}
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",
}
var 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,
}
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",
}
var Reject_RejectType_value = map[string]int32{
"None": 0,
"WrongVersion": 1,
"InvalidUsername": 2,
"WrongUserPW": 3,
"WrongServerPW": 4,
"UsernameInUse": 5,
"ServerFull": 6,
"NoCertificate": 7,
"AuthenticatorFail": 8,
}
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct { // Channel ID of the channel this message affects. ChannelId *uint32 `protobuf:"varint,1,req,name=channel_id" json:"channel_id,omitempty"` // True if the channel inherits its parent's ACLs. InheritAcls *bool `protobuf:"varint,2,opt,name=inherit_acls,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"` XXX_unrecognized []byte `json:"-"` }
func (*ACL) GetAcls ¶
func (m *ACL) GetAcls() []*ACL_ChanACL
func (*ACL) GetChannelId ¶
func (*ACL) GetGroups ¶
func (m *ACL) GetGroups() []*ACL_ChanGroup
func (*ACL) GetInheritAcls ¶
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
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,def=1" json:"apply_here,omitempty"` // True if this ACL applies to the sub channels. ApplySubs *bool `protobuf:"varint,2,opt,name=apply_subs,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:"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"` XXX_unrecognized []byte `json:"-"` }
func (*ACL_ChanACL) GetApplyHere ¶
func (m *ACL_ChanACL) GetApplyHere() bool
func (*ACL_ChanACL) GetApplySubs ¶
func (m *ACL_ChanACL) GetApplySubs() bool
func (*ACL_ChanACL) GetDeny ¶
func (m *ACL_ChanACL) GetDeny() uint32
func (*ACL_ChanACL) GetGrant ¶
func (m *ACL_ChanACL) GetGrant() uint32
func (*ACL_ChanACL) GetGroup ¶
func (m *ACL_ChanACL) GetGroup() string
func (*ACL_ChanACL) GetInherited ¶
func (m *ACL_ChanACL) GetInherited() bool
func (*ACL_ChanACL) GetUserId ¶
func (m *ACL_ChanACL) GetUserId() uint32
func (*ACL_ChanACL) ProtoMessage ¶
func (*ACL_ChanACL) ProtoMessage()
func (*ACL_ChanACL) Reset ¶
func (m *ACL_ChanACL) Reset()
func (*ACL_ChanACL) String ¶
func (m *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:"inherited_members,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ACL_ChanGroup) GetAdd ¶
func (m *ACL_ChanGroup) GetAdd() []uint32
func (*ACL_ChanGroup) GetInherit ¶
func (m *ACL_ChanGroup) GetInherit() bool
func (*ACL_ChanGroup) GetInheritable ¶
func (m *ACL_ChanGroup) GetInheritable() bool
func (*ACL_ChanGroup) GetInherited ¶
func (m *ACL_ChanGroup) GetInherited() bool
func (*ACL_ChanGroup) GetInheritedMembers ¶
func (m *ACL_ChanGroup) GetInheritedMembers() []uint32
func (*ACL_ChanGroup) GetName ¶
func (m *ACL_ChanGroup) GetName() string
func (*ACL_ChanGroup) GetRemove ¶
func (m *ACL_ChanGroup) GetRemove() []uint32
func (*ACL_ChanGroup) ProtoMessage ¶
func (*ACL_ChanGroup) ProtoMessage()
func (*ACL_ChanGroup) Reset ¶
func (m *ACL_ChanGroup) Reset()
func (*ACL_ChanGroup) String ¶
func (m *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:"celt_versions,omitempty"` Opus *bool `protobuf:"varint,5,opt,name=opus,def=0" json:"opus,omitempty"` XXX_unrecognized []byte `json:"-"` }
Used by the client to send the authentication credentials to the server.
func (*Authenticate) GetCeltVersions ¶
func (m *Authenticate) GetCeltVersions() []int32
func (*Authenticate) GetOpus ¶
func (m *Authenticate) GetOpus() bool
func (*Authenticate) GetPassword ¶
func (m *Authenticate) GetPassword() string
func (*Authenticate) GetTokens ¶
func (m *Authenticate) GetTokens() []string
func (*Authenticate) GetUsername ¶
func (m *Authenticate) GetUsername() string
func (*Authenticate) ProtoMessage ¶
func (*Authenticate) ProtoMessage()
func (*Authenticate) Reset ¶
func (m *Authenticate) Reset()
func (*Authenticate) String ¶
func (m *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"` XXX_unrecognized []byte `json:"-"` }
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) GetBans ¶
func (m *BanList) GetBans() []*BanList_BanEntry
func (*BanList) ProtoMessage ¶
func (*BanList) ProtoMessage()
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"` // TODO ?? 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"` XXX_unrecognized []byte `json:"-"` }
func (*BanList_BanEntry) GetAddress ¶
func (m *BanList_BanEntry) GetAddress() []byte
func (*BanList_BanEntry) GetDuration ¶
func (m *BanList_BanEntry) GetDuration() uint32
func (*BanList_BanEntry) GetHash ¶
func (m *BanList_BanEntry) GetHash() string
func (*BanList_BanEntry) GetMask ¶
func (m *BanList_BanEntry) GetMask() uint32
func (*BanList_BanEntry) GetName ¶
func (m *BanList_BanEntry) GetName() string
func (*BanList_BanEntry) GetReason ¶
func (m *BanList_BanEntry) GetReason() string
func (*BanList_BanEntry) GetStart ¶
func (m *BanList_BanEntry) GetStart() string
func (*BanList_BanEntry) ProtoMessage ¶
func (*BanList_BanEntry) ProtoMessage()
func (*BanList_BanEntry) Reset ¶
func (m *BanList_BanEntry) Reset()
func (*BanList_BanEntry) String ¶
func (m *BanList_BanEntry) String() string
type ChannelRemove ¶
type ChannelRemove struct { ChannelId *uint32 `protobuf:"varint,1,req,name=channel_id" json:"channel_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) GetChannelId ¶
func (m *ChannelRemove) GetChannelId() uint32
func (*ChannelRemove) ProtoMessage ¶
func (*ChannelRemove) ProtoMessage()
func (*ChannelRemove) Reset ¶
func (m *ChannelRemove) Reset()
func (*ChannelRemove) String ¶
func (m *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:"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:"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:"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:"description_hash,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) GetChannelId ¶
func (m *ChannelState) GetChannelId() uint32
func (*ChannelState) GetDescription ¶
func (m *ChannelState) GetDescription() string
func (*ChannelState) GetDescriptionHash ¶
func (m *ChannelState) GetDescriptionHash() []byte
func (*ChannelState) GetLinks ¶
func (m *ChannelState) GetLinks() []uint32
func (*ChannelState) GetLinksAdd ¶
func (m *ChannelState) GetLinksAdd() []uint32
func (*ChannelState) GetLinksRemove ¶
func (m *ChannelState) GetLinksRemove() []uint32
func (*ChannelState) GetName ¶
func (m *ChannelState) GetName() string
func (*ChannelState) GetParent ¶
func (m *ChannelState) GetParent() uint32
func (*ChannelState) GetPosition ¶
func (m *ChannelState) GetPosition() int32
func (*ChannelState) GetTemporary ¶
func (m *ChannelState) GetTemporary() bool
func (*ChannelState) ProtoMessage ¶
func (*ChannelState) ProtoMessage()
func (*ChannelState) Reset ¶
func (m *ChannelState) Reset()
func (*ChannelState) String ¶
func (m *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,def=1" json:"prefer_alpha,omitempty"` Opus *bool `protobuf:"varint,4,opt,name=opus,def=0" json:"opus,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) GetAlpha ¶
func (m *CodecVersion) GetAlpha() int32
func (*CodecVersion) GetBeta ¶
func (m *CodecVersion) GetBeta() int32
func (*CodecVersion) GetOpus ¶
func (m *CodecVersion) GetOpus() bool
func (*CodecVersion) GetPreferAlpha ¶
func (m *CodecVersion) GetPreferAlpha() bool
func (*CodecVersion) ProtoMessage ¶
func (*CodecVersion) ProtoMessage()
func (*CodecVersion) Reset ¶
func (m *CodecVersion) Reset()
func (*CodecVersion) String ¶
func (m *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:"channel_id,omitempty"` // The action that should be executed. Action *string `protobuf:"bytes,3,req,name=action" json:"action,omitempty"` XXX_unrecognized []byte `json:"-"` }
Sent by the client when it wants to initiate a Context action.
func (*ContextAction) GetAction ¶
func (m *ContextAction) GetAction() string
func (*ContextAction) GetChannelId ¶
func (m *ContextAction) GetChannelId() uint32
func (*ContextAction) GetSession ¶
func (m *ContextAction) GetSession() uint32
func (*ContextAction) ProtoMessage ¶
func (*ContextAction) ProtoMessage()
func (*ContextAction) Reset ¶
func (m *ContextAction) Reset()
func (*ContextAction) String ¶
func (m *ContextAction) String() string
type ContextActionModify ¶
type ContextActionModify struct { // The action name. 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. Context *uint32 `protobuf:"varint,3,opt,name=context" json:"context,omitempty"` Operation *ContextActionModify_Operation `protobuf:"varint,4,opt,name=operation,enum=MumbleProto.ContextActionModify_Operation" json:"operation,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ContextActionModify) GetAction ¶
func (m *ContextActionModify) GetAction() string
func (*ContextActionModify) GetContext ¶
func (m *ContextActionModify) GetContext() uint32
func (*ContextActionModify) GetOperation ¶
func (m *ContextActionModify) GetOperation() ContextActionModify_Operation
func (*ContextActionModify) GetText ¶
func (m *ContextActionModify) GetText() string
func (*ContextActionModify) ProtoMessage ¶
func (*ContextActionModify) ProtoMessage()
func (*ContextActionModify) Reset ¶
func (m *ContextActionModify) Reset()
func (*ContextActionModify) String ¶
func (m *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) Enum ¶
func (x ContextActionModify_Context) Enum() *ContextActionModify_Context
func (ContextActionModify_Context) String ¶
func (x ContextActionModify_Context) String() string
func (*ContextActionModify_Context) UnmarshalJSON ¶
func (x *ContextActionModify_Context) UnmarshalJSON(data []byte) error
type ContextActionModify_Operation ¶
type ContextActionModify_Operation int32
const ( ContextActionModify_Add ContextActionModify_Operation = 0 ContextActionModify_Remove ContextActionModify_Operation = 1 )
func (ContextActionModify_Operation) Enum ¶
func (x ContextActionModify_Operation) Enum() *ContextActionModify_Operation
func (ContextActionModify_Operation) String ¶
func (x ContextActionModify_Operation) String() string
func (*ContextActionModify_Operation) UnmarshalJSON ¶
func (x *ContextActionModify_Operation) UnmarshalJSON(data []byte) error
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:"client_nonce,omitempty"` // Server nonce. ServerNonce []byte `protobuf:"bytes,3,opt,name=server_nonce" json:"server_nonce,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) GetClientNonce ¶
func (m *CryptSetup) GetClientNonce() []byte
func (*CryptSetup) GetKey ¶
func (m *CryptSetup) GetKey() []byte
func (*CryptSetup) GetServerNonce ¶
func (m *CryptSetup) GetServerNonce() []byte
func (*CryptSetup) ProtoMessage ¶
func (*CryptSetup) ProtoMessage()
func (*CryptSetup) Reset ¶
func (m *CryptSetup) Reset()
func (*CryptSetup) String ¶
func (m *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:"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=MumbleProto.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"` XXX_unrecognized []byte `json:"-"` }
func (*PermissionDenied) GetChannelId ¶
func (m *PermissionDenied) GetChannelId() uint32
func (*PermissionDenied) GetName ¶
func (m *PermissionDenied) GetName() string
func (*PermissionDenied) GetPermission ¶
func (m *PermissionDenied) GetPermission() uint32
func (*PermissionDenied) GetReason ¶
func (m *PermissionDenied) GetReason() string
func (*PermissionDenied) GetSession ¶
func (m *PermissionDenied) GetSession() uint32
func (*PermissionDenied) GetType ¶
func (m *PermissionDenied) GetType() PermissionDenied_DenyType
func (*PermissionDenied) ProtoMessage ¶
func (*PermissionDenied) ProtoMessage()
func (*PermissionDenied) Reset ¶
func (m *PermissionDenied) Reset()
func (*PermissionDenied) String ¶
func (m *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 PermissionDenied_NestingLimit PermissionDenied_DenyType = 10 )
func (PermissionDenied_DenyType) Enum ¶
func (x PermissionDenied_DenyType) Enum() *PermissionDenied_DenyType
func (PermissionDenied_DenyType) String ¶
func (x PermissionDenied_DenyType) String() string
func (*PermissionDenied_DenyType) UnmarshalJSON ¶
func (x *PermissionDenied_DenyType) UnmarshalJSON(data []byte) error
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:"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"` XXX_unrecognized []byte `json:"-"` }
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) GetChannelId ¶
func (m *PermissionQuery) GetChannelId() uint32
func (*PermissionQuery) GetFlush ¶
func (m *PermissionQuery) GetFlush() bool
func (*PermissionQuery) GetPermissions ¶
func (m *PermissionQuery) GetPermissions() uint32
func (*PermissionQuery) ProtoMessage ¶
func (*PermissionQuery) ProtoMessage()
func (*PermissionQuery) Reset ¶
func (m *PermissionQuery) Reset()
func (*PermissionQuery) String ¶
func (m *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:"udp_packets,omitempty"` // The total amount of TCP packets received. TcpPackets *uint32 `protobuf:"varint,7,opt,name=tcp_packets" json:"tcp_packets,omitempty"` // UDP ping average. UdpPingAvg *float32 `protobuf:"fixed32,8,opt,name=udp_ping_avg" json:"udp_ping_avg,omitempty"` // UDP ping variance. UdpPingVar *float32 `protobuf:"fixed32,9,opt,name=udp_ping_var" json:"udp_ping_var,omitempty"` // TCP ping average. TcpPingAvg *float32 `protobuf:"fixed32,10,opt,name=tcp_ping_avg" json:"tcp_ping_avg,omitempty"` // TCP ping variance. TcpPingVar *float32 `protobuf:"fixed32,11,opt,name=tcp_ping_var" json:"tcp_ping_var,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) 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()
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"` XXX_unrecognized []byte `json:"-"` }
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) GetIds ¶
func (m *QueryUsers) GetIds() []uint32
func (*QueryUsers) GetNames ¶
func (m *QueryUsers) GetNames() []string
func (*QueryUsers) ProtoMessage ¶
func (*QueryUsers) ProtoMessage()
func (*QueryUsers) Reset ¶
func (m *QueryUsers) Reset()
func (*QueryUsers) String ¶
func (m *QueryUsers) String() string
type Reject ¶
type Reject struct { // Rejection type. Type *Reject_RejectType `protobuf:"varint,1,opt,name=type,enum=MumbleProto.Reject_RejectType" json:"type,omitempty"` // Human readable rejection reason. Reason *string `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"` XXX_unrecognized []byte `json:"-"` }
Sent by the server when it rejects the user connection.
func (*Reject) GetType ¶
func (m *Reject) GetType() Reject_RejectType
func (*Reject) ProtoMessage ¶
func (*Reject) ProtoMessage()
type Reject_RejectType ¶
type Reject_RejectType int32
const ( // TODO ?? 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) Enum ¶
func (x Reject_RejectType) Enum() *Reject_RejectType
func (Reject_RejectType) String ¶
func (x Reject_RejectType) String() string
func (*Reject_RejectType) UnmarshalJSON ¶
func (x *Reject_RejectType) UnmarshalJSON(data []byte) error
type RequestBlob ¶
type RequestBlob struct { // sessions of the requested UserState textures. SessionTexture []uint32 `protobuf:"varint,1,rep,name=session_texture" json:"session_texture,omitempty"` // sessions of the requested UserState comments. SessionComment []uint32 `protobuf:"varint,2,rep,name=session_comment" json:"session_comment,omitempty"` // channel_ids of the requested ChannelState descriptions. ChannelDescription []uint32 `protobuf:"varint,3,rep,name=channel_description" json:"channel_description,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) GetChannelDescription ¶
func (m *RequestBlob) GetChannelDescription() []uint32
func (*RequestBlob) GetSessionComment ¶
func (m *RequestBlob) GetSessionComment() []uint32
func (*RequestBlob) GetSessionTexture ¶
func (m *RequestBlob) GetSessionTexture() []uint32
func (*RequestBlob) ProtoMessage ¶
func (*RequestBlob) ProtoMessage()
func (*RequestBlob) Reset ¶
func (m *RequestBlob) Reset()
func (*RequestBlob) String ¶
func (m *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:"max_bandwidth,omitempty"` // Server welcome text. WelcomeText *string `protobuf:"bytes,2,opt,name=welcome_text" json:"welcome_text,omitempty"` // True if the server allows HTML. AllowHtml *bool `protobuf:"varint,3,opt,name=allow_html" json:"allow_html,omitempty"` // Maximum text message length. MessageLength *uint32 `protobuf:"varint,4,opt,name=message_length" json:"message_length,omitempty"` // Maximum image message length. ImageMessageLength *uint32 `protobuf:"varint,5,opt,name=image_message_length" json:"image_message_length,omitempty"` XXX_unrecognized []byte `json:"-"` }
Sent by the server when it informs the clients on server configuration details.
func (*ServerConfig) GetAllowHtml ¶
func (m *ServerConfig) GetAllowHtml() bool
func (*ServerConfig) GetImageMessageLength ¶
func (m *ServerConfig) GetImageMessageLength() uint32
func (*ServerConfig) GetMaxBandwidth ¶
func (m *ServerConfig) GetMaxBandwidth() uint32
func (*ServerConfig) GetMessageLength ¶
func (m *ServerConfig) GetMessageLength() uint32
func (*ServerConfig) GetWelcomeText ¶
func (m *ServerConfig) GetWelcomeText() string
func (*ServerConfig) ProtoMessage ¶
func (*ServerConfig) ProtoMessage()
func (*ServerConfig) Reset ¶
func (m *ServerConfig) Reset()
func (*ServerConfig) String ¶
func (m *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:"max_bandwidth,omitempty"` // Server welcome text. WelcomeText *string `protobuf:"bytes,3,opt,name=welcome_text" json:"welcome_text,omitempty"` // Current user permissions TODO: Confirm?? Permissions *uint64 `protobuf:"varint,4,opt,name=permissions" json:"permissions,omitempty"` XXX_unrecognized []byte `json:"-"` }
ServerSync message is sent by the server when it has authenticated the user and finished synchronizing the server state.
func (*ServerSync) GetMaxBandwidth ¶
func (m *ServerSync) GetMaxBandwidth() uint32
func (*ServerSync) GetPermissions ¶
func (m *ServerSync) GetPermissions() uint64
func (*ServerSync) GetSession ¶
func (m *ServerSync) GetSession() uint32
func (*ServerSync) GetWelcomeText ¶
func (m *ServerSync) GetWelcomeText() string
func (*ServerSync) ProtoMessage ¶
func (*ServerSync) ProtoMessage()
func (*ServerSync) Reset ¶
func (m *ServerSync) Reset()
func (*ServerSync) String ¶
func (m *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:"push_to_talk,omitempty"` XXX_unrecognized []byte `json:"-"` }
Sent by the server to inform the clients of suggested client configuration specified by the server administrator.
func (*SuggestConfig) GetPositional ¶
func (m *SuggestConfig) GetPositional() bool
func (*SuggestConfig) GetPushToTalk ¶
func (m *SuggestConfig) GetPushToTalk() bool
func (*SuggestConfig) GetVersion ¶
func (m *SuggestConfig) GetVersion() uint32
func (*SuggestConfig) ProtoMessage ¶
func (*SuggestConfig) ProtoMessage()
func (*SuggestConfig) Reset ¶
func (m *SuggestConfig) Reset()
func (*SuggestConfig) String ¶
func (m *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:"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:"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"` XXX_unrecognized []byte `json:"-"` }
Used to send and broadcast text messages.
func (*TextMessage) GetActor ¶
func (m *TextMessage) GetActor() uint32
func (*TextMessage) GetChannelId ¶
func (m *TextMessage) GetChannelId() []uint32
func (*TextMessage) GetMessage ¶
func (m *TextMessage) GetMessage() string
func (*TextMessage) GetSession ¶
func (m *TextMessage) GetSession() []uint32
func (*TextMessage) GetTreeId ¶
func (m *TextMessage) GetTreeId() []uint32
func (*TextMessage) ProtoMessage ¶
func (*TextMessage) ProtoMessage()
func (*TextMessage) Reset ¶
func (m *TextMessage) Reset()
func (*TextMessage) String ¶
func (m *TextMessage) String() string
type UDPTunnel ¶
type UDPTunnel struct { // Not used. Packet []byte `protobuf:"bytes,1,req,name=packet" json:"packet,omitempty"` XXX_unrecognized []byte `json:"-"` }
Not used. Not even for tunneling UDP through TCP.
func (*UDPTunnel) ProtoMessage ¶
func (*UDPTunnel) ProtoMessage()
type UserList ¶
type UserList struct { // A list of registered users. Users []*UserList_User `protobuf:"bytes,1,rep,name=users" json:"users,omitempty"` XXX_unrecognized []byte `json:"-"` }
Lists the registered users.
func (*UserList) GetUsers ¶
func (m *UserList) GetUsers() []*UserList_User
func (*UserList) ProtoMessage ¶
func (*UserList) ProtoMessage()
type UserList_User ¶
type UserList_User struct { // Registered user ID. UserId *uint32 `protobuf:"varint,1,req,name=user_id" 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:"last_seen,omitempty"` LastChannel *uint32 `protobuf:"varint,4,opt,name=last_channel" json:"last_channel,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UserList_User) GetLastChannel ¶
func (m *UserList_User) GetLastChannel() uint32
func (*UserList_User) GetLastSeen ¶
func (m *UserList_User) GetLastSeen() string
func (*UserList_User) GetName ¶
func (m *UserList_User) GetName() string
func (*UserList_User) GetUserId ¶
func (m *UserList_User) GetUserId() uint32
func (*UserList_User) ProtoMessage ¶
func (*UserList_User) ProtoMessage()
func (*UserList_User) Reset ¶
func (m *UserList_User) Reset()
func (*UserList_User) String ¶
func (m *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"` XXX_unrecognized []byte `json:"-"` }
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) GetActor ¶
func (m *UserRemove) GetActor() uint32
func (*UserRemove) GetBan ¶
func (m *UserRemove) GetBan() bool
func (*UserRemove) GetReason ¶
func (m *UserRemove) GetReason() string
func (*UserRemove) GetSession ¶
func (m *UserRemove) GetSession() uint32
func (*UserRemove) ProtoMessage ¶
func (*UserRemove) ProtoMessage()
func (*UserRemove) Reset ¶
func (m *UserRemove) Reset()
func (*UserRemove) String ¶
func (m *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:"user_id,omitempty"` // Channel on which the user is. ChannelId *uint32 `protobuf:"varint,5,opt,name=channel_id" 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:"self_mute,omitempty"` // True if the user has deafened self. SelfDeaf *bool `protobuf:"varint,10,opt,name=self_deaf" json:"self_deaf,omitempty"` // User image if it is less than 128 bytes. Texture []byte `protobuf:"bytes,11,opt,name=texture" json:"texture,omitempty"` // TODO ?? PluginContext []byte `protobuf:"bytes,12,opt,name=plugin_context" json:"plugin_context,omitempty"` // TODO ?? PluginIdentity *string `protobuf:"bytes,13,opt,name=plugin_identity" 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:"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:"texture_hash,omitempty"` // True if the user is a priority speaker. PrioritySpeaker *bool `protobuf:"varint,18,opt,name=priority_speaker" json:"priority_speaker,omitempty"` // True if the user is currently recording. Recording *bool `protobuf:"varint,19,opt,name=recording" json:"recording,omitempty"` XXX_unrecognized []byte `json:"-"` }
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) GetChannelId ¶
func (*UserState) GetComment ¶
func (*UserState) GetCommentHash ¶
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) GetTexture ¶
func (*UserState) GetTextureHash ¶
func (*UserState) ProtoMessage ¶
func (*UserState) ProtoMessage()
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,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:"from_client,omitempty"` // Packet statistics for packets sent by the server. FromServer *UserStats_Stats `protobuf:"bytes,5,opt,name=from_server" json:"from_server,omitempty"` // Amount of UDP packets sent. UdpPackets *uint32 `protobuf:"varint,6,opt,name=udp_packets" json:"udp_packets,omitempty"` // Amount of TCP packets sent. TcpPackets *uint32 `protobuf:"varint,7,opt,name=tcp_packets" json:"tcp_packets,omitempty"` // UDP ping average. UdpPingAvg *float32 `protobuf:"fixed32,8,opt,name=udp_ping_avg" json:"udp_ping_avg,omitempty"` // UDP ping variance. UdpPingVar *float32 `protobuf:"fixed32,9,opt,name=udp_ping_var" json:"udp_ping_var,omitempty"` // TCP ping average. TcpPingAvg *float32 `protobuf:"fixed32,10,opt,name=tcp_ping_avg" json:"tcp_ping_avg,omitempty"` // TCP ping variance. TcpPingVar *float32 `protobuf:"fixed32,11,opt,name=tcp_ping_var" 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:"celt_versions,omitempty"` // Client IP address. Address []byte `protobuf:"bytes,14,opt,name=address" json:"address,omitempty"` // Bandwith 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,def=0" json:"strong_certificate,omitempty"` Opus *bool `protobuf:"varint,19,opt,name=opus,def=0" json:"opus,omitempty"` XXX_unrecognized []byte `json:"-"` }
Used to communicate user stats between the server and clients.
func (*UserStats) GetAddress ¶
func (*UserStats) GetBandwidth ¶
func (*UserStats) GetCeltVersions ¶
func (*UserStats) GetCertificates ¶
func (*UserStats) GetFromClient ¶
func (m *UserStats) GetFromClient() *UserStats_Stats
func (*UserStats) GetFromServer ¶
func (m *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()
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"` XXX_unrecognized []byte `json:"-"` }
func (*UserStats_Stats) GetGood ¶
func (m *UserStats_Stats) GetGood() uint32
func (*UserStats_Stats) GetLate ¶
func (m *UserStats_Stats) GetLate() uint32
func (*UserStats_Stats) GetLost ¶
func (m *UserStats_Stats) GetLost() uint32
func (*UserStats_Stats) GetResync ¶
func (m *UserStats_Stats) GetResync() uint32
func (*UserStats_Stats) ProtoMessage ¶
func (*UserStats_Stats) ProtoMessage()
func (*UserStats_Stats) Reset ¶
func (m *UserStats_Stats) Reset()
func (*UserStats_Stats) String ¶
func (m *UserStats_Stats) String() string
type Version ¶
type Version struct { // 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:"os_version,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Version) GetOsVersion ¶
func (*Version) GetRelease ¶
func (*Version) GetVersion ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
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"` XXX_unrecognized []byte `json:"-"` }
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) GetId ¶
func (m *VoiceTarget) GetId() uint32
func (*VoiceTarget) GetTargets ¶
func (m *VoiceTarget) GetTargets() []*VoiceTarget_Target
func (*VoiceTarget) ProtoMessage ¶
func (*VoiceTarget) ProtoMessage()
func (*VoiceTarget) Reset ¶
func (m *VoiceTarget) Reset()
func (*VoiceTarget) String ¶
func (m *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"` // Channels that are included as targets. ChannelId *uint32 `protobuf:"varint,2,opt,name=channel_id" json:"channel_id,omitempty"` // TODO ?? 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"` XXX_unrecognized []byte `json:"-"` }
func (*VoiceTarget_Target) GetChannelId ¶
func (m *VoiceTarget_Target) GetChannelId() uint32
func (*VoiceTarget_Target) GetChildren ¶
func (m *VoiceTarget_Target) GetChildren() bool
func (*VoiceTarget_Target) GetGroup ¶
func (m *VoiceTarget_Target) GetGroup() string
func (*VoiceTarget_Target) GetLinks ¶
func (m *VoiceTarget_Target) GetLinks() bool
func (*VoiceTarget_Target) GetSession ¶
func (m *VoiceTarget_Target) GetSession() []uint32
func (*VoiceTarget_Target) ProtoMessage ¶
func (*VoiceTarget_Target) ProtoMessage()
func (*VoiceTarget_Target) Reset ¶
func (m *VoiceTarget_Target) Reset()
func (*VoiceTarget_Target) String ¶
func (m *VoiceTarget_Target) String() string