recording

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(r *gin.Engine, ws *web.Service)

Bind to webservice

Types

type Recording added in v0.2.0

type Recording struct {
	ID        uuid.UUID `json:"id" example:"dffe2c0e-3713-4399-8ee2-279becbbb06e"`
	CreatedAt time.Time `json:"created_at" example:"2020-12-10T19:00:00.000000+01:00"`
	// attributes
	CommonName string        `json:"common_name" example:"2020-12-polizeigewalt"`
	Poster     string        `` /* 139-byte string literal not displayed */
	Preview    string        `` /* 142-byte string literal not displayed */
	Duration   time.Duration `json:"duration"`
	Public     bool          `json:"public"`
	Listed     bool          `json:"listed"`
	EventID    *uuid.UUID    `json:"event_id" gorm:"type:uuid"`
	Tags       []uuid.UUID   `json:"tags,omitempty" example:"df1555f5-7046-4f7a-adcc-195b73949723,0bca0cf4-a9b9-46d7-821f-18c59c08fc1d"`
	Speakers   []uuid.UUID   `json:"speakers,omitempty" example:"b778369e-d44f-4d15-bf79-a9e8faec022d,09120c00-acb6-4865-b1b5-6bf39963e47f"`
}

Recording struct

func (*Recording) Model added in v0.2.0

func (s *Recording) Model() *models.Recording

Jump to

Keyboard shortcuts

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