Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidFrame = errors.New("invalid frame type")
ErrInvalidFrame is returned when writing invalid frame type.
View Source
var ErrInvalidPacket = errors.New("invalid packet type")
ErrInvalidPacket is returned when writing invalid packet type.
Functions ¶
This section is empty.
Types ¶
type HTTPError ¶ added in v1.4.1
type HTTPError interface {
Code() int
}
HTTPError is error which has http response code
type Manager ¶ added in v1.4.1
type Manager struct {
// contains filtered or unexported fields
}
Manager is a manager of transports.
func NewManager ¶ added in v1.4.1
NewManager creates a new manager.
func (*Manager) UpgradeFrom ¶ added in v1.4.1
UpgradeFrom returns a name list of transports which can upgrade from given name.
type Opener ¶ added in v1.4.1
type Opener interface {
Open() (base.ConnParameters, error)
}
Opener is client connection which need receive open message first.
Click to show internal directories.
Click to hide internal directories.