noop

package
v0.0.0-...-be0919c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PromiseIssuer

type PromiseIssuer struct {
	// contains filtered or unexported fields
}

PromiseIssuer issues promises in such way, that no actual money is added to promise

func NewPromiseIssuer

func NewPromiseIssuer(issuerID identity.Identity, dialog communication.Dialog, signer identity.Signer) *PromiseIssuer

NewPromiseIssuer creates instance of the promise issuer

func (*PromiseIssuer) Start

func (issuer *PromiseIssuer) Start(proposal dto.ServiceProposal) error

Start issuing promises for given service proposal

func (*PromiseIssuer) Stop

func (issuer *PromiseIssuer) Stop() error

Stop stops issuing promises

type PromiseProcessor

type PromiseProcessor struct {
	// contains filtered or unexported fields
}

PromiseProcessor process promises in such way, what no actual money is deducted from promise

func NewPromiseProcessor

func NewPromiseProcessor(dialog communication.Dialog) *PromiseProcessor

NewPromiseProcessor creates instance of PromiseProcessor

func (*PromiseProcessor) Start

func (processor *PromiseProcessor) Start(proposal discovery_dto.ServiceProposal) error

Start processing promises for given service proposal

func (*PromiseProcessor) Stop

func (processor *PromiseProcessor) Stop() error

Stop stops processing promises

Jump to

Keyboard shortcuts

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