data

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 4 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 OpenDB

func OpenDB(database *configv1.Data_Database) (*sql.DB, error)

Types

type Cache

type Cache = cache.Cache

func OpenCache

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

Jump to

Keyboard shortcuts

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