package
1.0.4
Repository: https://github.com/iov-one/weave.git
Documentation: pkg.go.dev

# Functions

ChainDecorators takes a chain of decorators, and upon adding a final Handler (often a Router), returns a Handler that will execute this whole stack.
ChainInitializers lets you initialize many extensions with one function.
JoinResults inverts ResultsFromKeys and ResultsFromValues and makes then a consistent whole again.
No description provided by the author
NewBaseApp constructs a basic abci application.
NewCommitStore loads the CommitKVStore from disk or panics.
NewRouter returns a new empty router instance.
NewStoreApp initializes this app into a ready state with some defaults panics if unable to properly load the state from the given store TODO: is this correct? nothing else to do really....
ResultsFromKeys returns a ResultSet of all keys given a set of models.
ResultsFromValues returns a ResultSet of all values given a set of models.
UnmarshalOneResult will parse a resultset, and it if is not empty, unmarshal the first result into o.

# Variables

No description provided by the author
No description provided by the author

# Structs

ABCIStore exposes the weave abci.Query interface as a ReadonlyKVStore.
BaseApp adds DeliverTx, CheckTx, and BeginBlock handlers to the storage and query functionality of StoreApp.
CommitStore handles loading from a KVCommitStore, maintaining different CacheWraps for Deliver and Check, and returning useful state info.
Decorators holds a chain of decorators, not yet resolved by a Handler.
ResultSet contains a list of keys or values.
Router allows us to register many handlers with different paths and then direct each message to the proper handler.
StoreApp contains a data store and all info needed to perform queries and handshakes.

# Interfaces

Queryable is implemented by an abci.Application, but also weave/client.Client (over tendermint).