Versions in this module Expand all Collapse all v5 v5.0.1 Jul 28, 2026 Changes in this version + const RoutePrefix + func Call[Req, Resp any](parseCtx context.Context, parseName string, parseReq Req) (Resp, error) + func Configure(parseBaseURL string) + func Endpoint(parseName string) string + func Handle[Req, Resp any](parseMux *http.ServeMux, parseName string, ...) + func SetCSRFProtection(parseEnabled bool) + func SetClient(parseClient *http.Client) + func SetErrorLogger(parseLogger func(parseName string, parseErr error)) + func SetMaxRequestBytes(parseLimit int64) + type ServerError struct + Message string + Status int + func (parseE *ServerError) Error() string + type StatusError struct + Message string + Status int + func BadRequest(parseMessage string) *StatusError + func Conflict(parseMessage string) *StatusError + func Forbidden(parseMessage string) *StatusError + func NewStatusError(parseStatus int, parseMessage string) *StatusError + func NotFound(parseMessage string) *StatusError + func Unauthorized(parseMessage string) *StatusError + func UnprocessableEntity(parseMessage string) *StatusError + func (parseE *StatusError) Error() string Other modules containing this package github.com/monstercameron/GoWebComponents/v4