Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandIntPlugin ¶
type RandIntPlugin struct {
Impl RandIntResponder
}
RandIntPlugin is a struct used while benchmarking hashicorp/go-plugin
func (RandIntPlugin) Client ¶
func (RandIntPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
Client is the client used while benchmarking hashicorp/go-plugin
func (*RandIntPlugin) Server ¶
func (p *RandIntPlugin) Server(*plugin.MuxBroker) (interface{}, error)
Server is the server used while benchmarking hashicorp/go-plugin
type RandIntRPC ¶
type RandIntRPC struct {
// contains filtered or unexported fields
}
RandIntRPC is a struct used for hashicorp/go-plugin
func (*RandIntRPC) Respond ¶
func (g *RandIntRPC) Respond() int
Respond is a function used while benchmarking hashicorp/go-plugin
type RandIntRPCServer ¶
type RandIntRPCServer struct {
Impl RandIntResponder
}
RandIntRPCServer is the RPC server used when benchmarking hashicorp/go-plugin
func (*RandIntRPCServer) Respond ¶
func (s *RandIntRPCServer) Respond(args interface{}, resp *int) error
Respond is a function used while benchmarking hashicorp/go-plugin
type RandIntResponder ¶
type RandIntResponder interface {
Respond() int
}
RandIntResponder is a responder for hashicorp/go-plugin
Click to show internal directories.
Click to hide internal directories.