Versions in this module Expand all Collapse all v1 v1.9.6 Oct 3, 2019 v1.9.0 Jul 10, 2019 Changes in this version + func Asset(name string) ([]byte, error) + func AssetDigest(name string) ([sha256.Size]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func AssetString(name string) (string, error) + func Digests() (map[string][sha256.Size]byte, error) + func MustAsset(name string) []byte + func MustAssetString(name string) string + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + type Database struct + func New() (*Database, error) + func NewFromFile(path string) (*Database, error) + func NewWithFile(path string) (*Database, error) + func (db *Database) AddSelector(selector string, data []byte) error + func (db *Database) Selector(id []byte) (string, error) + func (db *Database) Size() (int, int) + func (db *Database) ValidateTransaction(selector *string, tx *core.SendTxArgs) (*core.ValidationMessages, error)