chore(runner): add runner uuid in http header.

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu
2022-10-15 16:40:35 +08:00
committed by Jason Song
parent a503f7429f
commit bf5e3dc302
3 changed files with 21 additions and 2 deletions

View File

@ -1,5 +1,7 @@
package core
const UUIDHeader = "x-runner-uuid"
// Runner struct
type Runner struct {
ID int64 `json:"id"`