act_runner/core/runner.go

16 lines
280 B
Go
Raw Normal View History

package core
const (
UUIDHeader = "x-runner-uuid"
TokenHeader = "x-runner-token"
)
// Runner struct
type Runner struct {
2022-11-16 11:08:12 +01:00
ID int64 `json:"id"`
UUID string `json:"uuid"`
Name string `json:"name"`
Token string `json:"token"`
Address string `json:"address"`
}