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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTeamEndpoints

func RegisterTeamEndpoints(srv Server, service *services.TeamService, jwtKey []byte)

func RegisterUserEndpoints

func RegisterUserEndpoints(srv Server, service *services.UserService, jwtKey []byte)

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