securityspy

package module
v0.0.0-...-487dce9 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 11 Imported by: 1

README

#SecuritySpy command line tool

Only useful is use with SecuritySpy software from Bensoftware

update

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

Types

type SSConf

type SSConf struct {
	Url         string
	IdAndPasswd string
	AccessToken string
	ConfigFile  string
	Encrypted   bool
}

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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