Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceDef ¶
type ServiceDef struct { To string Upstream string UseHttps bool SkipTlsVerify bool SrvUrls []string }
Struct to hold service definition along with parsed tags
type ServiceGroup ¶ added in v0.6.0
type ServiceGroup struct { To string Upstream string UseHttps bool SkipTlsVerify bool Services []*ServiceDef }
func NewServiceGroup ¶ added in v0.6.0
func NewServiceGroup() *ServiceGroup
type ServiceParser ¶
type ServiceParser struct {
// contains filtered or unexported fields
}
func (*ServiceParser) ParseServices ¶ added in v0.5.0
func (p *ServiceParser) ParseServices(services map[string][]string) *Services
type Services ¶ added in v0.5.0
type Services struct { ServiceGroups map[string]*ServiceGroup Services []*ServiceDef }
Struct to hold all service groups and services
Click to show internal directories.
Click to hide internal directories.