package jsonrpc

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

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

Index

Variables

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

BuildHandler is a named request handler for building jsonrpc protocol requests

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

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

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

UnmarshalHandler is a named request handler for unmarshaling jsonrpc protocol requests

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.

Source Files

jsonrpc.go

Version
v0.2.0
Published
Jan 15, 2018
Platform
darwin/amd64
Imports
7 packages
Last checked
46 seconds ago

Tools for package owners.