container

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BadgedDBPath string `json:"badger_db_path"`
}

type Container

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

func New

func New(ctx context.Context, cfg *Config) *Container

func (*Container) Close

func (c *Container) Close() error

func (*Container) GetBadgerDB

func (c *Container) GetBadgerDB() *badger.DB

Jump to

Keyboard shortcuts

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