preset

package
v0.0.0-...-50a2d83 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Preset

type Preset struct {
	// contains filtered or unexported fields
}

func New

func New(basic *basic.Basic, presets dsd.PresetSlice) *Preset

func (*Preset) Delete

func (p *Preset) Delete(id dsd.PresetID) error

func (*Preset) DeleteAll

func (p *Preset) DeleteAll() error

func (*Preset) List

func (p *Preset) List() dsd.PresetSlice

func (*Preset) Set

func (p *Preset) Set(id dsd.PresetID, name string) error

func (*Preset) Start

func (p *Preset) Start(ctx context.Context, id dsd.PresetID) error

func (*Preset) Update

func (p *Preset) Update(id dsd.PresetID, name string) error

Jump to

Keyboard shortcuts

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