config

package
v0.0.0-...-31f725f Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.0.0"

Functions

func Nodename

func Nodename() string

func Nodes

func Nodes() string

func PrintDefaults

func PrintDefaults()

Types

type Config

type Config struct {
	Nodes   []string
	Node    string
	Command string
	Key     string
	Args    []string
	N       int
	Replace string
	OKExit  bool
	Sorted  bool
	Help    string
}

func (*Config) String

func (cfg *Config) String() string

func (*Config) Subset

func (cfg *Config) Subset(nodes []string) []string

func (*Config) Usage

func (cfg *Config) Usage()

Jump to

Keyboard shortcuts

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