Documentation
¶
Overview ¶
Code generated by protoc-gen-hcplugin. DO NOT EDIT.
Code generated by protoc-gen-hcplugin. DO NOT EDIT.
Code generated by protoc-gen-hcplugin. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an implementation of shared that talks over RPC.
type Plugin ¶
type Plugin struct {
// Concrete implementation, written in Go. This is only used for plugins
// that are written in Go.
Impl shared.KVInterface
}
KV - this is the interface that we're exposing as a plugin. Plugin - This is the implementation of plugin.Plugin so we can serve/consume this.
type Server ¶
type Server struct {
Impl shared.KVInterface
}
Server - This is the RPC server that Client talks to, conforming to the requirements of net/rpc
func (*Server) Get ¶
func (s *Server) Get(_req *base.GetRequest, _resp *base.GetResponse) error
Click to show internal directories.
Click to hide internal directories.