restjson - ActiveState ActiveGo 1.8
...

Package restjson

import "github.com/aws/aws-sdk-go/private/protocol/restjson"
Overview
Index

Overview ▾

Package restjson provides RESTful JSON serialization of AWS requests and responses.

Variables

BuildHandler is a named request handler for building restjson protocol requests

var BuildHandler = request.NamedHandler{Name: "awssdk.restjson.Build", Fn: Build}

UnmarshalErrorHandler is a named request handler for unmarshaling restjson protocol request errors

var UnmarshalErrorHandler = request.NamedHandler{Name: "awssdk.restjson.UnmarshalError", Fn: UnmarshalError}

UnmarshalHandler is a named request handler for unmarshaling restjson protocol requests

var UnmarshalHandler = request.NamedHandler{Name: "awssdk.restjson.Unmarshal", Fn: Unmarshal}

UnmarshalMetaHandler is a named request handler for unmarshaling restjson protocol request metadata

var UnmarshalMetaHandler = request.NamedHandler{Name: "awssdk.restjson.UnmarshalMeta", Fn: UnmarshalMeta}

func Build

func Build(r *request.Request)

Build builds a request for the REST JSON protocol.

func Unmarshal

func Unmarshal(r *request.Request)

Unmarshal unmarshals a response body for the REST JSON protocol.

func UnmarshalError

func UnmarshalError(r *request.Request)

UnmarshalError unmarshals a response error for the REST JSON protocol.

func UnmarshalMeta

func UnmarshalMeta(r *request.Request)

UnmarshalMeta unmarshals response headers for the REST JSON protocol.