Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRangeSelector ¶ added in v0.3.4
func NewRangeSelector(cap int) *rangeSelector
Types ¶
type IdleSession ¶
type IdleSession struct { *yamux.Session // contains filtered or unexported fields }
func NewIdleSession ¶
func NewIdleSession(session *yamux.Session, IdleTimeout time.Duration) *IdleSession
func (*IdleSession) IsClosed ¶ added in v0.3.4
func (i *IdleSession) IsClosed() bool
func (*IdleSession) OpenStream ¶
func (i *IdleSession) OpenStream(ctx context.Context) (*yamux.Stream, error)
Click to show internal directories.
Click to hide internal directories.