config

package
v0.0.0-...-680530f Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const USAGE = `
usage: monitor [options] command
  options:
    -f (required) secify file path
`

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FilePaths []string
	Cmd       string
}

func NewConfig

func NewConfig() (*Config, error)

type ConfigParseError

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

func (ConfigParseError) Error

func (e ConfigParseError) Error() string

type FilePathOption

type FilePathOption []string

func (*FilePathOption) Set

func (o *FilePathOption) Set(s string) error

func (*FilePathOption) String

func (o *FilePathOption) String() string

Jump to

Keyboard shortcuts

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