Documentation
¶
Index ¶
- Variables
- func BuildHTTPParams(params ...map[string]string) string
- func GetFrigateVersion(headers []map[string]string) (int, error)
- func HTTPGet(url string, insecure bool, params string, headers ...map[string]string) ([]byte, error)
- func HTTPPost(url string, insecure bool, payload []byte, params string, ...) ([]byte, error)
- type FrigateAuth
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthEnabled bool FrigateServer string FrigateInsecure bool FrigateUser string FrigatePass string )
View Source
var AppUserAgent string
View Source
var HTTPMaxAttempts int
View Source
var HTTPTimeout int
Functions ¶
func BuildHTTPParams ¶ added in v0.3.5
buildParams creates an escaped param string from a slice
func GetFrigateVersion ¶ added in v0.5.0
Types ¶
type FrigateAuth ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.