bricks: github.com/pace/bricks

Directories

PathSynopsis
backend/objstore
backend/postgresPackage postgres helps creating PostgreSQL connection pools
backend/redisPackage redis helps creating redis connection pools
httpPackage http implements the basic pace microservice handlers and a standard microservice server configured via environment variables.
http/jsonapiPackage jsonapi provides a serializer and deserializer for jsonapi.org spec payloads.
http/jsonapi/generatorPackage generator translates an OpenAPIv3 specification into working go code that handles marshalling, error handling, parameter parsing and validation.
http/jsonapi/runtimePackage runtime contains functions for marshalling, error handling, parameter parsing and validation.
http/oauth2Package oauth2 provides a middelware that introspects the auth token on behalf of PACE services and populate the request context with useful information when the token is valid, otherwise aborts the request.
http/oauth2/middleware
http/oidc
http/security
http/security/apikey
http/transport
localeThe http locale package helps to transport and use the localization information in a microservice landscape.
maintenance/errors
maintenance/errors/ravenPackage raven implements a client for the Sentry error logging service.
maintenance/healthPackage health implements simple checks for readiness and liveness that will be invoked by the loadbalancer frequently
maintenance/health/servicehealthcheck
maintenance/log
maintenance/metricPackage metric returns the prometheus metrics handler
maintenance/metric/jsonapiPackage jsonapi implements the json api related metrics documented here: https://lab.jamit.de/pace/web/meta/wikis/concept/metrics#m2-microservice-any-pace-microservice
maintenance/terminationlogPackage terminationlog helps to fill the kubernetes termination log.
maintenance/tracing
maintenance/tracing/wire
maintenance/util

Updated 2020-07-04. Refresh now. Tools for package owners.