Categorygithub.com/mathisve/postgresStore
modulepackage
0.2.7
Repository: https://github.com/mathisve/postgresstore.git
Documentation: pkg.go.dev

# README

postgresStore

Golang library to store objects (byte slices) in Postgres / Timescale.

import "github.com/mathisve/postgresStore"

Example

err = c.UploadObject(postgresStore.Object{
	ObjectName: filename,
	Bytes:      data,
})
if err != nil {
	log.Println(err)
}

# Functions

NewConnection is used to create a connection to the Postgres database takes in ConnectionConfig object which contains the connection configuration.

# Constants

StorageMode see createSchema function.
StorageMode see createSchema function.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Object is a wrapper around a byte slice to include the object name.