plugin

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package plugin is an interface package for ledger addons.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ledger

type Ledger interface {
	Plugin
	Mapper
}

Ledger is a plugin interface used to offer implementations of addon ledgers. See pool package for more information.

type Mapper

type Mapper interface {
	Write(ID, data string) error
	Read(ID string) (string, string, error)
}

Mapper is an property getter/setter interface for addon ledger implementations.

type Plugin

type Plugin interface {
	Open(name string) bool
	Close()
}

Plugin is a plugin interface for addon ledger implementations.

Jump to

Keyboard shortcuts

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