earbug

package
v0.0.0-...-56f6100 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(a *App, r yrun.HTTPRegistrar)

Types

type App

type App struct {

	// inserted
	AuthN yrun.HTTPInterceptor
	AuthZ func(cel.Program) yrun.HTTPInterceptor
	// contains filtered or unexported fields
}

func New

func New(c Config, bkt *blob.Bucket, o yrun.O11y) (*App, error)

func (*App) FillAudioFeatures

func (a *App) FillAudioFeatures() error

func (*App) Update

func (a *App) Update() error

type Config

type Config struct {
	Host string

	Oauth2 oauth2.Config

	Key string

	PublicID int64

	UpdateFreq time.Duration
}

type DisplayPlayback

type DisplayPlayback struct {
	StartTime    time.Time
	PlaybackTime time.Duration
	Track        *earbugv5.Track
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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