server

package
v0.7.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: EUPL-1.2 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DYNAMIC_KEY_USAGE = "dynamic"

DEPRECATED: This constant is temporarily needed for backwards compatibility

Variables

This section is empty.

Functions

func Run

func Run(config *Configuration) error

Types

type Configuration

type Configuration struct {
	ListenAddress string
	ListenPort    string

	Keys []*localsigner.Key

	PrimePoolSize        uint64 // Size of the pool (in number of big ints)
	PrimePoolLwm         uint64 // Low water mark for depletion detection
	PrimePoolHwm         uint64 // high water mark for depletion detection
	PrimePoolPrimeStart  uint   // Prime number generator bit start
	PrimePoolPrimeLength uint   // prime number generator bit length
	PrimePoolMaxCores    int    // Number of cores to use for prime generation
}

type IssueStaticResponse added in v0.3.0

type IssueStaticResponse struct {
	QR              string `json:"qr"`
	ProofIdentifier []byte `json:"proofIdentifier"`
}

Jump to

Keyboard shortcuts

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