added basic plugin structure
This commit is contained in:
10
pkg/register/plugin_server.go
Normal file
10
pkg/register/plugin_server.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package register
|
||||
|
||||
type PluginServer struct {
|
||||
Impl Plugin
|
||||
}
|
||||
|
||||
func (ps *PluginServer) About(args any, resp *string) error {
|
||||
*resp = ps.Impl.About()
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user