Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{}
Provider is a Glue provider for net/rpc.
func (*Provider) GetArgType ¶
GetArgType extracts metadata about the response type from an RPC method.
func (*Provider) GetReplyType ¶
GetReplyType extracts metadata about the response type from an RPC method.
func (*Provider) IsSuitableMethod ¶
IsSuitableMethod determines if a receiver method is structured as a net/rpc method. The criteria is net/rpc.suitableMethods ported from reflect to types.Type. https://github.com/golang/go/blob/release-branch.go1.8/src/net/rpc/server.go#L292
Click to show internal directories.
Click to hide internal directories.