notificationsapp: Index | Files

package httphandler

import ""

Package httphandler contains an API handler for notifications.Service.


Package Files


type Notifications Uses

type Notifications struct {
    Notifications notifications.Service

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

func (Notifications) Count Uses

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

func (Notifications) List Uses

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

func (Notifications) MarkAllRead Uses

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

func (Notifications) MarkRead Uses

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

Package httphandler imports 5 packages (graph) and is imported by 2 packages. Updated 2017-10-10. Refresh now. Tools for package owners.