refactor - pasdns can now look sane 6.0
This commit is contained in:
parent
c6087f6432
commit
e48aef159f
2 changed files with 4 additions and 4 deletions
6
main.go
6
main.go
|
@ -7,9 +7,9 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"git.gay/exhq/pas/src/Constants"
|
"git.gay/exhq/pas/Constants"
|
||||||
"git.gay/exhq/pas/src/helper"
|
"git.gay/exhq/pas/helper"
|
||||||
"git.gay/exhq/pas/src/parser"
|
"git.gay/exhq/pas/parser"
|
||||||
)
|
)
|
||||||
|
|
||||||
func StartServer(port int, handler func(request Constants.Request, response func(Constants.Response)), errr error) error {
|
func StartServer(port int, handler func(request Constants.Request, response func(Constants.Response)), errr error) error {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"git.gay/exhq/pas/src/Constants"
|
"git.gay/exhq/pas/Constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
func CheckIpSyntax(ip string) bool {
|
func CheckIpSyntax(ip string) bool {
|
||||||
|
|
Loading…
Reference in a new issue