Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BodyLimit is the API body limit BodyLimit int // HandleError is the API error handler middleware function HandleError func(next http.Handler) http.Handler // Limit is the API body limit middleware function Limit func(next http.Handler) http.Handler // Authenticate is the API authenticator middleware function Authenticate func(token gojwttoken.Token) func(next http.Handler) http.Handler // AuthenticateAccessToken is the API authenticator middleware function for access tokens AuthenticateAccessToken func(next http.Handler) http.Handler // AuthenticateRefreshToken is the API authenticator middleware function for refresh tokens AuthenticateRefreshToken func(next http.Handler) http.Handler // Validate is the API request validator middleware function Validate func( body interface{}, auxiliaryValidatorFns ...interface{}, ) func(next http.Handler) http.Handler )
View Source
var (
// EnvBodyLimit is the environment variable key for the body limit
EnvBodyLimit = "URU_FRAMEWORKS_SECURE_NOTES_BODY_LIMIT"
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.