mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-02 14:46:31 +00:00
11 lines
400 B
Go
11 lines
400 B
Go
|
package model
|
||
|
|
||
|
type Agent struct {
|
||
|
ID int64 `json:"id" meddler:"agent_id,pk"`
|
||
|
Address string `json:"address" meddler:"agent_addr"`
|
||
|
Platform string `json:"platform" meddler:"agent_platform"`
|
||
|
Capacity int `json:"capacity" meddler:"agent_capacity"`
|
||
|
Created int64 `json:"created_at" meddler:"agent_created"`
|
||
|
Updated int64 `json:"updated_at" meddler:"agent_updated"`
|
||
|
}
|