package
0.0.8
Repository: https://github.com/neicnordic/sda-common.git
Documentation: pkg.go.dev

# Functions

NewSDAdb creates a new DB connection from the given DBConf variables.

# Variables

ConnectTimeout is how long to try to establish a connection to the database.
FastConnectRate is how long to wait between attempts to connect to the database during the before FastConnectTimeout.
FastConnectTimeout sets how long the system will try to connect to the database using the FastConnectRate.
SchemaName is the name of the remote database schema to query.
SlowConnectRate is how long to wait between attempts to connect to the database during the after FastConnectTimeout.

# Structs

DBConf stores information about how to connect to the database backend.
FileInfo is used by ingest for file metadata (path, size, checksum).
SDAdb struct that acts as a receiver for the DB update methods.