Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressTable ¶
type DNSRequestRecorder ¶
type DNSRequestRecorder interface {
RecordRequest()
}
type MetricsRecorder ¶
type MetricsRecorder struct {
// contains filtered or unexported fields
}
func (*MetricsRecorder) Getter ¶
func (m *MetricsRecorder) Getter() (float64, error)
func (*MetricsRecorder) RecordRequest ¶
func (m *MetricsRecorder) RecordRequest()
type MetricsSender ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(addressTable AddressTable, config *config.Config, dnsRequestRecorder DNSRequestRecorder, metricsSender MetricsSender, logger lager.Logger) *Server
Click to show internal directories.
Click to hide internal directories.