storage

package
v0.4.83 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DataStore = "datastore@"
View Source
const Location = "/lightstar/"

Variables

View Source
var PATH = StorePath{}

Functions

func IsStoreID added in v0.4.83

func IsStoreID(name string) bool

Types

type StorePath

type StorePath struct{}

func (StorePath) Fmt

func (p StorePath) Fmt(path string) string

path: unix path, /lightstar/datastore/01/xx.xx

func (StorePath) GetStoreID added in v0.4.83

func (p StorePath) GetStoreID(name string) string

name: datastore@01

func (StorePath) IsDataStore added in v0.4.83

func (p StorePath) IsDataStore(name string) bool

name: datastore@01

func (StorePath) Root

func (p StorePath) Root() string

func (StorePath) RootXML

func (p StorePath) RootXML() string

func (StorePath) Unix

func (p StorePath) Unix(path string) string

path: datastore@01:/centos.77 or 01.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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