Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRangeSelector ¶
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) Close ¶
func (i *IdleSession) Close() error
func (*IdleSession) IsClosed ¶
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.