Directories ¶
Path | Synopsis |
---|---|
app
|
|
services/api/v1
Package v1 manages the different versions of the API.
|
Package v1 manages the different versions of the API. |
services/api/v1/handlers/checkgrp
Package checkgrp maintains the group of handlers for health checking.
|
Package checkgrp maintains the group of handlers for health checking. |
services/api/v1/handlers/divisiongrp
Package divisiongrp ...
|
Package divisiongrp ... |
services/api/v1/handlers/usergrp
Package usergrp maintains the group of handlers for user access.
|
Package usergrp maintains the group of handlers for user access. |
services/api/v1/paging
Package paging provides support for query paging.
|
Package paging provides support for query paging. |
services/metrics/collector
Package collector is a simple collector for
|
Package collector is a simple collector for |
services/metrics/publisher
Package publisher manages the publishing of metrics.
|
Package publisher manages the publishing of metrics. |
services/metrics/publisher/datadog
Package datadog provides support for publishing metrics to DD.
|
Package datadog provides support for publishing metrics to DD. |
services/metrics/publisher/expvar
Package expvar manages the publishing of metrics to stdout.
|
Package expvar manages the publishing of metrics to stdout. |
services/metrics/publisher/prometheus
Package prometheus provides suppoert for sending metrics to prometheus.
|
Package prometheus provides suppoert for sending metrics to prometheus. |
tooling/admin
This program performs administrative tasks for the garage sale service.
|
This program performs administrative tasks for the garage sale service. |
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. |
tooling/docs/output/html
Package html converts the webapi records into html.
|
Package html converts the webapi records into html. |
tooling/docs/output/json
Package json converts the webapi records into json.
|
Package json converts the webapi records into json. |
tooling/docs/output/text
Package text converts the webapi records into text output.
|
Package text converts the webapi records into text output. |
tooling/docs/webapi
Package webapi provides support for extracting web api information from reading the code.
|
Package webapi provides support for extracting web api information from reading the code. |
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/division
Package division ...
|
Package division ... |
core/division/stores/divisionjson
Package divisionjson ...
|
Package divisionjson ... |
core/user
Package user provides an example of a core business API.
|
Package user provides an example of a core business API. |
core/user/stores/usercache
Package usercache contains user related CRUD functionality with caching.
|
Package usercache contains user related CRUD functionality with caching. |
core/user/stores/userdb
Package userdb contains user related CRUD functionality.
|
Package userdb contains user related CRUD functionality. |
data/dbmigrate
Package dbmigrate contains the database schema, migrations and seeding data.
|
Package dbmigrate contains the database schema, migrations and seeding data. |
data/dbsql/pgx
Package db provides support for access the database.
|
Package db provides support for access the database. |
data/dbsql/pgx/dbarray
Package dbarray provides support for database array types.
|
Package dbarray provides support for database array types. |
data/dbsql/pq
Package db provides support for access the database.
|
Package db provides support for access the database. |
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. |
data/order
Package order provides support for describing the ordering of data.
|
Package order provides support for describing the ordering of data. |
data/transaction
Package transaction provides support for database transaction related functionality.
|
Package transaction provides support for database transaction related functionality. |
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/httpclient
Package httpclient implements a wrapper of http client supports logging, tracing, and proxy
|
Package httpclient implements a wrapper of http client supports logging, tracing, and proxy |
web/metrics
Package metrics constructs the metrics the application will track.
|
Package metrics constructs the metrics the application will track. |
web/mid
Package mid contains the set of middleware functions.
|
Package mid contains the set of middleware functions. |
web/response
Package response provides the response and error handling types support.
|
Package response provides the response and error handling types support. |
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.KeyLookup interface.
|
Package keystore implements the auth.KeyLookup interface. |
logger
Package logger provides support for initializing the log system.
|
Package logger provides support for initializing the log system. |
sms
Package sms provide utilities for sending sms esms docs: https://developers.esms.vn
|
Package sms provide utilities for sending sms esms docs: https://developers.esms.vn |
validate
Package validate contains the support for validating models.
|
Package validate contains the support for validating models. |
vault
Package vault provides support for accessing Hashicorp's vault service to access private keys.
|
Package vault provides support for accessing Hashicorp's vault service to access private keys. |
web
Package web contains a small web framework extension.
|
Package web contains a small web framework extension. |
worker
Package worker manages a set of registered jobs that execute on demand.
|
Package worker manages a set of registered jobs that execute on demand. |
zarf
|
|
keys
Package keys stores development public/private key pairs used by the service.
|
Package keys stores development public/private key pairs used by the service. |
Click to show internal directories.
Click to hide internal directories.