Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatchResult ¶
type Service ¶
type Service struct {
Matcher *rmap.RulesMap
TemplatesByID map[string]*Template
Stats *statistics.ServiceSync
ID string `json:"id"`
TemplatesEnabled []*Template `json:"templatesEnabled"`
TemplatesDisabled []*Template `json:"templatesDisabled"`
ProxyURL string `json:"proxyURL"`
ForwardURL string `json:"forwardURL"`
ForwardReduced bool `json:"forwardReduced"`
Enabled bool `json:"enabled"`
}
type ServiceStatistics ¶
type ServiceStatistics struct {
BlockedRequests int `json:"blockedRequests"`
ForwardedRequests int `json:"forwardedRequests"`
ReceivedBytes int `json:"receivedBytes"`
SentBytes int `json:"sentBytes"`
HighestProcessingTime int `json:"highestProcessingTime"`
AverageProcessingTime int `json:"averageProcessingTime"`
HighestResponseTime int `json:"highestResponseTime"`
AverageResponseTime int `json:"averageResponseTime"`
}
type Template ¶
type Template struct {
Service *Service
Stats *statistics.TemplateSync
ID string `json:"id"`
Tags []string `json:"tags"`
Source string `json:"source"`
Enabled bool `json:"enabled"`
}
type TemplateStatistics ¶
type TemplateStatistics struct {
Matches int `json:"matches"`
LastMatch time.Time `json:"lastMatch"`
HighestProcessingTime int `json:"highestProcessingTime"`
AverageProcessingTime int `json:"averageProcessingTime"`
HighestResponseTime int `json:"highestResponseTime"`
AverageResponseTime int `json:"averageResponseTime"`
}
Click to show internal directories.
Click to hide internal directories.