github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_net_rpc_jsonrpc.go (about)

     1  // Code generated by 'yaegi extract net/rpc/jsonrpc'. DO NOT EDIT.
     2  
     3  // +build go1.16,!go1.17
     4  
     5  package stdlib
     6  
     7  import (
     8  	"net/rpc/jsonrpc"
     9  	"reflect"
    10  )
    11  
    12  func init() {
    13  	Symbols["net/rpc/jsonrpc/jsonrpc"] = map[string]reflect.Value{
    14  		// function, constant and variable definitions
    15  		"Dial":           reflect.ValueOf(jsonrpc.Dial),
    16  		"NewClient":      reflect.ValueOf(jsonrpc.NewClient),
    17  		"NewClientCodec": reflect.ValueOf(jsonrpc.NewClientCodec),
    18  		"NewServerCodec": reflect.ValueOf(jsonrpc.NewServerCodec),
    19  		"ServeConn":      reflect.ValueOf(jsonrpc.ServeConn),
    20  	}
    21  }