responder

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Envelope

type Envelope map[string]any

type Responder

type Responder struct {
	// contains filtered or unexported fields
}

func New added in v0.7.0

func New(logger *slog.Logger) *Responder

func (*Responder) LogError added in v0.7.0

func (h *Responder) LogError(r *http.Request, err error)

Directories

Path Synopsis
Package json provides utilities for handling JSON requests and responses in HTTP handlers.
Package json provides utilities for handling JSON requests and responses in HTTP handlers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL