2022-10-15 03:12:32 -05:00
|
|
|
package core
|
|
|
|
|
2022-10-28 10:23:19 -05:00
|
|
|
const (
|
|
|
|
UUIDHeader = "x-runner-uuid"
|
|
|
|
TokenHeader = "x-runner-token"
|
|
|
|
)
|
2022-10-15 03:40:35 -05:00
|
|
|
|
2022-10-15 03:12:32 -05:00
|
|
|
// Runner struct
|
|
|
|
type Runner struct {
|
2022-10-16 10:51:53 -05:00
|
|
|
ID int64 `json:"id"`
|
|
|
|
UUID string `json:"uuid"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Token string `json:"token"`
|
|
|
|
ForgeInstance string `json:"forge_instance"`
|
2022-10-15 03:12:32 -05:00
|
|
|
}
|