directory

package
v0.21.9 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DBPath         string        `json:"db_path"`
	RequestTimeout time.Duration `json:"request_timeout"`
	Seed           bool          `json:"seed_metadata"`
}

type Directory

type Directory struct {
	// contains filtered or unexported fields
}

func New

func New(config *Config, logger *zerolog.Logger) (*Directory, error)

func (*Directory) Close

func (s *Directory) Close()

func (*Directory) Exporter2 added in v0.21.6

func (s *Directory) Exporter2() dse2.ExporterServer

func (*Directory) Importer2 added in v0.21.6

func (s *Directory) Importer2() dsi2.ImporterServer

func (*Directory) Migrate added in v0.21.0

func (s *Directory) Migrate(version string) error

func (*Directory) Reader2 added in v0.21.6

func (s *Directory) Reader2() dsr2.ReaderServer

func (*Directory) Writer2 added in v0.21.6

func (s *Directory) Writer2() dsw2.WriterServer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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