diff options
Diffstat (limited to 'plugins/rpc/tests/plugin1.go')
-rw-r--r-- | plugins/rpc/tests/plugin1.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/rpc/tests/plugin1.go b/plugins/rpc/tests/plugin1.go index a8d5c216..79e98ed4 100644 --- a/plugins/rpc/tests/plugin1.go +++ b/plugins/rpc/tests/plugin1.go @@ -29,14 +29,14 @@ func (p1 *Plugin1) Name() string { } func (p1 *Plugin1) RPC() interface{} { - return &PluginRpc{srv: p1} + return &PluginRPC{srv: p1} } -type PluginRpc struct { +type PluginRPC struct { srv *Plugin1 } -func (r *PluginRpc) Hello(in string, out *string) error { +func (r *PluginRPC) Hello(in string, out *string) error { *out = fmt.Sprintf("Hello, username: %s", in) return nil } |