Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ARMRequestCtx ¶
ARMRequestCtx is a middleware handler that adds an ARM request context to an incoming request. It takes in a pathBase and location string and returns a function that takes in an http.Handler. If the location string is empty, it will panic. Otherwise, it will attempt to create an ARM request context from the request and location strings. If it fails, it will return a bad request response. If successful, it will add the ARM request context to the request and pass it to the http.Handler.
func WithOperationType ¶
WithOperationType is the middleware to inject operation type to the http request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.