17 lines
379 B
Go
17 lines
379 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
pas "git.gay/exhq/pas"
|
|
"git.gay/exhq/pas/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)
|
|
}
|
|
}
|