Documentation ¶
Overview ¶
Package pkg describes the TRISA Global Directory Go reference package.
Index ¶
Constants ¶
View Source
const ( VersionMajor = 1 VersionMinor = 5 VersionPatch = 3 VersionReleaseLevel = "" VersionReleaseNumber = 25 )
Version component constants for the current build.
Variables ¶
View Source
var GitVersion string
Set the GitVersion via -ldflags="-X 'github.com/trisacrypto/directory/pkg.GitVersion=$(git rev-parse --short HEAD)'"
Functions ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
auth/authtest
Package authtest provides a wrapped httptest.Server that will respond to auth0 requests.
|
Package authtest provides a wrapped httptest.Server that will respond to auth0 requests. |
auth/clive
Package clive provides CLI-Live interactions with Auth0 by running a local server for OAuth challenges and handling them on behalf of the user.
|
Package clive provides CLI-Live interactions with Auth0 by running a local server for OAuth challenges and handling them on behalf of the user. |
tokens
Package tokens handles the creation and verification of JWT tokens for authentication.
|
Package tokens handles the creation and verification of JWT tokens for authentication. |
models
|
|
Package sectigo provides API access to the Sectigo IoT Manager 20.7, which is used to sign certificate requests for directory service certificate issuance.
|
Package sectigo provides API access to the Sectigo IoT Manager 20.7, which is used to sign certificate requests for directory service certificate issuance. |
mock
* Package mock provides an httptest.Server that allows mock interactions with the * Sectigo API for both unit tests of the Sectigo package and integration tests with GDS * Sectigo/Certificate operations.
|
* Package mock provides an httptest.Server that allows mock interactions with the * Sectigo API for both unit tests of the Sectigo package and integration tests with GDS * Sectigo/Certificate operations. |
Package store provides an interface to multiple types of embedded storage across multiple objects.
|
Package store provides an interface to multiple types of embedded storage across multiple objects. |
jitter
Package jitter provides a stochastic ticker that returns ticks at a random interval specified by a normal distribution with a mean periodicity and a standard deviation, sigma both of which are time.Durations.
|
Package jitter provides a stochastic ticker that returns ticks at a random interval specified by a normal distribution with a mean periodicity and a standard deviation, sigma both of which are time.Durations. |
replica
Package replica implements bilateral anti-entropy replication for the trtl database.
|
Package replica implements bilateral anti-entropy replication for the trtl database. |
wire
Package wire is a store helper package that handles "wire" representations of the objects being managed in the store - e.g.
|
Package wire is a store helper package that handles "wire" representations of the objects being managed in the store - e.g. |
Click to show internal directories.
Click to hide internal directories.