arc

package
v0.0.0-...-b7e086b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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