config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	Console bool
	Port    int
}

func GetModeFlags

func GetModeFlags() (Flags, error)

type Mode added in v1.0.3

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

func NewMode added in v1.0.3

func NewMode(console bool, port int) *Mode

func (*Mode) Console added in v1.0.3

func (m *Mode) Console() bool

func (*Mode) Port added in v1.0.3

func (m *Mode) Port() string

Jump to

Keyboard shortcuts

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