| 1 | // Copyright 2018 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. |
| 6 | // https://www.jsonrpc.org/specification |
| 7 | // It is intended to be compatible with other implementations at the wire level. |
| 8 | package jsonrpc2scip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/jsonrpc2`/ |
| 9 | |
| 10 | const ( |
| 11 | // ErrIdleTimeout is returned when serving timed out waiting for new connections. |
| 12 | ErrIdleTimeoutscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/jsonrpc2`/ErrIdleTimeout. = constErrorscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/jsonrpc2`/constError#("timed out waiting for new connections") |
| 13 | ) |
| 14 | |
| 15 | type constErrorscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/jsonrpc2`/constError# string |
| 16 | |
| 17 | func (e constErrorscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/jsonrpc2`/constError#) Errorscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/jsonrpc2`/constError#Error().() string { return string(e) } |