dbtools

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package dbtools provides tools to help with interacting with the database, including all of our utilities for database integration testing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt added in v0.13.7

func Decrypt(ctx context.Context, keeper *secrets.Keeper, base64str string) (string, error)

Decrypt provides a wrapper to handle decrypting a base64 encoded string with the secrets keeper

func Encrypt added in v0.13.7

func Encrypt(ctx context.Context, keeper *secrets.Keeper, str string) (string, error)

Encrypt provides a wrapper to handle encrypting a string with the secrets keeper and returns it already base64 encoded

func RegisterHooks

func RegisterHooks()

RegisterHooks adds any hooks that are configured to the models library

Types

This section is empty.

Jump to

Keyboard shortcuts

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