metastore

package
v0.0.0-...-f1ebe90 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaData

type MetaData struct {
	ID     string `json:"id"`
	Access string `json:"access"`
}

type Store

type Store struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewStore

func NewStore(dataDir config.DataDir, conf *config.Config) *Store

func (*Store) Create

func (s *Store) Create() (string, error)

func (*Store) Get

func (s *Store) Get(id string) (*MetaData, error)

func (*Store) Put

func (s *Store) Put(m *MetaData) error

Jump to

Keyboard shortcuts

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