model

package
v0.0.0-...-939b314 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Camera

type Camera struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type Date

type Date string

func (Date) MarshalGQL

func (d Date) MarshalGQL(w io.Writer)

func (*Date) UnmarshalGQL

func (d *Date) UnmarshalGQL(v interface{}) error

type Video

type Video struct {
	ID         string    `json:"id"`
	CameraName string    `json:"cameraName"`
	Date       time.Time `json:"date"`
	Duration   int64     `json:"duration"`
}

Jump to

Keyboard shortcuts

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