Documentation
¶
Index ¶
- type Gateway
- func (g *Gateway) CanExecute() bool
- func (g *Gateway) IsOn() bool
- func (g *Gateway) KeepAlive()
- func (g *Gateway) Print(content string, err error, printType int)
- func (g *Gateway) Receiver()
- func (g *Gateway) SenderReal()
- func (g *Gateway) SenderVirtual()
- func (g *Gateway) Setup(BridgeAddress *string, Resources *res.Resources, Forwarder *f.Forwarder)
- func (g *Gateway) TurnOFF()
- func (g *Gateway) TurnON()
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 (*Gateway) SenderReal ¶
func (g *Gateway) SenderReal()
func (*Gateway) SenderVirtual ¶
func (g *Gateway) SenderVirtual()
Click to show internal directories.
Click to hide internal directories.