9 lines
206 B
Go
9 lines
206 B
Go
package adaptor
|
|
|
|
// WebSocket is an interface that represents an authenticated websocket connection
|
|
type WebSocket interface {
|
|
AccessToken() string
|
|
Read() <-chan interface{}
|
|
Write() chan<- interface{}
|
|
}
|