Documentation
¶
Index ¶
- type Command
- func (c *Command) Flush(cli *cli.Context) error
- func (c Command) GetBeanstalkdClient(cli *cli.Context) (*beanstalkd.BeanstalkdClient, error)
- func (c Command) GetLogger(cli *cli.Context) *log.Logger
- func (c *Command) Monitor(cli *cli.Context) error
- func (c *Command) Peek(cli *cli.Context) error
- func (c *Command) Pop(cli *cli.Context) error
- func (c *Command) Put(cli *cli.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct{}
Command holds data for the cli commands.
func (Command) GetBeanstalkdClient ¶
func (c Command) GetBeanstalkdClient(cli *cli.Context) (*beanstalkd.BeanstalkdClient, error)
GetBeanstalkdClient returns a client object for interacting with a beanstalkd server.
func (Command) GetLogger ¶
GetLogger returns a logrus object according to any flags set in the application parameters.
func (*Command) Monitor ¶
Monitor outputs a overview of server and tube statistics, repeated every second.
Click to show internal directories.
Click to hide internal directories.