Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶ added in v0.8.0
type Options[C, Q, M, R any] struct { // Init is the function that will be called when the server is started. Init func(C, execrpc.ProtocolInfo) error // Handle is the function that will be called when a request is received. Handle func(*execrpc.Call[Q, M, R]) }
Options is a sub set of execrpc.ServerOptions.
Click to show internal directories.
Click to hide internal directories.