omode

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode int

Mode used.

const (
	Unknown      Mode = iota
	Server       Mode = iota
	TailClient   Mode = iota
	CatClient    Mode = iota
	GrepClient   Mode = iota
	MapClient    Mode = iota
	HealthClient Mode = iota
)

Possible modes.

func Default

func Default() Mode

Default mode.

func New

func New(modeStr string) Mode

New returns the mode based on the mode string.

func (Mode) String

func (m Mode) String() string

Jump to

Keyboard shortcuts

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