Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWSStream ¶
func NewWSStream(conn connection, ctx context.Context, info host2.StreamInfo) *stream
func StartTracker ¶ added in v0.4.1
func StartTracker(f func()) chan struct{}
Types ¶
type MultiplexedMessage ¶
type MultiplexedProvider ¶
type MultiplexedProvider struct {
// contains filtered or unexported fields
}
func NewMultiplexedProvider ¶
func NewMultiplexedProvider(tracerProvider tracing.Provider, metricsProvider metrics.Provider) *MultiplexedProvider
func (*MultiplexedProvider) KillAll ¶ added in v0.4.1
func (c *MultiplexedProvider) KillAll() error
func (*MultiplexedProvider) NewClientStream ¶
func (*MultiplexedProvider) NewServerStream ¶
func (c *MultiplexedProvider) NewServerStream(writer http.ResponseWriter, request *http.Request, newStreamCallback func(host2.P2PStream)) error
type SimpleProvider ¶
type SimpleProvider struct{}
func NewSimpleProvider ¶
func NewSimpleProvider() *SimpleProvider
func (*SimpleProvider) NewClientStream ¶
func (*SimpleProvider) NewServerStream ¶
func (p *SimpleProvider) NewServerStream(writer http.ResponseWriter, request *http.Request, newStreamCallback func(host2.P2PStream)) error
Click to show internal directories.
Click to hide internal directories.