examples

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// This is an example JSON configuration that you might load from
	// Secrets Manager or SSM Parameter Store.
	AwsRdsIamAuthJson string = `` /* 251-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func AwsRdsMysqlIamAuth

func AwsRdsMysqlIamAuth(ctx context.Context) (*gorm.DB, stackerr.Error)

func AwsRdsMysqlPasswordAuth

func AwsRdsMysqlPasswordAuth(ctx context.Context) (*gorm.DB, stackerr.Error)

Types

type MysqlSecret

type MysqlSecret struct {
	Host         string `json:"host"`
	HostReadOnly string `json:"host_read_only"`
	Port         int    `json:"port"`
	Database     string `json:"database"`
	Username     string `json:"username"`
	Password     string `json:"password"`
}

Jump to

Keyboard shortcuts

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