http

package
v0.0.0-...-a6d0388 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*mux.Router
	// contains filtered or unexported fields
}

Handler provides the routing for the API using the CredentialsService

func NewHandler

func NewHandler() *Handler

NewHandler initializes a new Handler

func (*Handler) CredentialsService

func (h *Handler) CredentialsService(credentialsService awscourier.CredentialsService)

CredentialsService sets the CredentialsService for the Handler

type Server

type Server struct {
	*negroni.Negroni
}

Server represents an HTTP server.

func NewServer

func NewServer() *Server

NewServer returns a new instance of Server.

Jump to

Keyboard shortcuts

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