reminders

package
v0.0.0-...-da644f5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreationHandler

func CreationHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

Create reminders handler

func DeletionHandler

func DeletionHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

DeletionHandler is a HTTP handler that handles the deletion of a requested user event

func RetrievalHandler

func RetrievalHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

RetrievalHandler takes a user's request for their reminders and returns all reminders that correspond to their request

Types

type Reminder

type Reminder struct {
	ID       int
	Headers  map[string]interface{}
	Body     string
	Tags     []string
	DateTime time.Time
}

Jump to

Keyboard shortcuts

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