availabilitypbdsl

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertVerified

func CertVerified(m dsl.Module, destModule types.ModuleID, valid bool, err string, origin *types1.VerifyCertOrigin)

func ComputeCert added in v0.3.0

func ComputeCert(m dsl.Module, destModule types.ModuleID)

func NewCert added in v0.3.0

func NewCert(m dsl.Module, destModule types.ModuleID, cert *types1.Cert, origin *types1.RequestCertOrigin)

func ProvideTransactions added in v0.3.0

func ProvideTransactions(m dsl.Module, destModule types.ModuleID, txs []*types2.Request, origin *types1.RequestTransactionsOrigin)

func RequestCert added in v0.3.0

func RequestCert[C any](m dsl.Module, destModule types.ModuleID, context *C)

func RequestTransactions added in v0.3.0

func RequestTransactions[C any](m dsl.Module, destModule types.ModuleID, cert *types1.Cert, context *C)

func UponCertVerified

func UponCertVerified[C any](m dsl.Module, handler func(valid bool, err string, context *C) error)

func UponComputeCert added in v0.3.0

func UponComputeCert(m dsl.Module, handler func() error)

func UponEvent

func UponEvent[W types.Event_TypeWrapper[Ev], Ev any](m dsl.Module, handler func(ev *Ev) error)

func UponNewCert added in v0.3.0

func UponNewCert[C any](m dsl.Module, handler func(cert *types.Cert, context *C) error)

func UponProvideTransactions added in v0.3.0

func UponProvideTransactions[C any](m dsl.Module, handler func(txs []*types2.Request, context *C) error)

func UponRequestCert added in v0.3.0

func UponRequestCert(m dsl.Module, handler func(origin *types.RequestCertOrigin) error)

func UponRequestTransactions added in v0.3.0

func UponRequestTransactions(m dsl.Module, handler func(cert *types.Cert, origin *types.RequestTransactionsOrigin) error)

func UponVerifyCert added in v0.3.0

func UponVerifyCert(m dsl.Module, handler func(cert *types.Cert, origin *types.VerifyCertOrigin) error)

func VerifyCert added in v0.3.0

func VerifyCert[C any](m dsl.Module, destModule types.ModuleID, cert *types1.Cert, context *C)

Types

This section is empty.

Jump to

Keyboard shortcuts

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