Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnectionFromDsn ¶
func GetlaughingtaleDb ¶
func InitGormPool ¶
func InitGormPool()
Types ¶
type IAM ¶
type IAM struct {
// contains filtered or unexported fields
}
func NewIAMClient ¶
func NewIAMClient() *IAM
type IAMAuth ¶
type IAMAuth struct { DatabaseUser string DatabaseHost string DatabasePort string DatabaseName string AmazonResourceName string AuthTokenGenerator Generator DatabaseSchema string }
func (*IAMAuth) GetConnectionString ¶
type IAMAuthGenerator ¶
type IAMAuthGenerator struct{}
type LocalAuth ¶
type LocalAuth struct { DatabaseUser string DatabaseHost string DatabasePort string DatabaseName string DatabasePassword string DatabaseSchema string }
func (*LocalAuth) GetConnectionString ¶
func (*LocalAuth) GetLocalReaderNodeConnectionString ¶
func (la *LocalAuth) GetLocalReaderNodeConnectionString(ctx context.Context, lookup LookupCNAME) string
type LookupCNAME ¶
Click to show internal directories.
Click to hide internal directories.