first commit
This commit is contained in:
6
pkg/websocket/peer/callback.go
Normal file
6
pkg/websocket/peer/callback.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package peer
|
||||
|
||||
type ConnectionCallBack interface {
|
||||
OnClosed(*Session)
|
||||
OnReceive(*Session, []byte) error
|
||||
}
|
Reference in New Issue
Block a user