...
Package jsonrpc
Overview ▹
Index ▹
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.