Versions in this module Expand all Collapse all v0 v0.2.0 Jun 30, 2017 Changes in this version + const GATEWAY + type Record struct + CleanName string + ID string + IP string + Parent string + Port string + ProxyRecord bool + Weight float64 + type RecordEvent struct + Action string + func BuildRecordEvent(act, id, parent, ip, port string, weight float64, isProxyRecord bool) *RecordEvent + func (ev *RecordEvent) String() string + type Resolver struct + func NewResolver(cfg *config.DNS) *Resolver + func (r *Resolver) EmitChange(ev *RecordEvent) + func (r *Resolver) Forward(req *dns.Msg) (reply *dns.Msg, err error) + func (r *Resolver) Start() error + func (s *Resolver) ApiServe(r *gin.RouterGroup)