woodpecker/common/agent.go
2015-04-29 19:57:43 -07:00

9 lines
230 B
Go

package common
// Agent represents a worker that has connected
// to the system in order to perform work
type Agent struct {
Name string `json:"name"`
Addr string `json:"addr"`
IsHealthy bool `json:"is_healthy"`
}