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

Method Client

ch08/hashicorp-plugin/commons/commons.go:75–77  ·  view source on GitHub ↗
(b *plugin.MuxBroker, c *rpc.Client)

Source from the content-addressed store, hash-verified

73}
74
75func (SayerPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error) {
76 return &SayerRPC{client: c}, nil
77}
78
79// HandshakeConfig is a common handshake that is shared by plugin and host.
80var HandshakeConfig = plugin.HandshakeConfig{

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected