gotools/internal/jsonrpc2/wire.go

var ErrUnknown

var ErrParse

var ErrInvalidRequest

var ErrMethodNotFound

var ErrInvalidParams

var ErrInternal

var ErrServerOverloaded

type wireRequest

type wireResponse

type wireCombined

type WireError

type wireVersionTag

type ID

func NewError(code int64, message string) error {}

func (err *WireError) Error() string {}

func (wireVersionTag) MarshalJSON() ([]byte, error) {}

func (wireVersionTag) UnmarshalJSON(data []byte) error {}

// NewIntID returns a new numerical request ID.
func NewIntID(v int64) ID {}

// NewStringID returns a new string request ID.
func NewStringID(v string) ID {}

// Format writes the ID to the formatter.
// If the rune is q the representation is non ambiguous,
// string forms are quoted, number forms are preceded by a #
func (id ID) Format(f fmt.State, r rune) {}

func (id *ID) MarshalJSON() ([]byte, error) {}

func (id *ID) UnmarshalJSON(data []byte) error {}