Documentation ¶ Index ¶ type Queue func New(url string) *Queue func (q *Queue) InQueue(queue_name, data string) bool func (q *Queue) OutQueue(queue_name string) string func (q *Queue) QueueInfo(queue_name string) *QueueInfo type QueueInfo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Queue ¶ type Queue struct { Url string HttpUtil *httpUtils.HttpUtil } func New ¶ func New(url string) *Queue func (*Queue) InQueue ¶ func (q *Queue) InQueue(queue_name, data string) bool func (*Queue) OutQueue ¶ func (q *Queue) OutQueue(queue_name string) string func (*Queue) QueueInfo ¶ func (q *Queue) QueueInfo(queue_name string) *QueueInfo type QueueInfo ¶ type QueueInfo struct { Name string `json:"name"` Maxqueue int `json:"maxqueue"` Putpos int `json:"putpos"` Putlap int `json:"putlap"` Getpos int `json:"getpos"` Getlap int `json:"getlap"` Unread int `json:"unread"` } Source Files ¶ View all Source files httpsqs.go Click to show internal directories. Click to hide internal directories.