contract

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Persistable

type Persistable interface {
	Kind() string
	Identity() string
	Encode() ([]byte, error)
}

type Persister

type Persister interface {
	Persist(Persistable) (int, error)
}

type PersisterRestorer

type PersisterRestorer interface {
	Persister
	Restorer
}

type Restorable

type Restorable interface {
	Decode([]byte) error
}

type Restorer

type Restorer interface {
	Restore(kind, identity string) error
}

Jump to

Keyboard shortcuts

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