mirror of
https://github.com/jech/galene.git
synced 2024-11-26 02:25:58 +01:00
6bde5f986a
No need to carry password around.
14 lines
354 B
Go
14 lines
354 B
Go
package main
|
|
|
|
type clientCredentials struct {
|
|
Username string `json:"username,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
}
|
|
|
|
type client interface {
|
|
Group() *group
|
|
Id() string
|
|
Credentials() clientCredentials
|
|
pushConn(id string, conn upConnection, tracks []upTrack, label string) error
|
|
pushClient(id, username string, add bool) error
|
|
}
|