lemons

package
v0.0.0-...-5e1585b Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Juicer

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

func NewJuicer

func NewJuicer(mixingFormat string) *Juicer

func (*Juicer) AddLemon

func (jui *Juicer) AddLemon(lemon Lemon, timeout time.Duration)

func (*Juicer) ForceSqueeze

func (jui *Juicer) ForceSqueeze(lemonIdentifier string)

func (*Juicer) MixJuice

func (jui *Juicer) MixJuice() string

func (*Juicer) WaitForJuice

func (jui *Juicer) WaitForJuice()

type JuicerSlot

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

func (*JuicerSlot) AddLemon

func (slot *JuicerSlot) AddLemon(lemon Lemon)

func (*JuicerSlot) ForceSqueeze

func (slot *JuicerSlot) ForceSqueeze(lemonIdentifier string)

func (*JuicerSlot) Run

func (slot *JuicerSlot) Run()

type Lemon

type Lemon interface {
	Identifier() string
	Squeeze() string
}

func NewRunnerLemon

func NewRunnerLemon(identifier string, command string) Lemon

type RunnerLemon

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

func (*RunnerLemon) Identifier

func (rul *RunnerLemon) Identifier() string

func (*RunnerLemon) Squeeze

func (rul *RunnerLemon) Squeeze() string

Jump to

Keyboard shortcuts

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