Documentation ¶
Index ¶
Constants ¶
View Source
const CustResLogDataKey = "CustResLogData"
CustResLogDataKey is the key to be used in session data store to put any custom response log data.
Variables ¶
This section is empty.
Functions ¶
func CertAtuh ¶
CertAtuh is TLS client-certificate authentication. If successful, certificate common name will stored with the key "userid" in session. If unsuccessful, connection will be closed right away.
func Error ¶
Error is an error/panic handler middleware. Any error/panic is recovered and logged and the error response is returned to the user (auto-generated if none was set).
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router is a request routing middleware.
func (*Router) Middleware ¶
Middleware is the Neptulon middleware method.
Click to show internal directories.
Click to hide internal directories.