Directories ¶
Path | Synopsis |
---|---|
Package app provides vars that can be populated via "-X" linker flags to provide global application metadata, such as build time or version.
|
Package app provides vars that can be populated via "-X" linker flags to provide global application metadata, such as build time or version. |
collections
|
|
Package config provides a common infrastructure for reading configuration data stored in local TOML files.
|
Package config provides a common infrastructure for reading configuration data stored in local TOML files. |
Package db is the base package for database access at hcnet.
|
Package db is the base package for database access at hcnet. |
sqlutils
Package sqlutils contains utility functions for manipulating strings of SQL
|
Package sqlutils contains utility functions for manipulating strings of SQL |
Package errors provides the common infrastructure for managing errors.
|
Package errors provides the common infrastructure for managing errors. |
Package http provides easy access to Hcnet's best practices for building http servers.
|
Package http provides easy access to Hcnet's best practices for building http servers. |
httpauthz
Package httpauthz contains helper functions for parsing the 'Authorization' header in HTTP requests.
|
Package httpauthz contains helper functions for parsing the 'Authorization' header in HTTP requests. |
httptest
Package httptest enhances the stdlib net/http/httptest package by integrating it with gopkg.in/gavv/httpexpect.v1, reducing the boilerplate needed for http tests.
|
Package httptest enhances the stdlib net/http/httptest package by integrating it with gopkg.in/gavv/httpexpect.v1, reducing the boilerplate needed for http tests. |
mutil
Package mutil contains various functions that are helpful when writing http middleware.
|
Package mutil contains various functions that are helpful when writing http middleware. |
Package log provides the common logging facilities used by the Hcnet Development foundation.
|
Package log provides the common logging facilities used by the Hcnet Development foundation. |
render
|
|
health
Package health contains simple utilities for implementing a /health endpoint that adheres to the requirements defined in the draft IETF network working group standard, Health Check Response Format for HTTP APIs.
|
Package health contains simple utilities for implementing a /health endpoint that adheres to the requirements defined in the draft IETF network working group standard, Health Check Response Format for HTTP APIs. |
problem
Package problem provides utility functions for rendering errors as RFC7807 compatible responses.
|
Package problem provides utility functions for rendering errors as RFC7807 compatible responses. |
scripts
|
|
Package test contains simple test helpers that should not have any service-specific dependencies.
|
Package test contains simple test helpers that should not have any service-specific dependencies. |
Click to show internal directories.
Click to hide internal directories.