httpservice

package
v0.0.0-...-432f2dd Latest Latest
Warning

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

Go to latest
Published: May 17, 2016 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(da dataaccess.DataAccess)

Types

type CallbackHandler

type CallbackHandler struct {
	DataAccess dataaccess.DataAccess
}

The CallbackHandler handles requests for /callback

func NewCallbackHandler

func NewCallbackHandler(da dataaccess.DataAccess) *CallbackHandler

NewCallbackHandler creates an instance of the callback handler.

func (CallbackHandler) ServeHTTP

func (cbh CallbackHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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