Documentation
¶
Overview ¶
Package proxyapp package implements the experimental plugins support. We promise interface part will not be stable until documented.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func URIParseErr ¶
Types ¶
type Config ¶
type Config struct {
// cmd is the optional command needed to initialize plugin.
// By default we'll connect to its std[in, out, err].
Command string `json:"cmd"`
// rpc_server_uri is used to specify plugin endpoint address.
// if not specified, we'll connect to the plugin by std[in, out, err].
RPCServerURI string `json:"rpc_server_uri"`
// security can be one of "none", "tls" (for server TLS) and "mtls" for mutal
// TLS.
Security string `json:"security"`
// server_tls_cert points a TLS certificate used to authenticate the server.
// If not provided, the default system certificate pool will be used.
ServerTLSCert string `json:"server_tls_cert"`
// transfer_file_content will send the file content as a byte array in
// addition to the filename.
TransferFileContent bool `json:"transfer_file_content"`
// config is an optional remote plugin config
ProxyAppConfig json.RawMessage `json:"config"`
}
Config is valid if at least cmd or rpc_server_uri specified.
type ProxyApp ¶
func (*ProxyApp) CreateInstance ¶
Click to show internal directories.
Click to hide internal directories.