jsonrpc

package
v1.13.45 Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

BuildHandler is a named request handler for building jsonrpc protocol requests

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

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

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

UnmarshalHandler is a named request handler for unmarshaling jsonrpc protocol requests

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

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

Functions

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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