Documentation
¶
Overview ¶
Package api provides controllers for each api endpoint. Controllers are "dumb wiring"; there is little to no application logic in this package. Controllers call and coordinate other packages to satisfy the api endpoint. Authentication and authorization happen in controllers.
Index ¶
Constants ¶
View Source
const (
API_ROOT = "/api/v1/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API provides controllers for endpoints it registers with a router. It satisfies the http.HandlerFunc interface.
Click to show internal directories.
Click to hide internal directories.