Versions in this module Expand all Collapse all v0 v0.0.1 Apr 29, 2023 Changes in this version + const CeltCompatBitstream + const ChannelInfoDescription + const ChannelInfoPosition + const DefaultPort + const DefaultWebPort + const LogOpsBeforeSync + const SQLiteSupport + const StateClientAuthenticated + const StateClientConnected + const StateClientDead + const StateClientReady + const StateClientSentVersion + const StateServerSentVersion + const UDPPacketSize + const UserInfoComment + const UserInfoEmail + const UserInfoHash + const UserInfoLastActive + const UserInfoName + const UserInfoPassword + var Args args + func FreezeACL(aclEntry acl.ACL) (*freezer.ACL, error) + func FreezeBan(ban ban.Ban) (fb *freezer.Ban) + func FreezeGroup(group acl.Group) (*freezer.Group, error) + func GenerateSelfSignedCert(certpath, keypath string) (err error) + func MurmurImport(filename string) (err error) + func SetBlobStore(b blobstore.BlobStore) + func SetServers(s map[int64]*Server) + func SignalHandler() — darwin/amd64, linux/amd64, windows/amd64 + func Usage() + type Channel struct + ACL acl.Context + DescriptionBlob string + Id int + Links map[int]*Channel + Name string + Position int + func NewChannel(id int, name string) (channel *Channel) + func (c *Channel) Unfreeze(fc *freezer.Channel) + func (channel *Channel) AddChild(child *Channel) + func (channel *Channel) AddClient(client *Client) + func (channel *Channel) AllLinks() (seen map[int]*Channel) + func (channel *Channel) AllSubChannels() (seen map[int]*Channel) + func (channel *Channel) DescriptionBlobHashBytes() (buf []byte) + func (channel *Channel) Freeze() (fc *freezer.Channel, err error) + func (channel *Channel) HasDescription() bool + func (channel *Channel) IsEmpty() bool + func (channel *Channel) IsTemporary() bool + func (channel *Channel) RemoveChild(child *Channel) + func (channel *Channel) RemoveClient(client *Client) + type Client struct + Channel *Channel + ClientName string + CryptoMode string + Deaf bool + Email string + Mute bool + OSName string + OSVersion string + PluginContext []byte + PluginIdentity string + PrioritySpeaker bool + Recording bool + SelfDeaf bool + SelfMute bool + Suppress bool + TcpPackets uint32 + TcpPingAvg float32 + TcpPingVar float32 + UdpPackets uint32 + UdpPingAvg float32 + UdpPingVar float32 + Username string + Version uint32 + func (client *Client) ACLContext() *acl.Context + func (client *Client) CertHash() string + func (client *Client) ClearCaches() + func (client *Client) Debugf(format string, v ...interface{}) + func (client *Client) Disconnect() + func (client *Client) ForceDisconnect() + func (client *Client) HasCertificate() bool + func (client *Client) IsRegistered() bool + func (client *Client) IsSuperUser() bool + func (client *Client) IsVerified() bool + func (client *Client) Panic(v ...interface{}) + func (client *Client) Panicf(format string, v ...interface{}) + func (client *Client) RejectAuth(rejectType mumbleproto.Reject_RejectType, reason string) + func (client *Client) SendUDP(buf []byte) error + func (client *Client) Session() uint32 + func (client *Client) ShownName(suName string) string + func (client *Client) Tokens() []string + func (client *Client) UserId() int + type ClientPredicate func(client *Client) bool + type KeyValuePair struct + Key string + Reset bool + Value string + type Message struct + type Register struct + Channels int + Digest string + Host string + Location string + Name string + Password string + Port int + Release string + Url string + Users int + Version string + XMLName xml.Name + type Server struct + AlphaCodec int32 + Bans []ban.Ban + BetaCodec int32 + Channels map[int]*Channel + Id int64 + Opus bool + PreferAlphaCodec bool + UserCertMap map[string]*User + UserNameMap map[string]*User + Users map[uint32]*User + func NewServer(id int64) (s *Server, err error) + func NewServerFromFrozen(name string) (s *Server, err error) + func NewServerFromSQLite(id int64, db *sql.DB) (s *Server, err error) + func (s *Server) RegisterClient(client *Client) (uid uint32, err error) + func (s *Server) RemoveRegistration(uid uint32) (err error) + func (s *Server) SendUDP(buf []byte, addr *net.UDPAddr) (err error) + func (s *Server) UnfreezeBanList(fblist *freezer.BanList) + func (server *Server) AddChannel(name string) (channel *Channel) + func (server *Server) CheckSuperUserPassword(password string) bool + func (server *Server) ClearCaches() + func (server *Server) CurrentPort() int + func (server *Server) Debugf(format string, v ...interface{}) + func (server *Server) DeleteFrozenChannel(channel *Channel) + func (server *Server) DeleteFrozenUser(user *User) + func (server *Server) FilterText(text string) (filtered string, err error) + func (server *Server) Freeze() (fs *freezer.Server, err error) + func (server *Server) FreezeToFile() error + func (server *Server) GetSuperUserName() string + func (server *Server) HostAddress() string + func (server *Server) IsCertHashBanned(hash string) bool + func (server *Server) IsConnectionBanned(conn net.Conn) bool + func (server *Server) IsPublic() bool + func (server *Server) LinkChannels(channel *Channel, other *Channel) + func (server *Server) Port() int + func (server *Server) RegisterPublicServer() + func (server *Server) RemoveChanel(channel *Channel) + func (server *Server) RemoveChannel(channel *Channel) + func (server *Server) RemoveClient(client *Client, kicked bool) + func (server *Server) RemoveExpiredBans() + func (server *Server) ResetConfig(key string) + func (server *Server) RootChannel() *Channel + func (server *Server) Set(key string, value string) + func (server *Server) SetServerPassword(password string) + func (server *Server) SetSuperUserName(n string) + func (server *Server) SetSuperUserPassword(password string) + func (server *Server) ShouldListenWebPort() bool + func (server *Server) Start() (err error) + func (server *Server) Stop() (err error) + func (server *Server) UnlinkChannels(channel *Channel, other *Channel) + func (server *Server) UpdateConfig(key, value string) + func (server *Server) UpdateFrozenBans(bans []ban.Ban) + func (server *Server) UpdateFrozenChannel(channel *Channel, state *mumbleproto.ChannelState) + func (server *Server) UpdateFrozenChannelACLs(channel *Channel) + func (server *Server) UpdateFrozenUser(client *Client, state *mumbleproto.UserState) + func (server *Server) UpdateFrozenUserLastChannel(client *Client) + func (server *Server) WebPort() int + type UsageArgs struct + Arch string + BuildDate string + DefaultDataDir string + OS string + Version string + type User struct + CertHash string + CommentBlob string + Email string + Id uint32 + LastActive uint64 + LastChannelId int + Name string + Password string + TextureBlob string + func NewUser(id uint32, name string) (user *User, err error) + func (u *User) Unfreeze(fu *freezer.User) + func (user *User) CommentBlobHashBytes() (buf []byte) + func (user *User) Freeze() (fu *freezer.User, err error) + func (user *User) HasComment() bool + func (user *User) HasTexture() bool + func (user *User) TextureBlobHashBytes() (buf []byte) + type VoiceBroadcast struct + type VoiceTarget struct + func (vt *VoiceTarget) AddChannel(id uint32, subchannels bool, links bool, group string) + func (vt *VoiceTarget) AddSession(session uint32) + func (vt *VoiceTarget) ClearCache() + func (vt *VoiceTarget) IsEmpty() bool + func (vt *VoiceTarget) SendVoiceBroadcast(vb *VoiceBroadcast)