Documentation ¶
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.
func (*Client) Decrypt ¶
func (c *Client) Decrypt(req *model.DecryptRequest) (*model.DecryptResponse, error)
Decrypt ...
type Plugin ¶
type Plugin struct { // Concrete implementation, written in Go. This is only used for plugins // that are written in Go. Impl shared.DecryptorInterface }
Decrypt - 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.DecryptorInterface
}
Server - This is the RPC server that Client talks to, conforming to the requirements of net/rpc
func (*Server) Decrypt ¶
func (s *Server) Decrypt(_req *model.DecryptRequest, _resp *model.DecryptResponse) error
Decrypt ...
Click to show internal directories.
Click to hide internal directories.