Categorygithub.com/coffyg/octo
modulepackage
0.0.58
Repository: https://github.com/coffyg/octo.git
Documentation: pkg.go.dev

# README

Lazy Simple HTTP Framework

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
NewResponseWriterWrapper initializes a new ResponseWriterWrapper.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
1) Defer buffer allocation in rwriter.go.
2) Check logger != nil in ctx.go (guard logging statements).
3) Add simple security headers in router.go.

# Structs

APIError represents an API error with a message and HTTP status code.
BaseResult is the standard response format.
No description provided by the author
Group represents a group of routes with a common prefix and middleware.
ResponseWriterWrapper wraps http.ResponseWriter and captures response data.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author