pgx

package module
v0.0.0-...-a3cbcc3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 14 Imported by: 0

README

PGX SQL based storage for GoActivitypub

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootDb = "postgres"

Functions

func Bootstrap

func Bootstrap(opt Config, rootUser string, rootPw []byte) error

func Clean

func Clean(opt Config, rootUser string, rootPw []byte) error

func New

func New(conf Config, url string, lp lw.Logger) (*repo, error)

Types

type BackendConfig

type BackendConfig struct {
	User string
	Name string
	Host string
	Pw   string
	Port int
}

type Config

type Config struct {
	Host     string
	Port     uint16
	Database string
	User     string
	Password string
	BaseURL  string
}

Directories

Path Synopsis
internal
log

Jump to

Keyboard shortcuts

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