factories

package
v0.0.0-...-e37d69e Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 20 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHashProvider

func NewHashProvider(hash contracts.HashType) (interfaces.HashProvider, error)

func NewLogger

func NewLogger(cfg config.LoggingInfo) interfaces.Logger

func NewRequestHandler

func NewRequestHandler(request *http.Request, keys config.SignatureInfo) (interfaces.RequestHandler, error)

func NewSignatureProvider

func NewSignatureProvider(k contracts.KeyAlgorithm) (interfaces.SignatureProvider, error)

NewSignatureProvider instantiates a signature provider based on the desired key algorithm

The current working assumption is that all nodes within a Data Confidence Fabric will use the same algorithm to generate their identity keys. If later there's a good reason provided as to why this might be heterogeneous, the existing implementation around signatures will need to change

func NewStreamProvider

func NewStreamProvider(cfg config.StreamInfo, logger interfaces.Logger) (interfaces.StreamProvider, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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