Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentTypeFilter ¶
ContentTypeFilter is a middleware for filtering requests which do not have Content-Type header set to application/json. Firstly checks if any bearer token is in Headers, if yes, then proceed, if no check for correct Content-Type header.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.