Commit 9560779e authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Move client interface to its own file.

parent 1e977213
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 ( ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment