event

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventManager

type EventManager struct {
	EventCache []events.EventDataLog
	// contains filtered or unexported fields
}

func NewEventManager

func NewEventManager(stub shim.ChaincodeStubInterface) *EventManager

func (*EventManager) Flush

func (evmgr *EventManager) Flush(eventName string) error

func (*EventManager) Publish

func (evmgr *EventManager) Publish(ctx context.Context, message interface{}, tags map[string]interface{}) error

Jump to

Keyboard shortcuts

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