alert

package
v0.0.0-...-f06e5ea Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package alert defines routes for alerts

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAlert

func HandleAlert(conn *database.Conn, writer http.ResponseWriter, request *http.Request)

func HandleAlertList

func HandleAlertList(conn *database.Conn, writer http.ResponseWriter, request *http.Request)

func HandleDeleteAlert

func HandleDeleteAlert(conn *database.Conn, writer http.ResponseWriter, request *http.Request)

func HandleSubmitAlert

func HandleSubmitAlert(conn *database.Conn, writer http.ResponseWriter, request *http.Request)

func HandleUpdateAlert

func HandleUpdateAlert(conn *database.Conn, writer http.ResponseWriter, request *http.Request)

Types

type AlertListPageData

type AlertListPageData struct {
	AlertPageData
	AlertList []model.Alert
}

type AlertPageData

type AlertPageData struct {
	User             model.User
	Alert            model.Alert
	FromCurrencyList []model.Currency
	ToCurrencyList   []model.Currency
}

Jump to

Keyboard shortcuts

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