Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection interface { io.Closer network.ConnSecurity network.ConnMultiaddrs }
type StreamHandler ¶
type StreamHandler func(Stream)
type StreamManger ¶
type StreamManger struct {
// contains filtered or unexported fields
}
func (*StreamManger) Context ¶
func (s *StreamManger) Context() context.Context
func (*StreamManger) Start ¶
func (s *StreamManger) Start(handler StreamHandler)
func (*StreamManger) Stop ¶
func (s *StreamManger) Stop()
Click to show internal directories.
Click to hide internal directories.