Documentation ¶
Index ¶
- func NewAnnotator(kind contracts.AnnotationType, cfg config.SdkInfo) (interfaces.Annotator, error)
- func NewHashProvider(hash contracts.HashType) (interfaces.HashProvider, error)
- func NewLogger(cfg config.LoggingInfo) interfaces.Logger
- func NewRequestHandler(request *http.Request, keys config.SignatureInfo) (interfaces.RequestHandler, error)
- func NewSignatureProvider(k contracts.KeyAlgorithm) (interfaces.SignatureProvider, error)
- func NewStreamProvider(cfg config.StreamInfo, logger interfaces.Logger) (interfaces.StreamProvider, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnnotator ¶
func NewAnnotator(kind contracts.AnnotationType, cfg config.SdkInfo) (interfaces.Annotator, error)
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.
Click to show internal directories.
Click to hide internal directories.