streams

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

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 Stream

type Stream network.Stream

type StreamHandler

type StreamHandler func(Stream)

type StreamManger

type StreamManger struct {
	// contains filtered or unexported fields
}

func New

func New(peer peer.Node, name string, path string) *StreamManger

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()

Directories

Path Synopsis
tunnels

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL