Documentation ¶
Index ¶
- type BinFrame
- type BinFrameHeader
- type BinFrameTask
- type Connection
- func (c *Connection) AccountInfo(request nodeinterface.CloudAccountInfoRequest) (resp nodeinterface.CloudAccountInfoResponse, err error)
- func (c *Connection) AddNode(name string) (resp nodeinterface.CloudAddNodeResponse, err error)
- func (c *Connection) Call(function string, requestText []byte) (response []byte, err error)
- func (c *Connection) CloseConnection()
- func (c *Connection) Connected() bool
- func (c *Connection) GetSettings(request nodeinterface.CloudGetSettingsRequest) (nodeinterface.CloudGetSettingsResponse, error)
- func (c *Connection) LoadSession() error
- func (c *Connection) Login(userName string, password string)
- func (c *Connection) Logout()
- func (c *Connection) Nodes() (resp nodeinterface.CloudNodesResponse, err error)
- func (c *Connection) RemoveNode(nodeId string) (resp nodeinterface.CloudRemoveNodeResponse, err error)
- func (c *Connection) SaveSession() error
- func (c *Connection) SendData(data *BinFrame) (frameLen int64)
- func (c *Connection) SessionId() string
- func (c *Connection) SetCurrentNodeId(request nodeinterface.CloudSetCurrentNodeIdRequest) (resp nodeinterface.CloudSetCurrentNodeIdResponse, err error)
- func (c *Connection) SetRequester(requester common_interfaces.Requester)
- func (c *Connection) SetSettings(request nodeinterface.CloudSetSettingsRequest) (resp nodeinterface.CloudSetSettingsResponse, err error)
- func (c *Connection) Start()
- func (c *Connection) Started() bool
- func (c *Connection) Stat() (res common_interfaces.StatGazerCloud)
- func (c *Connection) State() (nodeinterface.CloudStateResponse, error)
- func (c *Connection) Stop()
- func (c *Connection) UpdateNode(nodeId string, name string) (resp nodeinterface.CloudUpdateNodeResponse, err error)
- func (c *Connection) UserName() string
- type ProxyTask
- type SessionConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinFrame ¶ added in v1.0.6
type BinFrame struct { Header BinFrameHeader Data []byte }
func UnmarshalBinFrame ¶ added in v1.0.6
type BinFrameHeader ¶ added in v1.0.6
type BinFrameTask ¶ added in v1.0.6
type BinFrameTask struct { SessionId string Client *Connection Frame *BinFrame }
type Connection ¶ added in v1.0.6
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶ added in v1.0.6
func NewConnection() *Connection
func (*Connection) AccountInfo ¶ added in v1.0.6
func (c *Connection) AccountInfo(request nodeinterface.CloudAccountInfoRequest) (resp nodeinterface.CloudAccountInfoResponse, err error)
func (*Connection) AddNode ¶ added in v1.0.6
func (c *Connection) AddNode(name string) (resp nodeinterface.CloudAddNodeResponse, err error)
func (*Connection) Call ¶ added in v1.0.6
func (c *Connection) Call(function string, requestText []byte) (response []byte, err error)
func (*Connection) CloseConnection ¶ added in v1.0.6
func (c *Connection) CloseConnection()
func (*Connection) Connected ¶ added in v1.0.6
func (c *Connection) Connected() bool
func (*Connection) GetSettings ¶ added in v1.0.6
func (c *Connection) GetSettings(request nodeinterface.CloudGetSettingsRequest) (nodeinterface.CloudGetSettingsResponse, error)
func (*Connection) LoadSession ¶ added in v1.0.6
func (c *Connection) LoadSession() error
func (*Connection) Login ¶ added in v1.0.6
func (c *Connection) Login(userName string, password string)
func (*Connection) Logout ¶ added in v1.0.6
func (c *Connection) Logout()
func (*Connection) Nodes ¶ added in v1.0.6
func (c *Connection) Nodes() (resp nodeinterface.CloudNodesResponse, err error)
func (*Connection) RemoveNode ¶ added in v1.0.6
func (c *Connection) RemoveNode(nodeId string) (resp nodeinterface.CloudRemoveNodeResponse, err error)
func (*Connection) SaveSession ¶ added in v1.0.6
func (c *Connection) SaveSession() error
func (*Connection) SendData ¶ added in v1.0.6
func (c *Connection) SendData(data *BinFrame) (frameLen int64)
func (*Connection) SessionId ¶ added in v1.0.6
func (c *Connection) SessionId() string
func (*Connection) SetCurrentNodeId ¶ added in v1.0.6
func (c *Connection) SetCurrentNodeId(request nodeinterface.CloudSetCurrentNodeIdRequest) (resp nodeinterface.CloudSetCurrentNodeIdResponse, err error)
func (*Connection) SetRequester ¶ added in v1.0.6
func (c *Connection) SetRequester(requester common_interfaces.Requester)
func (*Connection) SetSettings ¶ added in v1.0.6
func (c *Connection) SetSettings(request nodeinterface.CloudSetSettingsRequest) (resp nodeinterface.CloudSetSettingsResponse, err error)
func (*Connection) Start ¶ added in v1.0.6
func (c *Connection) Start()
func (*Connection) Started ¶ added in v1.0.6
func (c *Connection) Started() bool
func (*Connection) Stat ¶ added in v1.0.6
func (c *Connection) Stat() (res common_interfaces.StatGazerCloud)
func (*Connection) State ¶ added in v1.0.6
func (c *Connection) State() (nodeinterface.CloudStateResponse, error)
func (*Connection) Stop ¶ added in v1.0.6
func (c *Connection) Stop()
func (*Connection) UpdateNode ¶ added in v1.0.6
func (c *Connection) UpdateNode(nodeId string, name string) (resp nodeinterface.CloudUpdateNodeResponse, err error)
func (*Connection) UserName ¶ added in v1.0.6
func (c *Connection) UserName() string
Click to show internal directories.
Click to hide internal directories.