package
0.0.0-20221112035751-3d067a8c9f04
Repository: https://github.com/crossedbot/common.git
Documentation: pkg.go.dev

# Functions

GetParameters returns the context values as Parameters.
JsonResponse encodes and writes a JSON response using the given data object.
New returns a server at the given address.
NewHandler wraps the HandlerFunc and returns a Handler.
SetResponseHeader is a header setting that sets the response header key-value pair.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Error represents a error response.
Parameter represents a single URL parameter's key-value pair.
Route respresents a HTTP API route.

# Interfaces

Server is interface that represents an HTTP server.

# Type aliases

Handler represents an HTTP handler method.
Parameters represents a list of URL parameters.
ResponseSetting can be used to configure a repsonse writer.