Documentation
¶
Index ¶
- func Version() string
- type SSConf
- type SecuritySpy
- func (pSS *SecuritySpy) DumpCameraInfo()
- func (pSS *SecuritySpy) DumpConfig()
- func (pSS *SecuritySpy) GetAccessToken() string
- func (pSS *SecuritySpy) GetCameraMap(index int) map[string]interface{}
- func (pSS *SecuritySpy) GetCameraValue(index int, value string) string
- func (pSS *SecuritySpy) GetIdAndPasswd() string
- func (pSS *SecuritySpy) GetNumberOfCameras() int
- func (pSS *SecuritySpy) GetServerValue(value string) string
- func (pSS *SecuritySpy) GetSystemInfo() bool
- func (pSS *SecuritySpy) GetUrl() string
- func (pSS *SecuritySpy) PresetPTZ(cameraNum int, presetNum int) bool
- func (pSS *SecuritySpy) ReadConfig(configfile string) bool
- func (pSS *SecuritySpy) SaveConfig()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecuritySpy ¶
type SecuritySpy struct {
Config SSConf
// contains filtered or unexported fields
}
func New ¶
func New(configfile string) *SecuritySpy
func NewBuildConfig ¶
func NewBuildConfig(url string, authstring string, configfile string) *SecuritySpy
func NewBuildConfigEncrypt ¶
func NewBuildConfigEncrypt(url string, authstring string, configfile string, keystring string) *SecuritySpy
func NewEncrypt ¶
func NewEncrypt(configfile string, keystring string) *SecuritySpy
func (*SecuritySpy) DumpCameraInfo ¶
func (pSS *SecuritySpy) DumpCameraInfo()
func (*SecuritySpy) DumpConfig ¶
func (pSS *SecuritySpy) DumpConfig()
func (*SecuritySpy) GetAccessToken ¶
func (pSS *SecuritySpy) GetAccessToken() string
func (*SecuritySpy) GetCameraMap ¶
func (pSS *SecuritySpy) GetCameraMap(index int) map[string]interface{}
func (*SecuritySpy) GetCameraValue ¶
func (pSS *SecuritySpy) GetCameraValue(index int, value string) string
func (*SecuritySpy) GetIdAndPasswd ¶
func (pSS *SecuritySpy) GetIdAndPasswd() string
func (*SecuritySpy) GetNumberOfCameras ¶
func (pSS *SecuritySpy) GetNumberOfCameras() int
func (*SecuritySpy) GetServerValue ¶
func (pSS *SecuritySpy) GetServerValue(value string) string
func (*SecuritySpy) GetSystemInfo ¶
func (pSS *SecuritySpy) GetSystemInfo() bool
func (*SecuritySpy) GetUrl ¶
func (pSS *SecuritySpy) GetUrl() string
func (*SecuritySpy) PresetPTZ ¶
func (pSS *SecuritySpy) PresetPTZ(cameraNum int, presetNum int) bool
func (*SecuritySpy) ReadConfig ¶
func (pSS *SecuritySpy) ReadConfig(configfile string) bool
func (*SecuritySpy) SaveConfig ¶
func (pSS *SecuritySpy) SaveConfig()
Click to show internal directories.
Click to hide internal directories.