Namespace: go.std.net.rpc.jsonrpc
v1.0Contents
Summary
Provides a low-level interface to the net/rpc/jsonrpc package.
Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec
for the rpc package.
For JSON-RPC 2.0 support, see https://godoc.org/?q=json-rpc+2.0
Index
Legend
- 
      Constant
      Variable
      Function
      Macro
      Special form
      Type
      GoVar
      Receiver/Method
    
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.- 
      (None.)
    
Variables
- 
      (None.)
    
Functions, Macros, and Special Forms
- 
  DialFunction v1.0(Dial network address)Dial connects to a JSON-RPC server at the specified network address. 
 
 Go input arguments: (network string, address string)
 
 Go returns: (*net/rpc.Client, error)
 
 Joker input arguments: [^String network, ^String address]
 
 Joker returns: [^go.std.net.rpc/*Client, ^Error]
- 
  NewClientFunction v1.0(NewClient conn)NewClient returns a new rpc.Client to handle requests to the 
 set of services at the other end of the connection.
 
 Go input arguments: (conn io.ReadWriteCloser)
 
 Go returns: *net/rpc.Client
 
 Joker input arguments: [^go.std.io/ReadWriteCloser conn]
 
 Joker returns: ^go.std.net.rpc/*Client
- 
  NewClientCodecFunction v1.0(NewClientCodec conn)NewClientCodec returns a new rpc.ClientCodec using JSON-RPC on conn. 
 
 Go input arguments: (conn io.ReadWriteCloser)
 
 Go returns: net/rpc.ClientCodec
 
 Joker input arguments: [^go.std.io/ReadWriteCloser conn]
 
 Joker returns: ^go.std.net.rpc/ClientCodec
- 
  NewServerCodecFunction v1.0(NewServerCodec conn)NewServerCodec returns a new rpc.ServerCodec using JSON-RPC on conn. 
 
 Go input arguments: (conn io.ReadWriteCloser)
 
 Go returns: net/rpc.ServerCodec
 
 Joker input arguments: [^go.std.io/ReadWriteCloser conn]
 
 Joker returns: ^go.std.net.rpc/ServerCodec
- 
  ServeConnFunction v1.0(ServeConn conn)ServeConn runs the JSON-RPC server on a single connection. 
 ServeConn blocks, serving the connection until the client hangs up.
 The caller typically invokes ServeConn in a go statement.
 
 Go input arguments: (conn io.ReadWriteCloser)
 
 Joker input arguments: [^go.std.io/ReadWriteCloser conn]
Types
- 
      (None.)