Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryStats ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(cfg conf.ServerConfig, ipManager IPSyncer, resolver *Upstream) *Server
func (*Server) SetNotifyStartedFunc ¶
func (s *Server) SetNotifyStartedFunc(fn func())
func (*Server) Stats ¶
func (s *Server) Stats() QueryStats
type ServerStat ¶
type Upstream ¶
type Upstream struct {
// contains filtered or unexported fields
}
func NewUpstream ¶
func NewUpstream(cfg conf.UpstreamConfig) *Upstream
func (*Upstream) ServerStats ¶
func (r *Upstream) ServerStats() []ServerStat
Click to show internal directories.
Click to hide internal directories.