Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callable ¶
type Callable interface { // String returns a string representation of the callable String() string // Call makes a call to the plugin using http method, at op (endpoint), with message and result structs Call(endpoint Endpoint, message, result interface{}) (raw []byte, err error) }
Callable makes something callable in a rpc context
type Endpoint ¶
type Endpoint interface { // String returns a human readable representation of what this endpoint is String() string }
Endpoint models some endpoint for a plugin to deliver a message to and can get raw bytes as response, and consequently, a typed result Right now one endpoint type is avalable: plugin.util.HttpEndpoint() that works http client and servers.
Click to show internal directories.
Click to hide internal directories.