Documentation ¶
Index ¶
- Constants
- func NewSession(exitFunc context.CancelFunc) *session
- func SessionAlreadyDownErr(reqID string) error
- func SessionAlreadyInitializedErr(reqID string) error
- func SessionNotInitializedErr(state sessionState) error
- type ClientCaller
- type ClientNotifier
- type InvalidURIErr
- type Server
- type Session
- type SessionFactory
Constants ¶
View Source
const SessionNotInitialized jrpc2.Code = -32002
Variables ¶
This section is empty.
Functions ¶
func NewSession ¶
func NewSession(exitFunc context.CancelFunc) *session
func SessionAlreadyDownErr ¶
func SessionNotInitializedErr ¶
func SessionNotInitializedErr(state sessionState) error
Types ¶
type ClientCaller ¶ added in v0.25.0
type ClientNotifier ¶ added in v0.24.0
type InvalidURIErr ¶
type InvalidURIErr struct {
URI string
}
func (*InvalidURIErr) Error ¶
func (e *InvalidURIErr) Error() string
type Server ¶ added in v0.25.0
type Server interface { ClientNotifier ClientCaller }
type SessionFactory ¶
Click to show internal directories.
Click to hide internal directories.