Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPrintUsage = fmt.Errorf("")
Functions ¶
Types ¶
type CommandFunc ¶
type CommandFunc func(context.Context, Parameters) error
func (CommandFunc) ExportFlags ¶
func (f CommandFunc) ExportFlags(context.Context, *flag.FlagSet)
func (CommandFunc) Run ¶
func (f CommandFunc) Run(ctx context.Context, params Parameters) error
type Parameters ¶
type Parameters struct { Args []string ConnectParams connect.ConnectParams ConnectTimeout time.Duration // contains filtered or unexported fields }
func (*Parameters) Database ¶
func (p *Parameters) Database() string
func (*Parameters) Prefix ¶
func (p *Parameters) Prefix() string
Click to show internal directories.
Click to hide internal directories.