httphandler

package
v0.0.0-...-1301412 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Overview

Package httphandler contains an API handler for notifications.Service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifications

type Notifications struct {
	Notifications notifications.Service
}

Notifications is an API handler for notifications.Service. It returns errors compatible with httperror package.

func (Notifications) Count

func (Notifications) List

func (Notifications) MarkAllRead

func (h Notifications) MarkAllRead(w http.ResponseWriter, req *http.Request) error

func (Notifications) MarkRead

func (h Notifications) MarkRead(w http.ResponseWriter, req *http.Request) error

Jump to

Keyboard shortcuts

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