Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TraceEnabled = false
TraceEnabled Attaches a trace field to the JSON response when enabled.
Functions ¶
Types ¶
type RPCResponse ¶
type RPCResponse struct { jsonrpc.RPCResponse Trace []string `json:"_trace,omitempty"` }
type StatusError ¶
StatusError represents an error with an associated HTTP status code.
func (StatusError) Error ¶
func (se StatusError) Error() string
func (StatusError) Unwrap ¶
func (se StatusError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.