query

package
v0.0.0-...-878eceb Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2015 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package query implements the AWS query protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

A Handler is an http.Handler that can mimic an AWS service API

func New

func New(serviceBackend interface{}) *Handler

New returns a new Handler that will dispatch incoming requests to one or more fake service backends given as arguments.

func (*Handler) ServeHTTP

func (f *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP dispatches a request to a backend method and writes the response

Directories

Path Synopsis
Package queryutil supports encoding and decoding between Go structs and the AWS query protocol.
Package queryutil supports encoding and decoding between Go structs and the AWS query protocol.

Jump to

Keyboard shortcuts

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