Documentation ¶
Index ¶
- type Storage
- func (storage *Storage) AllExceptDelegators(ctx context.Context) (contracts []contract.Contract, err error)
- func (storage *Storage) ByHash(ctx context.Context, hash string) (result contract.Script, err error)
- func (storage *Storage) Code(ctx context.Context, id int64) ([]byte, error)
- func (storage *Storage) FindOne(ctx context.Context, tags types.Tags) (result contract.Contract, err error)
- func (storage *Storage) Get(ctx context.Context, address string) (response contract.Contract, err error)
- func (storage *Storage) Parameter(ctx context.Context, id int64) ([]byte, error)
- func (storage *Storage) Script(ctx context.Context, address string, symLink string) (contract.Script, error)
- func (storage *Storage) ScriptPart(ctx context.Context, address string, symLink, part string) ([]byte, error)
- func (storage *Storage) Storage(ctx context.Context, id int64) ([]byte, error)
- func (storage *Storage) Views(ctx context.Context, id int64) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
Storage -
func (*Storage) AllExceptDelegators ¶
func (*Storage) ByHash ¶
func (storage *Storage) ByHash(ctx context.Context, hash string) (result contract.Script, err error)
ByHash -
func (*Storage) FindOne ¶
func (storage *Storage) FindOne(ctx context.Context, tags types.Tags) (result contract.Contract, err error)
FindOne -
func (*Storage) Get ¶
func (storage *Storage) Get(ctx context.Context, address string) (response contract.Contract, err error)
Get -
func (*Storage) Script ¶
func (storage *Storage) Script(ctx context.Context, address string, symLink string) (contract.Script, error)
Script -
func (*Storage) ScriptPart ¶
func (storage *Storage) ScriptPart(ctx context.Context, address string, symLink, part string) ([]byte, error)
ScriptPart -
Click to show internal directories.
Click to hide internal directories.