Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
func Serve(pluginServer pluginsdk.PluginServer, serviceServers ...pluginsdk.ServiceServer)
Serve serves the plugin using the given plugin/service servers. It does not return. It is intended to be called from main(). For example:
func main() {
plugin := new(Plugin)
pluginmain.Serve(
keymanagerv1.KeyManagerPluginServer(plugin),
configv1.ConfigServiceServer(plugin),
)
}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.