tunnels

package
v0.0.0-...-41ac72d Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tunnel

type Tunnel struct {
	*gw.Heartbeat
	ID string
	// contains filtered or unexported fields
}

func NewTunnel

func NewTunnel(msToDie time.Duration) *Tunnel

func (*Tunnel) GetCache

func (tu *Tunnel) GetCache(key string) interface{}

func (*Tunnel) SendToClient

func (tu *Tunnel) SendToClient(data interface{})

func (*Tunnel) SendToHost

func (tu *Tunnel) SendToHost(data interface{})

func (*Tunnel) SetCache

func (tu *Tunnel) SetCache(key string, value interface{})

func (*Tunnel) SetClientChan

func (tu *Tunnel) SetClientChan(c chan interface{})

func (*Tunnel) SetHostChan

func (tu *Tunnel) SetHostChan(c chan interface{})

Jump to

Keyboard shortcuts

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