Documentation
¶
Index ¶
Constants ¶
View Source
const ( ParseError int16 = -32700 InvalidRequest = -32600 MethodNotFound = -32601 InvalidParams = -32602 InternalError = -32603 ServerError = -32000 LogicErr = -32001 )
Variables ¶
View Source
var Errors = map[int16]string{ ParseError: "Parse Error", InvalidRequest: "Invalid Request", MethodNotFound: "Method not found", InvalidParams: "Invalid params", InternalError: "Internal error", ServerError: "Server error", }
Functions ¶
This section is empty.
Types ¶
type EmptyParams ¶
type EmptyParams struct{}
func (EmptyParams) IsValid ¶
func (_ EmptyParams) IsValid() bool
type ErrorNoLiveUpstreams ¶
type ErrorNoLiveUpstreams struct{}
func (*ErrorNoLiveUpstreams) Error ¶
func (e *ErrorNoLiveUpstreams) Error() string
type LogicError ¶
type LogicError struct {
// contains filtered or unexported fields
}
func (*LogicError) Error ¶
func (l *LogicError) Error() string
type ServerRequest ¶
type ServerRequest struct { Request Params json.RawMessage `json:"params"` }
Click to show internal directories.
Click to hide internal directories.