1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-26 10:35:59 +01:00
galene/client.go

19 lines
411 B
Go
Raw Normal View History

2020-06-19 11:36:37 +02:00
package main
type clientCredentials struct {
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
}
2020-06-19 11:36:37 +02:00
type client interface {
Group() *group
Id() string
Credentials() clientCredentials
2020-06-19 11:36:37 +02:00
pushConn(id string, conn upConnection, tracks []upTrack, label string) error
pushClient(id, username string, add bool) error
}
type kickable interface {
kick(message string) error
}