Documentation ¶
Index ¶
- func JWT(publicKey *rsa.PublicKey) (*jwtmiddleware.JWTMiddleware, error)
- func MakeAuthenticatedRequest(h http.HandlerFunc, userId, method, path, body string) *httptest.ResponseRecorder
- func MakeAuthenticatedRequestWithPattern(h http.HandlerFunc, pattern, userId, method, path, body string) *httptest.ResponseRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JWT ¶
func JWT(publicKey *rsa.PublicKey) (*jwtmiddleware.JWTMiddleware, error)
func MakeAuthenticatedRequest ¶
func MakeAuthenticatedRequest(h http.HandlerFunc, userId, method, path, body string) *httptest.ResponseRecorder
func MakeAuthenticatedRequestWithPattern ¶
func MakeAuthenticatedRequestWithPattern(h http.HandlerFunc, pattern, userId, method, path, body string) *httptest.ResponseRecorder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.