Directories ¶
Path | Synopsis |
---|---|
app
|
|
services/sales-api/handlers
Package handlers manages the different versions of the API.
|
Package handlers manages the different versions of the API. |
services/sales-api/handlers/debug/checkgrp
Package checkgrp maintains the group of handlers for health checking (liveliness and rediness probe in k8s).
|
Package checkgrp maintains the group of handlers for health checking (liveliness and rediness probe in k8s). |
services/sales-api/handlers/v1/testgrp
Package checkgrp maintains the group of handlers for health checking (liveliness and rediness probe in k8s).
|
Package checkgrp maintains the group of handlers for health checking (liveliness and rediness probe in k8s). |
services/sales-api/handlers/v1/usergrp
Package usergrp maintains the group of handlers for user access.
|
Package usergrp maintains the group of handlers for user access. |
tooling/logfmt
This program takes the structured log output and makes it readable.
|
This program takes the structured log output and makes it readable. |
business
|
|
core/user
Package user provides an example of a core business API.
|
Package user provides an example of a core business API. |
data/schema
Package dbschema contains the database schema, migrations and seeding data.
|
Package dbschema contains the database schema, migrations and seeding data. |
data/store/user
Package user contains user related CRUD functionalities
|
Package user contains user related CRUD functionalities |
data/tests
Package tests contains supporting code for running tests.
|
Package tests contains supporting code for running tests. |
sys/auth
Package auth provides authentication and authorization support.
|
Package auth provides authentication and authorization support. |
sys/database
Package database provides support for access the database.
|
Package database provides support for access the database. |
sys/metrics
Package metrics cosntructs the metrics the application will track.
|
Package metrics cosntructs the metrics the application will track. |
sys/validate
Package validate contains the support for validating models.
|
Package validate contains the support for validating models. |
web/mid
Package mid contains the set of middleware functions.
|
Package mid contains the set of middleware functions. |
foundation
|
|
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. |
keystore
Package keystore implements the auth.KeyStore interface.
|
Package keystore implements the auth.KeyStore interface. |
logger
Package logger provides a convience function to constructing a logger for use.
|
Package logger provides a convience function to constructing a logger for use. |
web
Package web contains a small web framework extension.
|
Package web contains a small web framework extension. |
Click to show internal directories.
Click to hide internal directories.