added QueueGetDataBody
This commit is contained in:
@@ -127,6 +127,11 @@ func (c *Cli) QueueGetData(id string) (ret []byte, err error) {
|
||||
ret, err = c.HttpCli().RawGet("/api/v1/queue/getrequest/" + id)
|
||||
return
|
||||
}
|
||||
|
||||
func (c *Cli) QueueGetDataBody(id string) (ret []byte, err error) {
|
||||
ret, err = c.HttpCli().RawGet("/api/v1/queue/getrequestbody/" + id)
|
||||
return
|
||||
}
|
||||
func (c *Cli) QueueGetMyData() ([]byte, error) {
|
||||
return c.QueueGetData(os.Getenv("REPLAY_QUEUEID"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user