storage

package
v0.1.59 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package data implements the functions, types, and interfaces for the module.

Package data implements the functions, types, and interfaces for the module.

Package database implements the functions, types, and interfaces for the module.

Index

Constants

View Source
const (
	ErrCacheConfigNil = errors.String("cache: config is nil")
)
View Source
const (
	ErrDatabaseConfigNil = errors.String("database: config is nil")
)

Variables

This section is empty.

Functions

func OpenDatabase

func OpenDatabase(database *configv1.Database) (*sql.DB, error)

Types

type Cache

type Cache = cache.Cache

func OpenCache

func OpenCache(cfg *configv1.Storage) (Cache, error)

Jump to

Keyboard shortcuts

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