Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CassandraSvrFlags = []cli.Flag{ cli.StringFlag{ Name: "ip, i", Value: "0.0.0.0", Usage: "Cassandra Service Listen Address", }, cli.IntFlag{ Name: "port, p", Value: 9000, Usage: "Cassandra Service Listen Port", }, cli.StringFlag{ Name: "conf, c", Value: "./config.json", Usage: "Cassandra Service ConfigS File", }, cli.StringFlag{ Name: "logpath, l", Value: "../log", Usage: "Cassandra Service Log File", }, cli.IntFlag{ Name: "cport, t", Value: 9100, Usage: "Cassandra Service Control Interface Port", }, cli.StringFlag{ Name: "consul, u", Value: "", Usage: "Cassandra server ip", }, } CassandraSvrReloadFlags = []cli.Flag{ cli.StringFlag{ Name: "ips, s", Value: "192.168.32.129,118.89.34.64", Usage: "Cassandra Service List", }, cli.StringFlag{ Name: "ports, p", Value: "10001, 10002, 10003", Usage: "Cassandra Service Control Port", }, } CassandraSvrCmds = []cli.Command{ { Name: "store", Aliases: []string{"s"}, Usage: "Start SailCraft CassandraSvr Version Service", Flags: CassandraSvrFlags, Action: CassandraSvrStart, }, { Name: "reload", Aliases: []string{"r"}, Usage: "Notify SailCraft CassandraSvr reload config", Flags: CassandraSvrReloadFlags, Action: CassandraSvrReload, }, } )
Functions ¶
func CassandraSvrReload ¶
func CassandraSvrStart ¶
func RunWebServ ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.