camera

package module
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 13 Imported by: 1

README

ip-camera

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shutdown

func Shutdown() error

func Startup

func Startup() error

Types

type Camera

type Camera struct {
	Id string `json:"id" xorm:"pk"`

	ProjectId string `json:"project_id,omitempty" xorm:"index"`
	Project   string `json:"project,omitempty" xorm:"<-"`

	StreamerId string `json:"streamer_id,omitempty" xorm:"index"`
	Streamer   string `json:"streamer,omitempty" xorm:"<-"`

	Name        string    `json:"name"`
	Url         string    `json:"url,omitempty"`
	Description string    `json:"description,omitempty"`
	Audio       bool      `json:"audio,omitempty"`
	Disabled    bool      `json:"disabled,omitempty"`
	Created     time.Time `json:"created,omitempty" xorm:"created"`
}

type Streamer

type Streamer struct {
	Id          string    `json:"id" xorm:"pk"`
	Name        string    `json:"name"`
	Description string    `json:"description,omitempty"`
	Disabled    bool      `json:"disabled,omitempty"`
	Created     time.Time `json:"created,omitempty" xorm:"created"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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