sql

package
v3.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(driver string, db *sql.DB) (notification.Manager, error)

New returns a new Notifications driver connecting to the given sql.DB.

func NewMysql

func NewMysql(ctx context.Context, m map[string]any) (notification.Manager, error)

NewMysql returns an instance of the sql notifications manager.

Types

type Config added in v3.4.0

type Config struct {
	config.Database `mapstructure:",squash"`
}

func (*Config) ApplyDefaults added in v3.4.0

func (c *Config) ApplyDefaults()

Jump to

Keyboard shortcuts

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