apollo

module
v0.0.0-...-8d7bd48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: MIT

README

apollo

Projeto base para serviços em GO.

Features

  • Suporte ao postgres usando o Bun
  • Suporte a migrations
  • Observabilidade (logs, traces e metricas)
  • Executáveis separados (api, consumer, job)
  • Script de init (renomeia as coisas para o nome do repo novo)
  • Outbox (c/ Debezium)
  • Inbox

Directories

Path Synopsis
app
services/apollo-api/handlers
Package handlers manages the different versions of the API.
Package handlers manages the different versions of the API.
services/apollo-api/handlers/v1
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
services/apollo-api/handlers/v1/categorygrp
Package categorygrp maintains the group of handlers for category access.
Package categorygrp maintains the group of handlers for category access.
tooling/admin/commands
Package commands contains the functionality for the set of commands currently supported by the CLI tooling.
Package commands contains the functionality for the set of commands currently supported by the CLI tooling.
internal
core/category
Package beer provides an example of a core business API.
Package beer provides an example of a core business API.
data/dbmigrate
Package dbmigrate contains the database schema, migrations and seeding data.
Package dbmigrate contains the database schema, migrations and seeding data.
data/dbtest
Package dbtest contains supporting code for running tests that hit the DB.
Package dbtest contains supporting code for running tests that hit the DB.
sys/database
Package database provides support for access the database.
Package database provides support for access the database.
sys/validate
Package validate contains the support for validating models.
Package validate contains the support for validating models.
web/auth
Package auth provides authentication and authorization support.
Package auth provides authentication and authorization support.
web/debug
Package debug provides handler support for the debugging endpoints.
Package debug provides handler support for the debugging endpoints.
web/debug/checkgrp
Package checkgrp maintains the group of handlers for health checking.
Package checkgrp maintains the group of handlers for health checking.
web/v1
Package v1 represents types used by the web application for v1.
Package v1 represents types used by the web application for v1.
web/v1/mid
Package mid contains the set of middleware functions.
Package mid contains the set of middleware functions.
web/v1/paging
Package paging provides support for query paging.
Package paging provides support for query paging.
kit
docker
Package docker provides support for starting and stopping docker containers for running tests.
Package docker provides support for starting and stopping docker containers for running tests.
logger
Package logger provides a convenience function to constructing a logger for use.
Package logger provides a convenience function to constructing a logger for use.
opentel
Package opentel provides support for create opentelemetry tracer provider with jaeger protocol support.
Package opentel provides support for create opentelemetry tracer provider with jaeger protocol support.
web
Package web contains a small web framework extension.
Package web contains a small web framework extension.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL