internal

package
v3.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUserNotificationAlertOptionTable

type IUserNotificationAlertOptionTable interface {
	Insert(tx *sql.Tx, notificationId string, alertOptions []golang.AlertType) error

	Update(tx *sql.Tx, notificationId string, alertOptions []golang.AlertType) error

	SelectByNotificationId(notificationId string) ([]golang.AlertType, error)

	Delete(tx *sql.Tx, notificationId string) error
}

type IUserNotificationConvectiveOutlookOptionTable

type IUserNotificationConvectiveOutlookOptionTable interface {
	Insert(tx *sql.Tx, notificationId string, convectiveOutlookOptions []golang.ConvectiveOutlookType) error

	Update(tx *sql.Tx, notificationId string, convectiveOutlookOptions []golang.ConvectiveOutlookType) error

	SelectByNotificationId(notificationId string) ([]golang.ConvectiveOutlookType, error)

	Delete(tx *sql.Tx, notificationId string) error
}

type PostgresUserNotificationAlertOptionTable

type PostgresUserNotificationAlertOptionTable struct {
	// contains filtered or unexported fields
}

func NewPostgresUserNotificationsAlertOptionsTable

func NewPostgresUserNotificationsAlertOptionsTable(db *sql.DB) PostgresUserNotificationAlertOptionTable

func (*PostgresUserNotificationAlertOptionTable) Delete

func (p *PostgresUserNotificationAlertOptionTable) Delete(tx *sql.Tx, notificationId string) error

func (*PostgresUserNotificationAlertOptionTable) Insert

func (p *PostgresUserNotificationAlertOptionTable) Insert(tx *sql.Tx, notificationId string, alertOptions []golang.AlertType) error

func (*PostgresUserNotificationAlertOptionTable) SelectByNotificationId

func (p *PostgresUserNotificationAlertOptionTable) SelectByNotificationId(notificationId string) ([]golang.AlertType, error)

func (*PostgresUserNotificationAlertOptionTable) Update added in v3.6.0

func (p *PostgresUserNotificationAlertOptionTable) Update(tx *sql.Tx, notificationId string, alertOptions []golang.AlertType) error

type PostgresUserNotificationConvectiveOutlookOptionTable

type PostgresUserNotificationConvectiveOutlookOptionTable struct {
	// contains filtered or unexported fields
}

func NewPostgresUserNotificationConvectiveOutlookOptionTable

func NewPostgresUserNotificationConvectiveOutlookOptionTable(db *sql.DB) PostgresUserNotificationConvectiveOutlookOptionTable

func (*PostgresUserNotificationConvectiveOutlookOptionTable) Delete

func (*PostgresUserNotificationConvectiveOutlookOptionTable) Insert

func (p *PostgresUserNotificationConvectiveOutlookOptionTable) Insert(tx *sql.Tx, notificationId string, convectiveOutlookOptions []golang.ConvectiveOutlookType) error

func (*PostgresUserNotificationConvectiveOutlookOptionTable) SelectByNotificationId

func (p *PostgresUserNotificationConvectiveOutlookOptionTable) SelectByNotificationId(notificationId string) ([]golang.ConvectiveOutlookType, error)

func (*PostgresUserNotificationConvectiveOutlookOptionTable) Update added in v3.6.0

func (p *PostgresUserNotificationConvectiveOutlookOptionTable) Update(tx *sql.Tx, notificationId string, convectiveOutlookOptions []golang.ConvectiveOutlookType) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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