storage

package
v0.0.0-...-a65b750 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLevelDB

func InitLevelDB(path string)

Initialize leveldb

func SetTemporary

func SetTemporary(config ConfigOption) (err error)

Set up temporary storage

Types

type ConfigOption

type ConfigOption struct {
	Connect map[string]*common.ConnectOption
	Tunnel  map[string]*[]common.TunnelOption
}

func GetTemporary

func GetTemporary() (config ConfigOption, err error)

Get temporary storage

Jump to

Keyboard shortcuts

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