diff options
Diffstat (limited to 'handlers/portgate.go')
| -rw-r--r-- | handlers/portgate.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/handlers/portgate.go b/handlers/portgate.go new file mode 100644 index 0000000..9d4f3ef --- /dev/null +++ b/handlers/portgate.go @@ -0,0 +1,10 @@ +package handlers + +import "github.com/valyala/fasthttp" + +// handlePortgateRequest handles all Portgate specific request for either showing Portgate +// specific pages or handling creation of authorization tokens. +func (h *RequestHandler) handlePortgateRequest(ctx *fasthttp.RequestCtx) { + // TODO: Implement authentication, authorization + _, _ = ctx.WriteString("Portgate request.") +} |
