refactor - pasdns can now look sane 3.0
This commit is contained in:
parent
57fbfbf059
commit
61f89c8067
7 changed files with 3 additions and 3 deletions
|
|
@ -1,17 +0,0 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
pas "git.gay/exhq/pas/src"
|
||||
"git.gay/exhq/pas/src/Constants"
|
||||
)
|
||||
|
||||
func main() {
|
||||
err := pas.StartServer(42069, func(request Constants.Request, respond func(Constants.Response)) {
|
||||
respond(Constants.Response{OperationSuccessClassification: Constants.OK, ResponseHeader: map[string]string{}, Body: "say gex"})
|
||||
}, nil)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue