bf5e3dc302
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
12 lines
201 B
Go
12 lines
201 B
Go
package core
|
|
|
|
const UUIDHeader = "x-runner-uuid"
|
|
|
|
// Runner struct
|
|
type Runner struct {
|
|
ID int64 `json:"id"`
|
|
UUID string `json:"uuid"`
|
|
Name string `json:"name"`
|
|
Token string `json:"token"`
|
|
}
|