alfred

package
v0.0.0-...-1ac3047 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Output   = "OUTPUT"
	Duration = "DURATION"
	FadeIn   = "FADEIN"
	FadeOut  = "FADEOUT"
	Debug    = "DEBUG"
)

Variables

View Source
var Create = func(name, t string) *template.Template {
	return template.Must(template.New(name).Parse(t))
}

Functions

func GetDebug

func GetDebug(wf *aw.Workflow) bool

func GetDuration

func GetDuration(wf *aw.Workflow) string

func GetFadein

func GetFadein(wf *aw.Workflow) string

func GetFadeout

func GetFadeout(wf *aw.Workflow) string

func GetHelp

func GetHelp(wf *aw.Workflow) string

func GetOutput

func GetOutput(wf *aw.Workflow) string

func StoreOngoingProcess

func StoreOngoingProcess(wf *aw.Workflow, prop Process) error

func StoreOngoingRingTone

func StoreOngoingRingTone(wf *aw.Workflow, prop RingTone) error

Types

type M4a

type M4a struct {
	Title     string `json:"title"`
	Name      string `json:"name"`
	Info      string `json:"info"`
	CreatedAt int64  `json:"createdAt"`
}

type Process

type Process struct {
	URL     string `json:"url"`
	Title   string `json:"title"`
	Step    string `json:"step"`
	Process string `json:"process"`
}

func LoadOngoingProcess

func LoadOngoingProcess(wf *aw.Workflow) (Process, error)

type RingTone

type RingTone struct {
	Items map[string]M4a `json:"items"`
}

func LoadOngoingRingTone

func LoadOngoingRingTone(wf *aw.Workflow) (RingTone, error)

Jump to

Keyboard shortcuts

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