|
| https://go.dev/ |
| Skip to Main Content | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#main-content |
|
Why Go
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Case Studies
| https://go.dev/solutions/case-studies |
|
Use Cases
| https://go.dev/solutions/use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
|
| https://groups.google.com/g/golang-nuts |
|
| https://github.com/golang |
|
| https://twitter.com/golang |
|
| https://www.reddit.com/r/golang/ |
|
| https://invite.slack.golangbridge.org/ |
|
| https://stackoverflow.com/collectives/go |
|
| https://go.dev/ |
|
Why Go
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Why Go
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Case Studies
| https://go.dev/solutions/case-studies |
|
Use Cases
| https://go.dev/solutions/use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Docs
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Community
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
| https://groups.google.com/g/golang-nuts |
| https://github.com/golang |
| https://twitter.com/golang |
| https://www.reddit.com/r/golang/ |
| https://invite.slack.golangbridge.org/ |
| https://stackoverflow.com/collectives/go |
| Discover Packages | https://pkg.go.dev/ |
|
github.com/sourcegraph/jsonrpc2
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2@v0.2.3 |
|
| https://go.dev/ |
|
Version:
v0.2.3
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2?tab=versions |
|
Go to latest
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
| MIT | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2?tab=licenses |
|
Imports: 13
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2?tab=imports |
|
Imported by: 438
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2?tab=importedby |
| go.mod | https://github.com/sourcegraph/jsonrpc2/tree/v0.2.3/go.mod |
| Learn more about best practices | https://pkg.go.dev/about#best-practices |
|
github.com/sourcegraph/jsonrpc2
| https://github.com/sourcegraph/jsonrpc2 |
|
Open Source Insights
| https://deps.dev/go/github.com%2Fsourcegraph%2Fjsonrpc2/v0.2.3 |
|
README
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#section-readme |
|
Known issues
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#readme-known-issues |
|
Documentation
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#section-documentation |
| Overview | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-overview |
|
Index
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-index |
|
Examples
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-examples |
|
Package
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-package |
|
Conn.Notify (NullParams)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-Conn.Notify-NullParams |
|
Conn.Notify (ParamsOmitted)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-Conn.Notify-ParamsOmitted |
|
Constants
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-constants |
|
Variables
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-variables |
|
Functions
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-functions |
|
Types
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-types |
|
type CallOption
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
|
ExtraField(name, value)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ExtraField |
|
Meta(meta)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Meta |
|
PickID(id)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PickID |
|
StringID()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#StringID |
|
type Conn
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
|
NewConn(ctx, stream, h, opts)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewConn |
|
(c) Call(ctx, method, params, result, opts)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Call |
|
(c) Close()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Close |
|
(c) DisconnectNotify()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.DisconnectNotify |
|
(c) DispatchCall(ctx, method, params, opts)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.DispatchCall |
|
(c) Notify(ctx, method, params, opts)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Notify |
|
(c) Reply(ctx, id, result)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Reply |
|
(c) ReplyWithError(ctx, id, respErr)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.ReplyWithError |
|
(c) SendResponse(ctx, resp)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.SendResponse |
|
type ConnOpt
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ConnOpt |
|
LogMessages(logger)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#LogMessages |
|
OnRecv(f)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#OnRecv |
|
OnSend(f)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#OnSend |
|
SetLogger(logger)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#SetLogger |
|
type Error
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error |
|
(e) Error()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error.Error |
|
(e) SetError(v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error.SetError |
|
type Handler
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Handler |
|
AsyncHandler(h)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#AsyncHandler |
|
type HandlerWithErrorConfigurer
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer |
|
HandlerWithError(handleFunc)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithError |
|
(h) Handle(ctx, conn, req)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer.Handle |
|
(h) SuppressErrClosed()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer.SuppressErrClosed |
|
type ID
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
|
(id) MarshalJSON()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.MarshalJSON |
|
(id) String()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.String |
|
(id) UnmarshalJSON(data)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.UnmarshalJSON |
|
type JSONRPC2
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#JSONRPC2 |
|
type Logger
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Logger |
|
type ObjectCodec
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectCodec |
|
type ObjectStream
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectStream |
|
NewBufferedStream(conn, codec)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewBufferedStream |
|
NewPlainObjectStream(conn)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewPlainObjectStream |
|
type PlainObjectCodec
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec |
|
(c) ReadObject(stream, v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec.ReadObject |
|
(c) WriteObject(stream, v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec.WriteObject |
|
type Request
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
|
(r) MarshalJSON()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.MarshalJSON |
|
(r) SetExtraField(name, v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetExtraField |
|
(r) SetMeta(v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetMeta |
|
(r) SetParams(v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetParams |
|
(r) UnmarshalJSON(data)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.UnmarshalJSON |
|
type RequestField
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#RequestField |
|
type Response
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
|
(r) MarshalJSON()
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.MarshalJSON |
|
(r) SetResult(v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.SetResult |
|
(r) UnmarshalJSON(data)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.UnmarshalJSON |
|
type VSCodeObjectCodec
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec |
|
ReadObject(stream, v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec.ReadObject |
|
WriteObject(stream, obj)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec.WriteObject |
|
type VarintObjectCodec
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec |
|
ReadObject(stream, v)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec.ReadObject |
|
WriteObject(stream, obj)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec.WriteObject |
|
type Waiter
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Waiter |
|
(w) Wait(ctx, result)
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Waiter.Wait |
|
Source Files
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#section-sourcefiles |
|
Directories
| https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#section-directories |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#section-readme |
| https://travis-ci.org/sourcegraph/jsonrpc2 |
| https://sourcegraph.com/github.com/sourcegraph/jsonrpc2?badge |
| https://godoc.org/github.com/sourcegraph/jsonrpc2 |
| Go | https://golang.org |
| JSON-RPC 2.0 | http://www.jsonrpc.org/specification |
| Documentation | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2 |
| Open the code in Sourcegraph | https://sourcegraph.com/github.com/sourcegraph/jsonrpc2 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#section-documentation |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-overview |
| http://www.jsonrpc.org/specification | http://www.jsonrpc.org/specification |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-package |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-index |
| Constants | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-constants |
| Variables | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-variables |
| type CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| func ExtraField(name string, value interface{}) CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ExtraField |
| func Meta(meta interface{}) CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Meta |
| func PickID(id ID) CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PickID |
| func StringID() CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#StringID |
| type Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| func NewConn(ctx context.Context, stream ObjectStream, h Handler, opts ...ConnOpt) *Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewConn |
| func (c *Conn) Call(ctx context.Context, method string, params, result interface{}, ...) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Call |
| func (c *Conn) Close() error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Close |
| func (c *Conn) DisconnectNotify() <-chan struct{} | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.DisconnectNotify |
| func (c *Conn) DispatchCall(ctx context.Context, method string, params interface{}, opts ...CallOption) (Waiter, error) | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.DispatchCall |
| func (c *Conn) Notify(ctx context.Context, method string, params interface{}, opts ...CallOption) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Notify |
| func (c *Conn) Reply(ctx context.Context, id ID, result interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Reply |
| func (c *Conn) ReplyWithError(ctx context.Context, id ID, respErr *Error) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.ReplyWithError |
| func (c *Conn) SendResponse(ctx context.Context, resp *Response) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.SendResponse |
| type ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ConnOpt |
| func LogMessages(logger Logger) ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#LogMessages |
| func OnRecv(f func(*Request, *Response)) ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#OnRecv |
| func OnSend(f func(*Request, *Response)) ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#OnSend |
| func SetLogger(logger Logger) ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#SetLogger |
| type Error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error |
| func (e *Error) Error() string | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error.Error |
| func (e *Error) SetError(v interface{}) | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error.SetError |
| type Handler | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Handler |
| func AsyncHandler(h Handler) Handler | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#AsyncHandler |
| type HandlerWithErrorConfigurer | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer |
| func HandlerWithError(...) *HandlerWithErrorConfigurer | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithError |
| func (h *HandlerWithErrorConfigurer) Handle(ctx context.Context, conn *Conn, req *Request) | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer.Handle |
| func (h *HandlerWithErrorConfigurer) SuppressErrClosed() Handler | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer.SuppressErrClosed |
| type ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| func (id ID) MarshalJSON() ([]byte, error) | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.MarshalJSON |
| func (id ID) String() string | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.String |
| func (id *ID) UnmarshalJSON(data []byte) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.UnmarshalJSON |
| type JSONRPC2 | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#JSONRPC2 |
| type Logger | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Logger |
| type ObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectCodec |
| type ObjectStream | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectStream |
| func NewBufferedStream(conn io.ReadWriteCloser, codec ObjectCodec) ObjectStream | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewBufferedStream |
| func NewPlainObjectStream(conn io.ReadWriteCloser) ObjectStream | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewPlainObjectStream |
| type PlainObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec |
| func (c PlainObjectCodec) ReadObject(stream *bufio.Reader, v interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec.ReadObject |
| func (c PlainObjectCodec) WriteObject(stream io.Writer, v interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec.WriteObject |
| type Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| func (r Request) MarshalJSON() ([]byte, error) | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.MarshalJSON |
| func (r *Request) SetExtraField(name string, v interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetExtraField |
| func (r *Request) SetMeta(v interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetMeta |
| func (r *Request) SetParams(v interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetParams |
| func (r *Request) UnmarshalJSON(data []byte) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.UnmarshalJSON |
| type RequestField | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#RequestField |
| type Response | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
| func (r Response) MarshalJSON() ([]byte, error) | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.MarshalJSON |
| func (r *Response) SetResult(v interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.SetResult |
| func (r *Response) UnmarshalJSON(data []byte) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.UnmarshalJSON |
| type VSCodeObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec |
| func (VSCodeObjectCodec) ReadObject(stream *bufio.Reader, v interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec.ReadObject |
| func (VSCodeObjectCodec) WriteObject(stream io.Writer, obj interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec.WriteObject |
| type VarintObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec |
| func (VarintObjectCodec) ReadObject(stream *bufio.Reader, v interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec.ReadObject |
| func (VarintObjectCodec) WriteObject(stream io.Writer, obj interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec.WriteObject |
| type Waiter | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Waiter |
| func (w Waiter) Wait(ctx context.Context, result interface{}) error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Waiter.Wait |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-examples |
| Package | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-package |
| Conn.Notify (NullParams) | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-Conn.Notify-NullParams |
| Conn.Notify (ParamsOmitted) | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-Conn.Notify-ParamsOmitted |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-constants |
| View Source | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L52 |
| http://www.jsonrpc.org/specification#error_object | http://www.jsonrpc.org/specification#error_object |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-variables |
| View Source | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L119 |
| errors | https://pkg.go.dev/errors |
| New | https://pkg.go.dev/errors#New |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-functions |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#pkg-types |
| CallOption | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/call_opt.go#L5 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| ExtraField | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/call_opt.go#L25 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ExtraField |
| string | https://pkg.go.dev/builtin#string |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| Meta | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/call_opt.go#L16 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Meta |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| PickID | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/call_opt.go#L34 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PickID |
| ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| StringID | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/call_opt.go#L43 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#StringID |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| Conn | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L18 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| NewConn | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L51 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewConn |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| ObjectStream | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectStream |
| Handler | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Handler |
| ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ConnOpt |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| Call | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L89 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Call |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| string | https://pkg.go.dev/builtin#string |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| error | https://pkg.go.dev/builtin#error |
| Close | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L81 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Close |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| error | https://pkg.go.dev/builtin#error |
| DisconnectNotify | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L99 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.DisconnectNotify |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| DispatchCall | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L111 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.DispatchCall |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| string | https://pkg.go.dev/builtin#string |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| Waiter | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Waiter |
| error | https://pkg.go.dev/builtin#error |
| Notify | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L140 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Notify |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| string | https://pkg.go.dev/builtin#string |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| error | https://pkg.go.dev/builtin#error |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-Conn.Notify-NullParams |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#example-Conn.Notify-ParamsOmitted |
| Reply | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L162 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.Reply |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| error | https://pkg.go.dev/builtin#error |
| ReplyWithError | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L172 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.ReplyWithError |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| Error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error |
| error | https://pkg.go.dev/builtin#error |
| SendResponse | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L178 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn.SendResponse |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| Response | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
| error | https://pkg.go.dev/builtin#error |
| ConnOpt | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn_opt.go#L16 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ConnOpt |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| LogMessages | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn_opt.go#L32 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#LogMessages |
| Logger | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Logger |
| ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ConnOpt |
| OnRecv | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn_opt.go#L20 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#OnRecv |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| Response | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
| ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ConnOpt |
| OnSend | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn_opt.go#L26 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#OnSend |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| Response | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
| ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ConnOpt |
| SetLogger | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn_opt.go#L105 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#SetLogger |
| Logger | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Logger |
| ConnOpt | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ConnOpt |
| Error | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L29 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error |
| int64 | https://pkg.go.dev/builtin#int64 |
| string | https://pkg.go.dev/builtin#string |
| json | https://pkg.go.dev/encoding/json |
| RawMessage | https://pkg.go.dev/encoding/json#RawMessage |
| Error | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L46 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error.Error |
| Error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error |
| string | https://pkg.go.dev/builtin#string |
| SetError | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L37 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error.SetError |
| Error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error |
| Handler | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L61 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Handler |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| AsyncHandler | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/async.go#L8 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#AsyncHandler |
| Handler | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Handler |
| Handler | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Handler |
| HandlerWithErrorConfigurer | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/handler_with_error.go#L14 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer |
| HandlerWithError | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/handler_with_error.go#L9 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithError |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| error | https://pkg.go.dev/builtin#error |
| HandlerWithErrorConfigurer | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer |
| Handle | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/handler_with_error.go#L20 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer.Handle |
| HandlerWithErrorConfigurer | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| Conn | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Conn |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| SuppressErrClosed | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/handler_with_error.go#L57 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer.SuppressErrClosed |
| HandlerWithErrorConfigurer | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#HandlerWithErrorConfigurer |
| Handler | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Handler |
| ID | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L73 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| uint64 | https://pkg.go.dev/builtin#uint64 |
| string | https://pkg.go.dev/builtin#string |
| bool | https://pkg.go.dev/builtin#bool |
| MarshalJSON | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L94 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.MarshalJSON |
| ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| String | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L86 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.String |
| ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| string | https://pkg.go.dev/builtin#string |
| UnmarshalJSON | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L102 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID.UnmarshalJSON |
| ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| JSONRPC2 | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go#L17 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#JSONRPC2 |
| http://www.jsonrpc.org/specification#request_object | http://www.jsonrpc.org/specification#request_object |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| string | https://pkg.go.dev/builtin#string |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| error | https://pkg.go.dev/builtin#error |
| http://www.jsonrpc.org/specification#notification | http://www.jsonrpc.org/specification#notification |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| string | https://pkg.go.dev/builtin#string |
| CallOption | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#CallOption |
| error | https://pkg.go.dev/builtin#error |
| error | https://pkg.go.dev/builtin#error |
| Logger | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn_opt.go#L10 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Logger |
| string | https://pkg.go.dev/builtin#string |
| ObjectCodec | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L79 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectCodec |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| error | https://pkg.go.dev/builtin#error |
| bufio | https://pkg.go.dev/bufio |
| Reader | https://pkg.go.dev/bufio#Reader |
| error | https://pkg.go.dev/builtin#error |
| ObjectStream | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L15 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectStream |
| error | https://pkg.go.dev/builtin#error |
| error | https://pkg.go.dev/builtin#error |
| io | https://pkg.go.dev/io |
| Closer | https://pkg.go.dev/io#Closer |
| NewBufferedStream | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L42 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewBufferedStream |
| io | https://pkg.go.dev/io |
| ReadWriteCloser | https://pkg.go.dev/io#ReadWriteCloser |
| ObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectCodec |
| ObjectStream | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectStream |
| NewPlainObjectStream | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L206 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#NewPlainObjectStream |
| io | https://pkg.go.dev/io |
| ReadWriteCloser | https://pkg.go.dev/io#ReadWriteCloser |
| ObjectStream | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ObjectStream |
| PlainObjectCodec | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L175 |
| ReadObject | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L189 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec.ReadObject |
| PlainObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec |
| bufio | https://pkg.go.dev/bufio |
| Reader | https://pkg.go.dev/bufio#Reader |
| error | https://pkg.go.dev/builtin#error |
| WriteObject | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L181 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec.WriteObject |
| PlainObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#PlainObjectCodec |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| error | https://pkg.go.dev/builtin#error |
| Request | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/request.go#L14 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| string | https://pkg.go.dev/builtin#string |
| json | https://pkg.go.dev/encoding/json |
| RawMessage | https://pkg.go.dev/encoding/json#RawMessage |
| ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| bool | https://pkg.go.dev/builtin#bool |
| json | https://pkg.go.dev/encoding/json |
| RawMessage | https://pkg.go.dev/encoding/json#RawMessage |
| RequestField | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#RequestField |
| http://www.jsonrpc.org/specification#request_object | http://www.jsonrpc.org/specification#request_object |
| http://www.jsonrpc.org/specification#notification | http://www.jsonrpc.org/specification#notification |
| MarshalJSON | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/request.go#L35 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.MarshalJSON |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| SetExtraField | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/request.go#L162 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetExtraField |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| string | https://pkg.go.dev/builtin#string |
| error | https://pkg.go.dev/builtin#error |
| SetMeta | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/request.go#L150 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetMeta |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| error | https://pkg.go.dev/builtin#error |
| SetParams | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/request.go#L139 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.SetParams |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| error | https://pkg.go.dev/builtin#error |
| UnmarshalJSON | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/request.go#L56 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request.UnmarshalJSON |
| Request | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Request |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| RequestField | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/request.go#L175 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#RequestField |
| string | https://pkg.go.dev/builtin#string |
| Response | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/response.go#L10 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
| ID | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#ID |
| json | https://pkg.go.dev/encoding/json |
| RawMessage | https://pkg.go.dev/encoding/json#RawMessage |
| Error | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Error |
| json | https://pkg.go.dev/encoding/json |
| RawMessage | https://pkg.go.dev/encoding/json#RawMessage |
| http://www.jsonrpc.org/specification#response_object | http://www.jsonrpc.org/specification#response_object |
| MarshalJSON | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/response.go#L31 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.MarshalJSON |
| Response | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| SetResult | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/response.go#L65 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.SetResult |
| Response | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
| error | https://pkg.go.dev/builtin#error |
| UnmarshalJSON | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/response.go#L45 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response.UnmarshalJSON |
| Response | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Response |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| VSCodeObjectCodec | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L121 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec |
| https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#base-protocol | https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#base-protocol |
| ReadObject | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L139 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec.ReadObject |
| VSCodeObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec |
| bufio | https://pkg.go.dev/bufio |
| Reader | https://pkg.go.dev/bufio#Reader |
| error | https://pkg.go.dev/builtin#error |
| WriteObject | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L124 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec.WriteObject |
| VSCodeObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VSCodeObjectCodec |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| error | https://pkg.go.dev/builtin#error |
| VarintObjectCodec | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L90 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec |
| ReadObject | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L110 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec.ReadObject |
| VarintObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec |
| bufio | https://pkg.go.dev/bufio |
| Reader | https://pkg.go.dev/bufio#Reader |
| error | https://pkg.go.dev/builtin#error |
| WriteObject | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go#L93 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec.WriteObject |
| VarintObjectCodec | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#VarintObjectCodec |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| error | https://pkg.go.dev/builtin#error |
| Waiter | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L353 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Waiter |
| Wait | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go#L361 |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Waiter.Wait |
| Waiter | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#Waiter |
| context | https://pkg.go.dev/context |
| Context | https://pkg.go.dev/context#Context |
| error | https://pkg.go.dev/builtin#error |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#section-sourcefiles |
| View all Source files | https://github.com/sourcegraph/jsonrpc2/tree/v0.2.3 |
| async.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/async.go |
| call_opt.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/call_opt.go |
| conn.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn.go |
| conn_opt.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/conn_opt.go |
| handler_with_error.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/handler_with_error.go |
| jsonrpc2.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/jsonrpc2.go |
| request.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/request.go |
| response.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/response.go |
| stream.go | https://github.com/sourcegraph/jsonrpc2/blob/v0.2.3/stream.go |
| ¶ | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2#section-directories |
| websocket | https://pkg.go.dev/github.com/sourcegraph/jsonrpc2@v0.2.3/websocket |
|
Why Go
| https://go.dev/solutions |
|
Use Cases
| https://go.dev/solutions/use-cases |
|
Case Studies
| https://go.dev/solutions/case-studies |
|
Get Started
| https://learn.go.dev/ |
|
Playground
| https://play.golang.org |
|
Tour
| https://tour.golang.org |
|
Stack Overflow
| https://stackoverflow.com/questions/tagged/go?tab=Newest |
|
Help
| https://go.dev/help |
|
Packages
| https://pkg.go.dev |
|
Standard Library
| https://pkg.go.dev/std |
|
Sub-repositories
| https://pkg.go.dev/golang.org/x |
|
About Go Packages
| https://pkg.go.dev/about |
|
pkg.go.dev API
| https://pkg.go.dev/api |
|
About
| https://go.dev/project |
| Download | https://go.dev/dl/ |
| Blog | https://go.dev/blog |
|
Issue Tracker
| https://github.com/golang/go/issues |
|
Release Notes
| https://go.dev/doc/devel/release.html |
|
Brand Guidelines
| https://go.dev/brand |
|
Code of Conduct
| https://go.dev/conduct |
|
Connect
| https://www.twitter.com/golang |
|
Twitter
| https://www.twitter.com/golang |
| GitHub | https://github.com/golang |
|
Slack
| https://invite.slack.golangbridge.org/ |
|
r/golang
| https://reddit.com/r/golang |
|
Meetup
| https://www.meetup.com/pro/go |
|
Golang Weekly
| https://golangweekly.com/ |
| Copyright | https://go.dev/copyright |
| Terms of Service | https://go.dev/tos |
|
Privacy Policy
| http://www.google.com/intl/en/policies/privacy/ |
|
Report an Issue
| https://go.dev/s/pkgsite-feedback |
|
| https://google.com |
| Learn more. | https://policies.google.com/technologies/cookies |