woodpecker/common/agent.go

10 lines
230 B
Go
Raw Normal View History

2015-04-29 22:26:22 +00:00
package common
// Agent represents a worker that has connected
// to the system in order to perform work
type Agent struct {
2015-04-30 02:57:43 +00:00
Name string `json:"name"`
Addr string `json:"addr"`
IsHealthy bool `json:"is_healthy"`
2015-04-29 22:26:22 +00:00
}