http

package
v0.0.0-...-8a4eff6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2017 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPaperEndpoints

func RegisterPaperEndpoints(srv Server, service *services.PaperService, jwtKey []byte, au *auth.Client)

func RegisterTagEndpoints

func RegisterTagEndpoints(srv Server, service *services.TagService, jwtKey []byte, au *auth.Client)

Types

type Server

type Server interface {
	RegisterHandler(path, method string, f http.Handler)
}

Server defines the interface to register the http handlers.

Jump to

Keyboard shortcuts

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