Directories ¶
Path | Synopsis |
---|---|
Package api contains the HTTP endpoints of the Karman API.
|
Package api contains the HTTP endpoints of the Karman API. |
apierror
Package apierror provides two things: an implementation of [RFC 9457] and convenience functions that generate the errors returned by the Karman API.
|
Package apierror provides two things: an implementation of [RFC 9457] and convenience functions that generate the errors returned by the Karman API. |
middleware
Package middleware provides some of the middlewares used in the Karman API.
|
Package middleware provides some of the middlewares used in the Karman API. |
schema
Package schema contains HTTP request and response schemas used throughout the Karman API.
|
Package schema contains HTTP request and response schemas used throughout the Karman API. |
cmd
|
|
Package core is the root package for the domain logic of Karman.
|
Package core is the root package for the domain logic of Karman. |
Package migrations contains the database migrations of the Karman project.
|
Package migrations contains the database migrations of the Karman project. |
Package model contains the data models of the Karman.
|
Package model contains the data models of the Karman. |
pkg
|
|
mediatype
Package mediatype provides an implementation of [RFC 6838] media types (also known as mime types).
|
Package mediatype provides an implementation of [RFC 6838] media types (also known as mime types). |
nolog
Package nolog implements a slog.Handler that does nothing.
|
Package nolog implements a slog.Handler that does nothing. |
render
Package render implements parsing and serializing HTTP requests and responses.
|
Package render implements parsing and serializing HTTP requests and responses. |
render/form
Package form implements a request decoder for form data.
|
Package form implements a request decoder for form data. |
render/html
Package html implements a response encoder for HTML data.
|
Package html implements a response encoder for HTML data. |
render/json
Package json implements a request decoder and a response encoder for JSON data.
|
Package json implements a request decoder and a response encoder for JSON data. |
render/raw
Package raw implements a request decoder and a response encoder for raw bytes.
|
Package raw implements a request decoder and a response encoder for raw bytes. |
render/xml
Package xml implements a request decoder and a response necoder for XML data.
|
Package xml implements a request decoder and a response necoder for XML data. |
streamio
Package streamio implements utilities for working with stream data.
|
Package streamio implements utilities for working with stream data. |
Package task TODO: Doc: Common errors
|
Package task TODO: Doc: Common errors |
Package test contains utilities used for testing Karman.
|
Package test contains utilities used for testing Karman. |
data
Package testdata provides utility functions for filling a database with test data.
|
Package testdata provides utility functions for filling a database with test data. |
tools
|
|
Click to show internal directories.
Click to hide internal directories.