Documentation
¶
Index ¶
Constants ¶
View Source
const SessionNotInitialized code.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 InvalidURIErr ¶
type InvalidURIErr struct {
URI string
}
func (*InvalidURIErr) Error ¶
func (e *InvalidURIErr) Error() string
type Session ¶
type Session interface {
Assigner() (jrpc2.Assigner, error)
Finish(jrpc2.ServerStatus)
SetLogger(*log.Logger)
SetDiscoveryFunc(discovery.DiscoveryFunc)
}
type SessionFactory ¶
Click to show internal directories.
Click to hide internal directories.