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