edgestream

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(s *v1alpha2.EdgeStream, hostnameOverride, nodeIP string)

Register register edgestream

Types

type TunnelSession

type TunnelSession struct {
	Tunnel stream.SafeWriteTunneler
	// contains filtered or unexported fields
}

TunnelSession

func NewTunnelSession

func NewTunnelSession(c *websocket.Conn) *TunnelSession

func (*TunnelSession) AddLocalConnection

func (s *TunnelSession) AddLocalConnection(id uint64, con stream.EdgedConnection)

func (*TunnelSession) Close

func (s *TunnelSession) Close()

func (*TunnelSession) DeleteLocalConnection

func (s *TunnelSession) DeleteLocalConnection(id uint64)

func (*TunnelSession) GetLocalConnection

func (s *TunnelSession) GetLocalConnection(id uint64) (stream.EdgedConnection, bool)

func (*TunnelSession) Serve

func (s *TunnelSession) Serve() error

func (*TunnelSession) ServeConnection

func (s *TunnelSession) ServeConnection(m *stream.Message)

func (*TunnelSession) WriteToLocalConnection

func (s *TunnelSession) WriteToLocalConnection(m *stream.Message)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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