mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Move client interface to its own file.
This commit is contained in:
parent
1e977213d1
commit
9560779eb4
2 changed files with 9 additions and 8 deletions
9
client.go
Normal file
9
client.go
Normal 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
|
||||||
|
}
|
8
group.go
8
group.go
|
@ -21,14 +21,6 @@ import (
|
||||||
"github.com/pion/webrtc/v2"
|
"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 {
|
type chatHistoryEntry struct {
|
||||||
id string
|
id string
|
||||||
user string
|
user string
|
||||||
|
|
Loading…
Reference in a new issue