Documentation
¶
Index ¶
- Variables
- func GetGraphTemplateData() interface{}
- func WriteArchive(w io.Writer, filenameBase string, state StateChange, rawData bool) (err error)
- type Client
- func (c *Client) Close()
- func (c *Client) RegisterReceiver(receiver chan StateChange)
- func (c *Client) SetEncryptionPassphrase(encryptionPassphrase string) error
- func (c *Client) SetPassphrase(passphrase string) error
- func (c *Client) SetPassword(password string) error
- func (c *Client) State() StateChange
- func (c *Client) UnregisterReceiver(receiver chan StateChange)
- type Message
- type MessageData
- type State
- type StateChange
Constants ¶
This section is empty.
Variables ¶
View Source
var Files embed.FS
Functions ¶
func GetGraphTemplateData ¶
func GetGraphTemplateData() interface{}
func WriteArchive ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) RegisterReceiver ¶
func (c *Client) RegisterReceiver(receiver chan StateChange)
func (*Client) SetEncryptionPassphrase ¶
func (*Client) SetPassphrase ¶
func (*Client) SetPassword ¶
func (*Client) State ¶
func (c *Client) State() StateChange
func (*Client) UnregisterReceiver ¶
func (c *Client) UnregisterReceiver(receiver chan StateChange)
type Message ¶
type Message struct { State string `json:"state"` Data interface{} `json:"data,omitempty"` }
func GetStateMessage ¶
func GetStateMessage(change StateChange) Message
type MessageData ¶
type MessageData struct { Summary string `json:"summary"` Bins json.RawMessage `json:"bins"` BinsHistory json.RawMessage `json:"bins_history"` ErrorsHistory json.RawMessage `json:"errors_history"` }
Click to show internal directories.
Click to hide internal directories.