mirror of
https://github.com/FlipsideCrypto/convox.git
synced 2026-02-06 19:07:13 +00:00
19 lines
395 B
Go
19 lines
395 B
Go
package structs
|
|
|
|
type Balancer struct {
|
|
Name string `json:"name"`
|
|
Endpoint string `json:"endpoint"`
|
|
Ports BalancerPorts `json:"ports"`
|
|
Service string `json:"service"`
|
|
}
|
|
|
|
type Balancers []Balancer
|
|
|
|
type BalancerPort struct {
|
|
Protocol string `json:"protocol"`
|
|
Source int `json:"source"`
|
|
Target int `json:"target"`
|
|
}
|
|
|
|
type BalancerPorts []BalancerPort
|