cmd

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_HOST = "localhost"
	DEFAULT_PORT = 8086
)
View Source
const (
	COMPATIBLE = true
)

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute executes the root command.

Types

type CompatibleCommand

type CompatibleCommand struct {
	// contains filtered or unexported fields
}

the options of command line are compatible with influx v1.x.

func NewCompatibleCommand

func NewCompatibleCommand() *CompatibleCommand

func (*CompatibleCommand) Args

func (c *CompatibleCommand) Args() []string

func (*CompatibleCommand) Bind

func (*CompatibleCommand) Parse

func (c *CompatibleCommand) Parse(args []string) error

func (*CompatibleCommand) Usage

func (c *CompatibleCommand) Usage()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL