abci

package
v0.0.0-...-454f330 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrCodeBadRequest
	ErrCodeSaveFailed
	ErrCodeLoadFailed
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	*types.BaseApplication
	// contains filtered or unexported fields
}

func NewApplication

func NewApplication(store core.EventStore) *Application

func (*Application) CheckTx

func (*Application) DeliverTx

func (*Application) Query

type Client

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

func NewClient

func NewClient(remote string) (*Client, error)

func (*Client) Load

func (c *Client) Load(ctx context.Context, id string) ([]*core.Event, error)

func (*Client) Save

func (c *Client) Save(ctx context.Context, events []*core.Event, fromVersion int) error

type TxEvents

type TxEvents struct {
	Events []*core.Event `json:"events"`
}

Jump to

Keyboard shortcuts

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