app

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP  = "imc"
	DESC = "Icecast Mission Control"
	VER  = "1.2.2"
)
View Source
const (
	OPT_HOST     = "H:host"
	OPT_USER     = "U:user"
	OPT_PASS     = "P:password"
	OPT_INTERVAL = "i:interval"
	OPT_NO_COLOR = "nc:no-color"
	OPT_HELP     = "h:help"
	OPT_VER      = "v:version"

	OPT_VERB_VER     = "vv:verbose-version"
	OPT_COMPLETION   = "completion"
	OPT_GENERATE_MAN = "generate-man"
)

Variables

This section is empty.

Functions

func Run added in v1.2.2

func Run(gitRev string, gomod []byte)

Run is main application function

Types

type GUI

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

func NewGUI

func NewGUI() *GUI

NewGUI initialize new GUI struct

func (*GUI) Render

func (g *GUI) Render()

Render renders GUI elements

func (*GUI) Update

func (g *GUI) Update()

Update updates data in all GUI elements

Jump to

Keyboard shortcuts

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