Versions in this module Expand all Collapse all v0 v0.2.0 Oct 27, 2026 v0.1.0 Oct 16, 2026 Changes in this version + func WriteText(ctx context.Context, w http.ResponseWriter, httpStatus int, message string) + type Controller struct + func NewController() Controller + func (c Controller) WriteError(ctx context.Context, w http.ResponseWriter, err error) + func (c Controller) WriteJSON(ctx context.Context, w http.ResponseWriter, httpStatus int, data any) + func (c Controller) WriteText(ctx context.Context, w http.ResponseWriter, httpStatus int, message string) + type ErrorResponse struct + Args []jsontext.Value + ErrorCode int + Message string