MCPcopy Create free account
hub / github.com/cloud-native-go/examples / Server

Method Server

ch08/hashicorp-plugin/commons/commons.go:71–73  ·  view source on GitHub ↗
(*plugin.MuxBroker)

Source from the content-addressed store, hash-verified

69}
70
71func (p *SayerPlugin) Server(*plugin.MuxBroker) (interface{}, error) {
72 return &SayerRPCServer{Impl: p.Impl}, nil
73}
74
75func (SayerPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error) {
76 return &SayerRPC{client: c}, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected