postgresql

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	DBDir string
}

func (Server) Connect

func (server Server) Connect(dbName string) (*sql.DB, error)

func (Server) CreateDB

func (server Server) CreateDB(dbName string) error

func (Server) InitDB

func (server Server) InitDB() error

func (Server) Start

func (server Server) Start() error

func (Server) Stop

func (server Server) Stop() error

Jump to

Keyboard shortcuts

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