Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CLICommand ¶
type CLICommand struct {
Host string `json:"host"`
Port string `json:"port"`
HistoryPath string `json:"history-path"`
// Cloud Auth
ClientID string `json:"client-id"`
Region string `json:"region"`
Email string `json:"email"`
Password string `json:"password"`
OrganizationID string `json:"org-id"`
DatabaseID string `json:"db-id"`
Queryer Queryer `json:"-"`
Stdin io.ReadCloser `json:"-"`
Stdout io.Writer `json:"-"`
Stderr io.Writer `json:"-"`
// contains filtered or unexported fields
}
func NewCLICommand ¶
func NewCLICommand(logdest logger.Logger) *CLICommand
func (*CLICommand) Printf ¶
func (cmd *CLICommand) Printf(format string, a ...any)
Printf is a helper method which sends the given payload to stdout.
type Queryer ¶
type Queryer interface {
Query(org, db, sql string) (*featurebase.WireQueryResponse, error)
}
Click to show internal directories.
Click to hide internal directories.