handlers

package
v0.0.0-...-79a03c7 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAllEvents

func DeleteAllEvents(client *db.Client) error

func DeleteEvent

func DeleteEvent(client *db.Client, eventId string) error

func GetAllEvents

func GetAllEvents(client *db.Client) (map[string]models.Event, error)

func GetOneEvent

func GetOneEvent(client *db.Client, eventId string) (*models.Event, error)

func SaveEvent

func SaveEvent(client *db.Client, event *models.Event) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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