handlers

package
v0.0.0-...-7b2e207 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: AGPL-3.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CocoonCodeOperations

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

CocoonCodeOperations represents a cocoon code operation handlers

func NewCocoonCodeHandler

func NewCocoonCodeHandler(cocoonCodeRPCAddr string) *CocoonCodeOperations

NewCocoonCodeHandler creates a new instance of a ledger operation handler

func (*CocoonCodeOperations) Handle

Handle handles cocoon operations

func (*CocoonCodeOperations) Stop

Stop the cocoon code

type LedgerOperations

type LedgerOperations struct {
	CocoonID string
	// contains filtered or unexported fields
}

LedgerOperations represents a ledger operation handler

func NewLedgerOperationHandler

func NewLedgerOperationHandler(log *logging.Logger, connector *connector.Connector) *LedgerOperations

NewLedgerOperationHandler creates a new instance of a ledger operation handler

func (*LedgerOperations) Handle

Handle handles all types of ledger operations

type LockOperations

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

LockOperations defines a structure for handling lock operations from the cocoon code

func NewLockOperationHandler

func NewLockOperationHandler(log *logging.Logger, connector *connector.Connector) *LockOperations

NewLockOperationHandler creates a new LockOperations instance

func (*LockOperations) Handle

Handle handles cocoon operations

Jump to

Keyboard shortcuts

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