Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConnectionOptions ¶
func DefaultConnectionOptions(ctxIn context.Context, credentialsProvider secret.SecretProvider) (sql.ConnectOptions, error)
DefaultConnectionOptions returns default ConnectOptions
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represent operation with PostgresSQL
func NewStorageService ¶
func NewStorageService(ctxIn context.Context, credentialsProvider secret.SecretProvider) (*Service, error)
NewStorageService create new instance of Service
func NewStorageServiceWithConnectionOptions ¶
func NewStorageServiceWithConnectionOptions(ctxIn context.Context, options sql.ConnectOptions) (*Service, error)
NewStorageServiceWithConnectionOptions create new instance of Service with connection options
Click to show internal directories.
Click to hide internal directories.