pkg

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 1 Imported by: 0

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

func Version

func Version() string

Version returns the semantic version for the current build.

Types

This section is empty.

Directories

Path Synopsis
bff
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.
gds
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
v1
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL