prober

package
v0.0.0-...-e74ce0a Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool2int

func Bool2int(b bool) int64

Types

type ChannelStatus

type ChannelStatus struct {
	Status string
	Result []ChannelStatusDetails
}

func GetChannelInfo

func GetChannelInfo(target string, user string, password string) (*ChannelStatus, error)

type ChannelStatusDetails

type ChannelStatusDetails struct {
	Id         string
	Status     ChannelStatusDetailsStatus
	Publishers []ChannelStatusDetailsPublishers
}

type ChannelStatusDetailsPublishers

type ChannelStatusDetailsPublishers struct {
	Id     string
	Status ChannelStatusDetailsPublishersDetails
}

type ChannelStatusDetailsPublishersDetails

type ChannelStatusDetailsPublishersDetails struct {
	IsConfigured bool
	Started      bool
	State        string
	Duration     int64
}

type ChannelStatusDetailsStatus

type ChannelStatusDetailsStatus struct {
	State    string
	Nosignal float64
	Bitrate  float64
	Duration float64
}

type FirmwareControl

type FirmwareControl struct {
	Status string
	Result FirmwareControlDetails
}

func GetFirmwareUpdateAvailability

func GetFirmwareUpdateAvailability(target string, user string, password string) (*FirmwareControl, error)

type FirmwareControlDetails

type FirmwareControlDetails struct {
	Status  string
	Allowed *string
	Version *string

	Changed bool
	// contains filtered or unexported fields
}

type FirmwareVersion

type FirmwareVersion struct {
	Status string
	Result string
}

func GetFirmwareVersion

func GetFirmwareVersion(target string, user string, password string) (*FirmwareVersion, error)

type HDMIConnectionStatus

type HDMIConnectionStatus struct {
	Video HDMIVideoConnectionStatus
}

type HDMIStatus

type HDMIStatus struct {
	Status string
	Result []HDMIStatusDetails
}

func GetHDMIStatus

func GetHDMIStatus(target string, user string, password string) (*HDMIStatus, error)

type HDMIStatusDetails

type HDMIStatusDetails struct {
	Id     string
	Name   string
	Status HDMIConnectionStatus
}

type HDMIVideoConnectionStatus

type HDMIVideoConnectionStatus struct {
	Actual_fps int
	Interlaced bool
	Resolution string
	State      string
	Vrr        int
}

type RCAVolumeDetails

type RCAVolumeDetails struct {
	Peak []float64
	Rms  []float64
}

type RCAVolumeStatus

type RCAVolumeStatus struct {
	Status string
	Result RCAVolumeDetails
}

func GetRCAVolumeStatus

func GetRCAVolumeStatus(target string, user string, password string) (*RCAVolumeStatus, error)

type RecorderStatus

type RecorderStatus struct {
	Status string
	Result []RecorderStatusDetails
}

func GetRecorderInfo

func GetRecorderInfo(target string, user string, password string) (*RecorderStatus, error)

type RecorderStatusDetails

type RecorderStatusDetails struct {
	Id     string
	Status RecorderStatusDetailsRecorderDetails
}

type RecorderStatusDetailsRecorderDetails

type RecorderStatusDetailsRecorderDetails struct {
	State    string
	Duration *int64
	Active   *string
	Total    *string
}

type SDIConnectionStatus

type SDIConnectionStatus struct {
	Video SDIVideoConnectionStatus
}

type SDIStatus

type SDIStatus struct {
	Status string
	Result []SDIStatusDetails
}

func GetSDIStatus

func GetSDIStatus(target string, user string, password string) (*SDIStatus, error)

type SDIStatusDetails

type SDIStatusDetails struct {
	Id     string
	Name   string
	Status SDIConnectionStatus
}

type SDIVideoConnectionStatus

type SDIVideoConnectionStatus struct {
	Actual_fps int
	Interlaced bool
	Resolution string
	State      string
	Vrr        int
}

type StorageStatus

type StorageStatus struct {
	Status string
	Result StorageStatusDetails
}

func GetStorageInfo

func GetStorageInfo(target string, user string, password string) (*StorageStatus, error)

type StorageStatusDetails

type StorageStatusDetails struct {
	State string
	Total int64
	Free  int64
}

type SystemStatus

type SystemStatus struct {
	Status string
	Result SystemStatusDetails
}

func GetSystemInfo

func GetSystemInfo(target string, user string, password string) (*SystemStatus, error)

type SystemStatusDetails

type SystemStatusDetails struct {
	Date        string
	Uptime      int64
	CpuLoad     int64
	CpuLoadHigh bool
	Cputemp     int64
}

Jump to

Keyboard shortcuts

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