Documentation ¶
Index ¶
- type App
- func (*App) Add(path string, t sif.DataType, r io.Reader, opts ...sif.DescriptorInputOpt) error
- func (*App) Del(path string, id uint32) error
- func (a *App) Dump(path string, id uint32) error
- func (a *App) Header(path string) error
- func (a *App) Info(path string, id uint32) error
- func (a *App) List(path string) error
- func (*App) New(path string) error
- func (*App) Setprim(path string, id uint32) error
- type AppOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App holds state and configured options.
func New ¶
New creates a new App configured with opts.
By default, application output and errors are written to os.Stdout and os.Stderr respectively. To modify this behavior, consider using OptAppOutput and/or OptAppError.
type AppOpt ¶
type AppOpt func(*appOpts) error
AppOpt are used to configure optional behavior.
func OptAppError ¶ added in v2.7.0
OptAppError specifies that errors should be written to w.
func OptAppOutput ¶
OptAppOutput specifies that output should be written to w.
Click to show internal directories.
Click to hide internal directories.