enums

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Frequencies = []Frequency{
		FrequencySingle,
		FrequencyMulti,
	}
)

Frequencies lists the known enum values.

OutputModes lists the known enum values.

Functions

This section is empty.

Types

type Frequency

type Frequency string

Frequency describes the frequencies enum.

const (
	FrequencySingle Frequency = "single"
	FrequencyMulti  Frequency = "multi"
)

Known enum values.

func (Frequency) String

func (v Frequency) String() string

String implements the fmt.Stringer interface.

func (Frequency) Valid

func (v Frequency) Valid() bool

Valid validates the enum.

type OutputMode

type OutputMode string

OutputMode describes the output modes enum.

const (
	OutputModeBatched          OutputMode = "batched"
	OutputModeStreaming        OutputMode = "streaming"
	OutputModeBatchedStreaming OutputMode = "batched_streaming"
)

Known enum values.

func (OutputMode) String

func (v OutputMode) String() string

String implements the fmt.Stringer interface.

func (OutputMode) Valid

func (v OutputMode) Valid() bool

Valid validates the enum.

Jump to

Keyboard shortcuts

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