added QueueGetDataBody
parent
03930d5821
commit
18801a7b94
|
@ -127,6 +127,11 @@ func (c *Cli) QueueGetData(id string) (ret []byte, err error) {
|
||||||
ret, err = c.HttpCli().RawGet("/api/v1/queue/getrequest/" + id)
|
ret, err = c.HttpCli().RawGet("/api/v1/queue/getrequest/" + id)
|
||||||
return
|
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) {
|
func (c *Cli) QueueGetMyData() ([]byte, error) {
|
||||||
return c.QueueGetData(os.Getenv("REPLAY_QUEUEID"))
|
return c.QueueGetData(os.Getenv("REPLAY_QUEUEID"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue