mockdb

package
v1.0.1-0...-05f0a99 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 2 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{}

Config holds all values used to configure and connect to a postgres db.

func (*Config) ConnectAndMigrate

func (c *Config) ConnectAndMigrate(logger *zap.Logger) (*Handler, error)

type Handler

type Handler struct{}

func (*Handler) Shutdown

func (h *Handler) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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