store

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ErrDBNotSet = strerr.Error("db not set")

Variables

This section is empty.

Functions

func RunMigrations

func RunMigrations(db *sql.DB) error

Types

type Opt

type Opt func(*Store) error

func FromEnv

func FromEnv() Opt

type Store

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

func New

func New(opts ...Opt) *Store

func (*Store) Healthy

func (s *Store) Healthy() error

func (*Store) Init

func (s *Store) Init() error

func (*Store) Name

func (s *Store) Name() string

func (*Store) Run

func (s *Store) Run() error

func (*Store) Stop

func (s *Store) Stop() error

Jump to

Keyboard shortcuts

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