Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrKeyNotFound = errors.New("key not found")
)
View Source
var IsTesting bool
View Source
var Pool *pgxpool.Pool
View Source
var PrivateKey ed25519.PrivateKey
View Source
var PublicKey ed25519.PublicKey
View Source
var RDB *redis.Client
View Source
var Tx pgx.Tx
Functions ¶
func CommitTransaction ¶
func CommitTransaction() (err error)
func GenerateKeys ¶
func GenerateKeys() error
func GetPGConnectionString ¶
func GetPGConnectionString() string
func RollbackTransaction ¶
func RollbackTransaction() (err error)
func StartTransaction ¶
func StartTransaction() (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.