Documentation ¶
Index ¶
Constants ¶
View Source
const LoggerKey = "logger"
Variables ¶
This section is empty.
Functions ¶
func ChiURLParams ¶
func ChiURLParams() func(next rf.HandlerFunc) rf.HandlerFunc
ChiURLParams merges URL params (/books/{id}) into the *http.Request params map for later use. NOTE: this overrides any other GET paramaters with the same key
func RPCRequestOnly ¶
func RPCRequestOnly() func(next rf.HandlerFunc) rf.HandlerFunc
RPCRequestOnly limits all requests to conform to our RPC request standard
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.