Move client interface to its own file.
This commit is contained in:
1 parent
1e977213d1
commit
9560779eb4
2 files changed
+9
-8
No files matched your search
@@ -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"
|
||||
)
|
||||
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user