forgejo-runner/core/runner.go

13 lines
279 B
Go
Raw Normal View History

package core
const UUIDHeader = "x-runner-uuid"
// Runner struct
type Runner struct {
2022-10-16 16:51:53 +01:00
ID int64 `json:"id"`
UUID string `json:"uuid"`
Name string `json:"name"`
Token string `json:"token"`
ForgeInstance string `json:"forge_instance"`
}