postgres

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package postgres implements a postgres-based backend for storing state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(ctx context.Context, driver, dsn string) (backend.Backend, error)

Open connects to the backend

func OpenDB

func OpenDB(ctx context.Context, db *sql.DB) (backend.Backend, error)

OpenDB connects to the backend

Types

This section is empty.

Jump to

Keyboard shortcuts

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