ing
This commit is contained in:
parent
0b704161e6
commit
e7d766bf07
6
socket/client.go
Normal file
6
socket/client.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package socket
|
||||
|
||||
type Client interface {
|
||||
Connect() (readChan <-chan []byte, writeChan chan<- []byte, err error)
|
||||
Disconnect() error
|
||||
}
|
|
@ -12,6 +12,8 @@ import (
|
|||
)
|
||||
|
||||
type Client struct {
|
||||
socket.Client
|
||||
|
||||
socket.ClientConnHandlers
|
||||
socket.ReadWriteHandlers
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import (
|
|||
var errMalformedURL = errors.New("malformed ws or wss URL")
|
||||
|
||||
type Client struct {
|
||||
socket.Client
|
||||
socket.ClientConnHandlers
|
||||
socket.ReadWriteHandlers
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user