broadcast

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BroadcastTcpProxy

type BroadcastTcpProxy struct {
	Name string
	Addr string

	Tunnel INDIHubBroadcastTunnel
	// contains filtered or unexported fields
}

func New

func New(name string, addr string, tunnel INDIHubBroadcastTunnel) *BroadcastTcpProxy

func (*BroadcastTcpProxy) Close

func (p *BroadcastTcpProxy) Close()

func (*BroadcastTcpProxy) Start

func (p *BroadcastTcpProxy) Start(sessionID uint64, sessionToken string, addr string)

type INDIHubBroadcastTunnel

type INDIHubBroadcastTunnel interface {
	Send(*indihub.Response) error
	Recv() (*indihub.Request, error)
	CloseSend() error
}

Jump to

Keyboard shortcuts

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