gateway

package
v0.0.0-...-7a68c68 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	Id   int                `json:"id"`
	Info models.InfoGateway `json:"info"`

	State int `json:"-"`

	Resources *res.Resources `json:"-"` //is a pointer
	Forwarder *f.Forwarder   `json:"-"` //is a pointer

	Stat models.Stat `json:"-"`

	BufferUplink buffer.BufferUplink `json:"-"`
}

func (*Gateway) CanExecute

func (g *Gateway) CanExecute() bool

func (*Gateway) IsOn

func (g *Gateway) IsOn() bool

func (*Gateway) KeepAlive

func (g *Gateway) KeepAlive()

func (*Gateway) Print

func (g *Gateway) Print(content string, err error, printType int)

func (*Gateway) Receiver

func (g *Gateway) Receiver()

func (*Gateway) SenderReal

func (g *Gateway) SenderReal()

func (*Gateway) SenderVirtual

func (g *Gateway) SenderVirtual()

func (*Gateway) Setup

func (g *Gateway) Setup(BridgeAddress *string,
	Resources *res.Resources, Forwarder *f.Forwarder)

func (*Gateway) TurnOFF

func (g *Gateway) TurnOFF()

func (*Gateway) TurnON

func (g *Gateway) TurnON()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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