mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2024-12-18 20:02:45 +03:00
d178051832
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
15 lines
317 B
Go
15 lines
317 B
Go
package core
|
|
|
|
const (
|
|
UUIDHeader = "x-runner-uuid"
|
|
TokenHeader = "x-runner-token"
|
|
)
|
|
|
|
// Runner struct
|
|
type Runner struct {
|
|
ID int64 `json:"id"`
|
|
UUID string `json:"uuid"`
|
|
Name string `json:"name"`
|
|
Token string `json:"token"`
|
|
ForgeInstance string `json:"forge_instance"`
|
|
}
|