Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
func Encode(
result interface{},
responseErr error,
requestID json.RawMessage,
) ([]byte, error)
func HandleResponse ¶
func HandleResponse( w http.ResponseWriter, err error, resp *api_jsonRPC_protocol.RPCResponse, reqCode json.RawMessage, )
func HandleServiceError ¶
func HandleServiceError( w http.ResponseWriter, reqCode json.RawMessage, )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.