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 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 ClientCaller ¶
type ClientNotifier ¶
type InvalidURIErr ¶
type InvalidURIErr struct {
URI string
}
func (*InvalidURIErr) Error ¶
func (e *InvalidURIErr) Error() string
type Server ¶
type Server interface { ClientNotifier ClientCaller }
type SessionFactory ¶
Click to show internal directories.
Click to hide internal directories.