2022-10-15 16:12:32 +08:00
|
|
|
package core
|
|
|
|
|
2022-10-28 23:23:19 +08:00
|
|
|
const (
|
|
|
|
UUIDHeader = "x-runner-uuid"
|
|
|
|
TokenHeader = "x-runner-token"
|
|
|
|
)
|
2022-10-15 16:40:35 +08:00
|
|
|
|
2022-10-15 16:12:32 +08:00
|
|
|
// Runner struct
|
|
|
|
type Runner struct {
|
2022-10-16 23:51:53 +08: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 16:12:32 +08:00
|
|
|
}
|