mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-12 01:10:36 +00:00
67cbcac643
* Fix typos * revert chains/unit_testnet * revert chains * fix review comments (thx @AlexVanin)
19 lines
605 B
Go
19 lines
605 B
Go
package storage
|
|
|
|
// Context represents the storage context.
|
|
type Context interface{}
|
|
|
|
// GetContext returns the storage context.
|
|
func GetContext() interface{} { return nil }
|
|
|
|
// Put stores a value in to the storage.
|
|
func Put(ctx interface{}, key interface{}, value interface{}) {}
|
|
|
|
// Get returns the value from the storage.
|
|
func Get(ctx interface{}, key interface{}) interface{} { return 0 }
|
|
|
|
// Delete removes a stored key value pair.
|
|
func Delete(ctx interface{}, key interface{}) {}
|
|
|
|
// Find entries somewhat matching the given key.
|
|
func Find(ctx interface{}, key interface{}) interface{} { return 0 }
|