Documentation

Overview

    Package httphandler contains API handlers used by home.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Events

    type Events struct {
    	Events events.Service
    }

      Events is an API handler for events.Service.

      func (Events) List

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

      type Reactions

      type Reactions struct {
      	Reactions reactions.Service
      }

        Reactions is an API handler for reactions.Service.

        func (Reactions) GetOrToggle

        func (h Reactions) GetOrToggle(w http.ResponseWriter, req *http.Request) error

        func (Reactions) List

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

        type Users

        type Users struct {
        	Users users.Service
        }

          Users is an API handler for users.Service.

          func (Users) Get

          func (h Users) Get(w http.ResponseWriter, req *http.Request) error

          func (Users) GetAuthenticated

          func (h Users) GetAuthenticated(w http.ResponseWriter, req *http.Request) error

          func (Users) GetAuthenticatedSpec

          func (h Users) GetAuthenticatedSpec(w http.ResponseWriter, req *http.Request) error