Directories
¶
| Path | Synopsis |
|---|---|
|
core
|
|
|
hasher
Package hasher wraps the argon2id hashing package to provide a simple interface for hashing and verifying passwords.
|
Package hasher wraps the argon2id hashing package to provide a simple interface for hashing and verifying passwords. |
|
mailer
Package mailer provides a simple interface for sending emails.
|
Package mailer provides a simple interface for sending emails. |
|
server
Package server provides simple and standard utilities for building HTTP servers.
|
Package server provides simple and standard utilities for building HTTP servers. |
|
tasks
Package tasks provides the core contracts for background job definitions.
|
Package tasks provides the core contracts for background job definitions. |
|
validate
Package validate provides a wrapper around the go-playground/validator
|
Package validate provides a wrapper around the go-playground/validator |
|
data
|
|
|
db
Package db provides the database queries and utiltiies around migrations and transactions.
|
Package db provides the database queries and utiltiies around migrations and transactions. |
|
db/migrations
Package migrations handles the database migrations using goose and embedded sql files.
|
Package migrations handles the database migrations using goose and embedded sql files. |
|
dtos
Package dtos contains all of the data transfer objects (DTOs) for the application.
|
Package dtos contains all of the data transfer objects (DTOs) for the application. |
|
observability
|
|
|
logtools
Package logtools provides a common construction for loggers.
|
Package logtools provides a common construction for loggers. |
|
otel
Package otel contains configuration and setup for telemetry
|
Package otel contains configuration and setup for telemetry |
|
Package services contains the main business logic of the application
|
Package services contains the main business logic of the application |
|
emailtemplates
Package emailtemplates provides simple templates for sending emails.
|
Package emailtemplates provides simple templates for sending emails. |
|
Package web contains the web service for the API.
|
Package web contains the web service for the API. |
|
docs
Package docs servces the swagger.json file.
|
Package docs servces the swagger.json file. |
|
extractors
Package extractors contains extractor functions for getting data out of the request.
|
Package extractors contains extractor functions for getting data out of the request. |
|
handlers
Package handlers contains the HTTP handlers for the application endpoints.
|
Package handlers contains the HTTP handlers for the application endpoints. |
|
mid
Package mid contains http middleware for the application.
|
Package mid contains http middleware for the application. |
|
oauth/handlers
Package handlers provides the oauth handlers for the web server.
|
Package handlers provides the oauth handlers for the web server. |
|
oauth/providers
Package providers contains the Oauth2 provider and config structs
|
Package providers contains the Oauth2 provider and config structs |
|
Package worker provides the worker that processes the tasks.
|
Package worker provides the worker that processes the tasks. |
Click to show internal directories.
Click to hide internal directories.