storage

package
v0.0.0-...-866bf41 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx interface{}, key interface{})

Delete removes a stored key value pair.

func DeleteSorage

func DeleteSorage(ctx interface{}, key interface{})

func Get

func Get(ctx interface{}, key interface{}) interface{}

Get returns the value from the storage.

func GetContext

func GetContext() interface{}

GetContext returns the storage context.

func GetReadOnlyStorageContext

func GetReadOnlyStorageContext() interface{}

func GetStorage

func GetStorage(ctx interface{}, key interface{}) interface{}

func GetStorageContext

func GetStorageContext() interface{}

func Put

func Put(ctx interface{}, key interface{}, value interface{})

Put stores a value in to the storage.

func PutStorage

func PutStorage(ctx interface{}, key interface{}, value interface{})

func StorageCtxAsReadOnly

func StorageCtxAsReadOnly(ctx interface{}) interface{}

Types

type Context

type Context interface{}

Context represents the storage context.

Jump to

Keyboard shortcuts

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