Documentation ¶
Index ¶
- Constants
- Variables
- func IsDefaultStreamValue(s string) (b bool)
- func IsFile(fsys fs.FS, s string) (b bool, err error)
- func Reader(s string) (r io.ReadCloser, err error)
- func SetupGammaCli(c *cli.Cli)
- func Writer(s string) (w io.WriteCloser, err error)
- type Coder
- type Context
- type ContextConfig
- type Decoder
- type ExecutorPayload
- type InvalidInStreamArgument
- type JSONCoder
- type JsonRPC
- type MetaFile
- type ParseConfig
- type PathOrPayload
- type Plotter
Constants ¶
View Source
const ( ParseError errors.String = "failed to parse command line arguments" ParseErr errors.String = "failed to parse command line arguments" )
Variables ¶
View Source
var DefaultParser = ParseConfig{ // contains filtered or unexported fields }
View Source
var OsFS = fs.OS()
Functions ¶
func IsDefaultStreamValue ¶
func SetupGammaCli ¶
Types ¶
type ContextConfig ¶
type ContextConfig struct { Logfile string `json:"logfile" toml:"logfile"` GammaPath string `json:"gamma_dir" toml:"gamma_dir"` Executor ExecutorPayload `json:"executor" toml:"executor"` }
type ExecutorPayload ¶
type InvalidInStreamArgument ¶
type InvalidInStreamArgument struct {
Argument string
}
func (InvalidInStreamArgument) Error ¶
func (i InvalidInStreamArgument) Error() (s string)
type ParseConfig ¶
type ParseConfig struct {
// contains filtered or unexported fields
}
func (ParseConfig) Parse ¶
func (p ParseConfig) Parse(pp PathOrPayload, v interface{}) (err error)
func (ParseConfig) ParseStringPayload ¶
func (p ParseConfig) ParseStringPayload(s string, v interface{}) (err error)
type PathOrPayload ¶
type PathOrPayload struct {
// contains filtered or unexported fields
}
func (*PathOrPayload) Set ¶
func (p *PathOrPayload) Set(s string) (err error)
Click to show internal directories.
Click to hide internal directories.