Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
360 B · 18 lines
Go
at main
12345678910111213141516171819package pluginhost
import ( "context"
"github.com/router-for-me/CLIProxyAPI/v7/sdk/pluginabi")
const pluginHostABIVersion = pluginabi.ABIVersion
type pluginClient interface { Call(ctx context.Context, method string, request []byte) ([]byte, error) Shutdown()}
type pluginLoader interface { Open(file pluginFile, host *Host) (pluginClient, error)}