package
0.0.0-20240829064013-d047873ad117
Repository: https://github.com/dynastymasra/go-library.git
Documentation: pkg.go.dev

# Functions

AddSecurityHeaders is a middleware function that adds security headers to the HTTP response.
ContentTypeJSON is a middleware function that checks if the request's content type is application/json.
ContentTypeUTF8 is a middleware function that checks if the request's content type is charset=utf-8.
LogRequestWithZerolog is a middleware function that logs HTTP requests and responses.

# Structs

Service represents a service with a name and version.