Documentation ¶
Index ¶
- func CSRFToken(ctx context.Context, rw http.ResponseWriter, req *http.Request) error
- func FilterCookie(ctx context.Context, rw http.ResponseWriter, req *http.Request)
- func FilterHeader(ctx context.Context, w http.ResponseWriter, req *http.Request)
- func ReplaceOldCookie(ctx context.Context, rw http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterCookie ¶
filter session cookie which is exist in redis, put it at req.context
func FilterHeader ¶
FilterHeader remove internal header if exist in request
func ReplaceOldCookie ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.