Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadToArc ¶
func UploadToArc(credentials *ArcServerCredentials, eventDBVideoRoot string, recording *eventdb.Recording, cameraName string) error
Share the recording with an Arc server.
Types ¶
type ArcServerCredentials ¶
type ArcServerCredentials struct { ServerUrl string // eg https://arc.cyclopcam.org (no trailing slash) ApiKey string // secret key "sk-..." }
func (*ArcServerCredentials) IsConfigured ¶
func (a *ArcServerCredentials) IsConfigured() bool
Click to show internal directories.
Click to hide internal directories.