Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NatsReceive ¶
Types ¶
type CCControlClient ¶
type CCControlClient interface { Init(server_ip string, server_port int, input_subject, output_subject string) error GetControls(hostname string) (CCControlList, error) GetTopology(hostname string) (CCControlTopology, error) GetControlValue(hostname, control string, device string, deviceID string) (string, error) SetControlValue(hostname, control string, device string, deviceID string, value string) error Close() }
func NewCCControlClient ¶
func NewCCControlClient(server_ip string, server_port int, input_subject, output_subject string) (CCControlClient, error)
type CCControlList ¶
type CCControlList struct {
Controls []CCControlListEntry `json:"controls"`
}
type CCControlListEntry ¶
type CCControlTopology ¶
type CCControlTopology struct { HWthreads []topo.HwthreadEntry `json:"hwthreads"` CpuInfo topo.CpuInformation `json:"cpu_info"` }
Click to show internal directories.
Click to hide internal directories.