Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrShutdown = errors.New("connection is shut down")
)
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
func NewTransport ¶
func (*Transport) Close ¶
Close calls the underlying web socket Close method. If the connection is already shutting down, ErrShutdown is returned.
func (*Transport) SetCallback ¶
Click to show internal directories.
Click to hide internal directories.