jsonrpc - ActiveState ActiveGo 1.8
...

Package jsonrpc

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

Overview ▾

Package jsonrpc provides JSON RPC utilities for serialization of AWS requests and responses.

Variables

BuildHandler is a named request handler for building jsonrpc protocol requests

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

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

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

UnmarshalHandler is a named request handler for unmarshaling jsonrpc protocol requests

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

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

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

func Build

func Build(req *request.Request)

Build builds a JSON payload for a JSON RPC request.

func Unmarshal

func Unmarshal(req *request.Request)

Unmarshal unmarshals a response for a JSON RPC service.

func UnmarshalError

func UnmarshalError(req *request.Request)

UnmarshalError unmarshals an error response for a JSON RPC service.

func UnmarshalMeta

func UnmarshalMeta(req *request.Request)

UnmarshalMeta unmarshals headers from a response for a JSON RPC service.