Documentation ¶
Overview ¶
Package beans implements a queue of beanstalk framework
Index ¶
- func GetSeparator(x int, y int) string
- func GetSliceByMapString(m map[string]string) []string
- func ListTubeInfo(t *beanstalk.Tube)
- func ListTubesInfo()
- func Monitor(originTubeNum int)
- func Run()
- func ShowStatus(status *map[string]string)
- func Start()
- func Status()
- func TestPut(tubeName *string)
- func TubeFactoryStart(tubeName string)
- type TubeFactory
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSliceByMapString ¶
GetSliceByMapString 将无序的map转换为slice
Types ¶
type TubeFactory ¶
type TubeFactory struct {
// contains filtered or unexported fields
}
TubeFactory Tube工厂
func NewTubeFactory ¶
func NewTubeFactory(name string, num int, conn *beanstalk.Conn) *TubeFactory
NewTubeFactory 创建Tube工厂
Click to show internal directories.
Click to hide internal directories.