Versions in this module Expand all Collapse all v1 v1.7.9 Oct 27, 2019 Changes in this version + var ErrBlankCommand = errors.New("empty input") + type CommandLine struct + ChunkSize int + Chunked bool + Client *client.Client + ClientConfig client.Config + ClientVersion string + Database string + Execute string + ForceTTY bool + Format string + Host string + IgnoreSignals bool + Import bool + ImporterConfig v8.Config + Line *liner.State + NodeID int + Port int + Pretty bool + Quit chan struct{} + RetentionPolicy string + ServerVersion string + ShowVersion bool + Ssl bool + Type QueryLanguage + func New(version string) *CommandLine + func (c *CommandLine) Connect(cmd string) error + func (c *CommandLine) ExecuteFluxQuery(query string) error + func (c *CommandLine) ExecuteQuery(query string) error + func (c *CommandLine) FormatResponse(response *client.Response, w io.Writer) + func (c *CommandLine) Insert(stmt string) error + func (c *CommandLine) ParseCommand(cmd string) error + func (c *CommandLine) Run() error + func (c *CommandLine) SetAuth(cmd string) + func (c *CommandLine) SetChunkSize(cmd string) + func (c *CommandLine) SetFormat(cmd string) + func (c *CommandLine) SetPrecision(cmd string) + func (c *CommandLine) SetWriteConsistency(cmd string) + func (c *CommandLine) Settings() + func (c *CommandLine) Version() + type QueryLanguage uint8 + const QueryLanguageFlux + const QueryLanguageInfluxQL + func (l *QueryLanguage) Set(s string) error + func (l *QueryLanguage) String() string