1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

fix golint warnings

This commit is contained in:
Timothy 2017-10-27 11:59:57 +08:00
parent e0bde61c5c
commit 4472bc9e0e
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ type IHandler interface {
DomainLoop(domain *godns.Domain, panicChan chan<- godns.Domain)
}
// CreateHandler creates dns handler by different providers
func CreateHandler(provider string) IHandler {
var handler IHandler

View File

@ -25,6 +25,7 @@ type HEHandler struct {
Configuration *godns.Settings
}
// SetConfiguration pass dns settings and store it to handler instance
func (handler *HEHandler) SetConfiguration(conf *godns.Settings) {
handler.Configuration = conf
}