1package gumble 2 3import ( 4 "layeh.com/gumble/gumble/MumbleProto" 5) 6 7// AccessTokens are additional passwords that can be provided to the server to 8// gain access to restricted channels. 9type AccessTokens []string 10 11func (a AccessTokens) writeMessage(client *Client) error { 12 packet := MumbleProto.Authenticate{ 13 Tokens: a, 14 } 15 return client.Conn.WriteProto(&packet) 16} 17