Documentation
¶
Index ¶
- type Shinobi
- func (sa *Shinobi) GetMonitors(cameraGroup string) (string, error)
- func (sa *Shinobi) GetStartedMonitors(cameraGroup string) (string, error)
- func (sa *Shinobi) GetVideos(cameraGroup string) (string, error)
- func (sa *Shinobi) GetVideosById(cameraGroup string, cameraID string, query string) (string, error)
- func (sa *Shinobi) RunRequest(httpMethod string, URL string, apiPath string, queryParam string) (string, error)
- func (sa *Shinobi) TriggerMotion(host string) (string, error)
- type ShinobiCamera
- type ShinobiClient
- type ShinobiConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shinobi ¶
type Shinobi struct {
// contains filtered or unexported fields
}
func (*Shinobi) GetStartedMonitors ¶
func (*Shinobi) GetVideosById ¶
func (*Shinobi) RunRequest ¶
type ShinobiCamera ¶
type ShinobiClient ¶
type ShinobiClient interface {
TriggerMotion(string) (string, error)
GetMonitors(string) (string, error)
GetVideos(string) (string, error)
GetVideosById(string, string, string) (string, error)
GetStartedMonitors(string) (string, error)
RunRequest(string, string, string, string) (string, error)
}
func New ¶
func New(config string) ShinobiClient
type ShinobiConfig ¶
type ShinobiConfig struct {
Server string `json:"server"`
Apikey string `json:"apikey"`
Cameras []ShinobiCamera `json:"cameras"`
}
Click to show internal directories.
Click to hide internal directories.