GoPLS Viewer

Home|gopls/internal/jsonrpc2/jsonrpc2.go
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.
8package jsonrpc2
9
10const (
11    // ErrIdleTimeout is returned when serving timed out waiting for new connections.
12    ErrIdleTimeout = constError("timed out waiting for new connections")
13)
14
15type constError string
16
17func (e constErrorError() string { return string(e) }
18
MembersX
constError
constError.Error.e
constError.Error
Members
X