Documentation ¶ Index ¶ Constants func AwsRdsMysqlIamAuth(ctx context.Context) (*gorm.DB, stackerr.Error) func AwsRdsMysqlPasswordAuth(ctx context.Context) (*gorm.DB, stackerr.Error) type MysqlSecret Constants ¶ View Source const ( // This is an example JSON configuration that you might load from // Secrets Manager or SSM Parameter Store. AwsRdsIamAuthJson string = `` /* 249-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"` } Source Files ¶ View all Source files aws-rds-mysql-iam-auth.go aws-rds-mysql-password-auth.go Click to show internal directories. Click to hide internal directories.