ras

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadOrInit

func LoadOrInit(id string, addr string, version string) (rclient.Api, bool)

func SetLocalStorage

func SetLocalStorage(s Storage)

func Store

func Store(id string, addr string, version string) (rclient.Api, bool)

Types

type Storage

type Storage interface {
	Store(id string, addr string, version string) (rclient.Api, bool)
	LoadOrInit(id string, addr string, version string) (rclient.Api, bool)
	Load(id string) (interface{}, bool)
}

Jump to

Keyboard shortcuts

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