package
0.0.0-20250307145209-c3a19bf62e49
Repository: https://github.com/ardanlabs/service.git
Documentation: pkg.go.dev

# Functions

Decode reads the body of an HTTP request and decodes the body into the specified data model.
GetWriter returns the underlying writer for the request.
NewApp creates an App value that handle a set of routes for the application.
NewNoResponse constructs a no reponse value.
Param returns the web call parameters from the request.
Respond sends a response to the client.

# Structs

App is the entrypoint into our application and what configures our context object for each of our http handlers.
NoResponse tells the Respond function to not respond to the request.

# Interfaces

Decoder represents data that can be decoded.
Encoder defines behavior that can encode a data model and provide the content type for that encoding.

# Type aliases

HandlerFunc represents a function that handles a http request within our own little mini framework.
Logger represents a function that will be called to add information to the logs.
MidFunc is a handler function designed to run code before and/or after another Handler.