commands

package
v0.0.0-...-1871c23 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateIndex = cli.Command{
	Name:        "create_index",
	Usage:       "Create search index",
	Description: "",
	Action:      createIndexFunc,
	Flags:       []cli.Flag{},
}
View Source
var CreateUsersIndex = cli.Command{
	Name:        "create_users_index",
	Usage:       "Will create `user` index in ES",
	Description: "",
	Action:      createUsersIndexFunc,
	Flags:       []cli.Flag{},
}
View Source
var DeleteIndex = cli.Command{
	Name:        "delete_index",
	Usage:       "Will delete elastic search index",
	Description: "",
	Action:      deleteIndexFunc,
	Flags:       []cli.Flag{},
}
View Source
var StartAll = cli.Command{
	Name:        "start-all",
	Usage:       "Starts backend and web server",
	Description: "",
	Action:      startAll,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "tcp-dsn",
			Usage: "Use different TCP host and port. Default is :27077",
		},
		cli.StringFlag{
			Name:  "http-dsn",
			Usage: "Use different HTTP host and port. Default is :27078",
		},
		cli.StringFlag{
			Name:  "webui-dsn",
			Usage: "Use different host and port for webio. Default is :3000",
		},
	},
}
View Source
var StartBackendServer = cli.Command{
	Name:   "backend",
	Usage:  "Starts TCP server to accept logs from clients",
	Action: startBackendServer,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "tcp-dsn",
			Usage: "Use different TCP host and port. Default is :27077",
		},
		cli.StringFlag{
			Name:  "http-dsn",
			Usage: "Use different HTTP host and port. Default is :27078",
		},
	},
}
View Source
var StartWebServer = cli.Command{
	Name:        "web",
	Usage:       "Starts web-ui server",
	Description: "",
	Action:      startWebServer,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "webui-dsn",
			Usage: "Use different host and port for webio. Default is :3000",
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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