Documentation
¶
Index ¶
- Constants
- func CreateSerfInstance(conf *serf.Config, clock uint64, members []string, ...) (*serf.Serf, error)
- func HideQueryPassword(url string) string
- func IsSingle() bool
- func RemovePIDFile(pidfile string)
- func SwitchToSingle()
- func WritePIDFile(pidfile string) error
- type BuildInfo
- type Command
- type Options
- type Server
Constants ¶
View Source
const METALOGO = `` /* 410-byte string literal not displayed */
View Source
const MONITORLOGO = `` /* 565-byte string literal not displayed */
View Source
const MetaUsage = `` /* 642-byte string literal not displayed */
View Source
const MonitorUsage = `` /* 657-byte string literal not displayed */
View Source
const SQLLOGO = `` /* 305-byte string literal not displayed */
View Source
const STORELOGO = `` /* 441-byte string literal not displayed */
View Source
const SqlUsage = `` /* 643-byte string literal not displayed */
View Source
const StoreUsage = `` /* 647-byte string literal not displayed */
View Source
const TSSERVER = `` /* 517-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func CreateSerfInstance ¶
func HideQueryPassword ¶
func RemovePIDFile ¶
func RemovePIDFile(pidfile string)
func SwitchToSingle ¶
func SwitchToSingle()
func WritePIDFile ¶
Types ¶
type Command ¶
type Command struct { Logo string Usage string Pidfile string Closed chan struct{} Logger *logger.Logger Command *cobra.Command ServiceName string Server Server Config config.Config NewServerFunc func(config.Config, *cobra.Command, *logger.Logger) (Server, error) // contains filtered or unexported fields }
Command represents the command executed by "ts-xxx run".
func NewCommand ¶
func NewCommand() *Command
type Options ¶
type Options struct { SpdyConfigPath string ConfigPath string PIDFile string Join string Hostname string }
Options represents the command line options that can be parsed.
func ParseFlags ¶
func (*Options) GetConfigPath ¶
func (*Options) GetSpdyConfigPath ¶
Click to show internal directories.
Click to hide internal directories.