package
0.0.0-20240906124643-5ce5b849629e
Repository: https://github.com/mikeydub/go-gallery.git
Documentation: pkg.go.dev

# Functions

AdminRequired is a middleware that checks if the user is authenticated as an admin.
BasicHeaderAuthRequired is a middleware that checks if the request has a Basic Auth header matching the specified password.
BlockRequest is a middleware that blocks posts from being created.
No description provided by the author
ContinueSession is a middleware that manages session cookies.
ErrLogger is a middleware that logs errors.
GinContextToContext is a middleware that adds the Gin context to the request context, allowing the Gin context to be retrieved from within GraphQL resolvers.
HandleCORS sets the CORS headers.
IPRateLimited is a middleware that rate limits requests by IP address.
No description provided by the author
No description provided by the author
No description provided by the author
TaskRequired checks that the request comes from Cloud Tasks.
No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author