1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-25 18:15:57 +01:00

Move client interface to its own file.

This commit is contained in:
Juliusz Chroboczek 2020-06-19 11:36:37 +02:00
parent 1e977213d1
commit 9560779eb4
2 changed files with 9 additions and 8 deletions

9
client.go Normal file
View file

@ -0,0 +1,9 @@
package main
type client interface {
Group() *group
Id() string
Username() string
pushConn(id string, conn upConnection, tracks []upTrack, label string) error
pushClient(id, username string, add bool) error
}

View file

@ -21,14 +21,6 @@ import (
"github.com/pion/webrtc/v2"
)
type client interface {
Group() *group
Id() string
Username() string
pushConn(id string, conn upConnection, tracks []upTrack, label string) error
pushClient(id, username string, add bool) error
}
type chatHistoryEntry struct {
id string
user string