handlers

package
v0.0.0-...-0dec3e3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2014 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 7 Imported by: 0

Documentation

Overview

Handlers for V1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetadataV1RequestHandlerMaker

func MetadataV1RequestHandlerMaker(containerInstanceArn *string, cfg *config.Config) func(http.ResponseWriter, *http.Request)

func ServeHttp

func ServeHttp(containerInstanceArn *string, taskEngine engine.TaskEngine, cfg *config.Config)

Types

type LoggingHandler

type LoggingHandler struct {
	// contains filtered or unexported fields
}

func (LoggingHandler) ServeHTTP

func (lh LoggingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type MetadataResponse

type MetadataResponse struct {
	ClusterArn           string
	ContainerInstanceArn *string
}

type RootResponse

type RootResponse struct {
	AvailableCommands []string
}

Jump to

Keyboard shortcuts

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