Move client interface to its own file.
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user