stl

package
v0.0.0-...-004d278 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 3 Imported by: 1

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

func (p *Provider) GetArgType(f *types.Func) types.Type

GetArgType extracts metadata about the response type from an RPC method.

func (*Provider) GetReplyType

func (p *Provider) GetReplyType(f *types.Func) types.Type

GetReplyType extracts metadata about the response type from an RPC method.

func (*Provider) IsSuitableMethod

func (p *Provider) IsSuitableMethod(method *types.Func) bool

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL