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 ¶
type HTTPError interface {
Code() int
}
HTTPError is error which has http response code
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is a manager of transports.
func NewManager ¶
NewManager creates a new manager.
func (*Manager) UpgradeFrom ¶
UpgradeFrom returns a name list of transports which can upgrade from given name.
type Opener ¶
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.