package
0.0.0-20241007070122-bf5d5b8180b0
Repository: https://github.com/lordofthemind/htmx_go.git
Documentation: pkg.go.dev

# Functions

Retrieve the strategy with error handling.
NewResponse returns a standardized response and includes request ID from context.

# Structs

DefaultResponseStrategy is a fallback strategy if none is set in the context.
HTMLResponseStrategy implements ResponseStrategy for HTML responses.
JSONResponseStrategy implements ResponseStrategy for JSON responses.
StandardResponse defines the structure for API responses.

# Interfaces

ResponseStrategy defines the interface for responding with different formats.