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

      Source Files