Versions in this module Expand all Collapse all v0 v0.2.0 Jan 27, 2016 Changes in this version + const DefaultTube + type DeleteCommand struct + Empty bool + Print bool + State string + Tube string + func (c *DeleteCommand) Delete() error + func (c *DeleteCommand) Execute(args []string) error v0.1.0 Feb 19, 2015 Changes in this version + var InfoStyle = gocolorize.NewColor("yellow") + var TitleStyle = gocolorize.NewColor("green") + var TooManyErrorsError = errors.New("Too many errors") + type BuryCommand struct + Num int + Tube string + func (c *BuryCommand) Bury() error + func (c *BuryCommand) Execute(args []string) error + type Command struct + Host string + func (c *Command) GetStatsForTube(tube string) (*TubeStats, error) + func (c *Command) Init() error + func (c *Command) PrintJob(id uint64, body []byte) error + type KickCommand struct + Num int + Tube string + func (c *KickCommand) Execute(args []string) error + func (c *KickCommand) Kick() error + type PeekCommand struct + State string + Tube string + func (c *PeekCommand) Execute(args []string) error + func (c *PeekCommand) Peek() error + type PutCommand struct + Body string + Delay time.Duration + Priority uint32 + TTR time.Duration + Tube string + func (c *PutCommand) Execute(args []string) error + func (c *PutCommand) Put() error + type StatsCommand struct + Tubes string + func (c *StatsCommand) Execute(args []string) error + func (c *StatsCommand) GetStats() (map[string]*TubeStats, error) + func (c *StatsCommand) PrintStats() error + type TailCommand struct + Action string + Tube string + func (c *TailCommand) Execute(args []string) error + func (c *TailCommand) Tail() error v0.0.0 Feb 17, 2015 Changes in this version + const HighSeverity + const LowSeverity + const NormalSeverity + var HighSeverityStyle = gocolorize.NewColor("white:red") + var NormalSeverityStyle = gocolorize.NewColor("green") + var TubeStatsRetrievalError = errors.New("Unable to retrieve tube stats") + type Monitor struct + Host string + func (m *Monitor) Execute(args []string) error + func (m *Monitor) GetStats() (map[string]*TubeStats, error) + func (m *Monitor) GetStatsForTube(tube string) (*TubeStats, error) + func (m *Monitor) Init() error + func (m *Monitor) PrintStats() error + type Tail struct + Host string + Tube string + func (t *Tail) Execute(args []string) error + func (t *Tail) Init() error + func (t *Tail) Tail() error + type TubeStats struct + JobsBuried int + JobsDelayed int + JobsReady int + JobsReserved int + JobsUrgent int + TotalJobs int + Waiting int