Standard Library

GoNetRpc

Go stdlib package — net/rpc. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Accept()Neutral
#
Signature
Accept(lis net.Listener)

Accept accepts connections on the listener and serves requests

.Client.Call()Neutral
#
Signature
Client.Call(serviceMethod string, args any, reply any) error

Call invokes the named function, waits for it to complete, and returns its error status.

.Client.Close()Neutral
#
Signature
Client.Close() error

Close calls the underlying codec's Close method. If the connection is already

.Client.Go()Neutral
#
Signature
Client.Go(serviceMethod string, args any, reply any, done chan *Call) *Call

Go invokes the function asynchronously. It returns the Call structure representing

.Dial()Neutral
#
Signature
Dial(network string, address string) (*Client, error)

Dial connects to an RPC server at the specified network address.

.DialHTTP()Neutral
#
Signature
DialHTTP(network string, address string) (*Client, error)

DialHTTP connects to an HTTP RPC server at the specified network address

.DialHTTPPath()Neutral
#
Signature
DialHTTPPath(network string, address string, path string) (*Client, error)

DialHTTPPath connects to an HTTP RPC server

.HandleHTTP()Neutral
#
Signature
HandleHTTP()

HandleHTTP registers an HTTP handler for RPC messages to DefaultServer

.NewClient()Neutral
#
Signature
NewClient(conn io.ReadWriteCloser) *Client

NewClient returns a new Client to handle requests to the

.NewClientWithCodec()Neutral
#
Signature
NewClientWithCodec(codec ClientCodec) *Client

NewClientWithCodec is like NewClient but uses the specified

Fully-Qualified Names

FQNField
net/rpcfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # net/rpc