Documentation ¶
Index ¶
- func ErrorCode(err error) int
- func QueueIDFromQuery(q string) (qid sth.QueueID, err error)
- type CallByQueueID
- type ConfigController
- type InvalidBody
- type InvalidQuery
- type QueueController
- func (ctrl *QueueController) ClearQueue(c *gin.Context) (sth.Result, error)
- func (ctrl *QueueController) DeleteQueue(c *gin.Context) (sth.Result, error)
- func (ctrl *QueueController) PauseQueue(c *gin.Context) (sth.Result, error)
- func (ctrl *QueueController) QueueInfo(c *gin.Context) (sth.Result, error)
- func (ctrl *QueueController) ResumeQueue(c *gin.Context) (sth.Result, error)
- func (ctrl *QueueController) SyncQueue(c *gin.Context) (sth.Result, error)
- func (ctrl *QueueController) ViewQueue(c *gin.Context) (result sth.Result, err error)
- type QueuesController
- func (ctrl *QueuesController) ClearQueues(c *gin.Context) (result sth.Result, err error)
- func (ctrl *QueuesController) DeleteQueues(c *gin.Context) (result sth.Result, err error)
- func (ctrl *QueuesController) Queues(c *gin.Context) (result sth.Result, err error)
- func (ctrl *QueuesController) QueuesInfo(c *gin.Context) (sth.Result, error)
- func (ctrl *QueuesController) ViewQueues(c *gin.Context) (result sth.Result, err error)
- func (ctrl *QueuesController) ViewTopNQueues(c *gin.Context) (result sth.Result, err error)
- type RedisController
- type RequestController
- type RequestWrapperController
- func (ctrl *RequestWrapperController) AddRequestConfig(c *gin.Context) (result sth.Result, err error)
- func (ctrl *RequestWrapperController) DeleteRequestConfig(c *gin.Context) (result sth.Result, err error)
- func (ctrl *RequestWrapperController) GetRequestConfig(c *gin.Context) (result sth.Result, err error)
- func (ctrl *RequestWrapperController) MatchRequestConfig(c *gin.Context) (result sth.Result, err error)
- func (ctrl *RequestWrapperController) TryRequestConfig(c *gin.Context) (result sth.Result, err error)
- type ServController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigController ¶
type ConfigController struct {
// contains filtered or unexported fields
}
ConfigController TODO
func NewConfigController ¶
func NewConfigController(rdsconfig *redisconfig.RedisConfig) *ConfigController
NewConfigController TODO
type InvalidBody ¶
type InvalidBody string
InvalidBody TODO
func (InvalidBody) Error ¶
func (e InvalidBody) Error() string
type InvalidQuery ¶
type InvalidQuery string
InvalidQuery TODO
func (InvalidQuery) Error ¶
func (e InvalidQuery) Error() string
type QueueController ¶
type QueueController struct {
// contains filtered or unexported fields
}
QueueController TODO
func NewQueueController ¶
func NewQueueController(queueBox *queuebox.QueueBox) *QueueController
NewQueueController TODO
func (*QueueController) ClearQueue ¶
ClearQueue TODO
func (*QueueController) DeleteQueue ¶
DeleteQueue TODO
func (*QueueController) PauseQueue ¶
PauseQueue TODO
func (*QueueController) ResumeQueue ¶
ResumeQueue TODO
type QueuesController ¶
type QueuesController struct {
// contains filtered or unexported fields
}
QueuesController TODO
func NewQueuesController ¶
func NewQueuesController(queueBox *queuebox.QueueBox, guard *redisguard.Guard) *QueuesController
NewQueuesController TODO
func (*QueuesController) ClearQueues ¶ added in v0.3.2
ClearQueues TODO
func (*QueuesController) DeleteQueues ¶ added in v0.3.2
DeleteQueues TODO
func (*QueuesController) QueuesInfo ¶
QueuesInfo TODO
func (*QueuesController) ViewQueues ¶
ViewQueues TODO
func (*QueuesController) ViewTopNQueues ¶ added in v0.3.2
ViewTopNQueues TODO
type RedisController ¶
type RedisController struct {
// contains filtered or unexported fields
}
RedisController TODO
func NewRedisController ¶
func NewRedisController(client *redis.Client) *RedisController
NewRedisController TODO
type RequestController ¶
type RequestController struct {
// contains filtered or unexported fields
}
RequestController TODO
func NewRequestController ¶
func NewRequestController(queueBox *queuebox.QueueBox, guard *redisguard.Guard) *RequestController
NewRequestController TODO
func (*RequestController) DequeueRequest ¶ added in v0.3.0
DequeueRequest TODO
func (*RequestController) EnqueueRequest ¶ added in v0.3.0
EnqueueRequest TODO
type RequestWrapperController ¶
type RequestWrapperController struct {
// contains filtered or unexported fields
}
RequestWrapperController TODO
func NewRequestWrapperController ¶
func NewRequestWrapperController(wrapper *reqwrap.RequestWrapper) *RequestWrapperController
NewRequestWrapperController TODO
func (*RequestWrapperController) AddRequestConfig ¶
func (ctrl *RequestWrapperController) AddRequestConfig(c *gin.Context) (result sth.Result, err error)
AddRequestConfig TODO
func (*RequestWrapperController) DeleteRequestConfig ¶
func (ctrl *RequestWrapperController) DeleteRequestConfig(c *gin.Context) (result sth.Result, err error)
DeleteRequestConfig TODO
func (*RequestWrapperController) GetRequestConfig ¶
func (ctrl *RequestWrapperController) GetRequestConfig(c *gin.Context) (result sth.Result, err error)
GetRequestConfig TODO
func (*RequestWrapperController) MatchRequestConfig ¶
func (ctrl *RequestWrapperController) MatchRequestConfig(c *gin.Context) (result sth.Result, err error)
MatchRequestConfig TODO
func (*RequestWrapperController) TryRequestConfig ¶
func (ctrl *RequestWrapperController) TryRequestConfig(c *gin.Context) (result sth.Result, err error)
TryRequestConfig TODO
type ServController ¶
ServController TODO
func NewServController ¶
func NewServController(serv *serv.Serv) *ServController
NewServController TODO