rpc

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Code generated by define_gene; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed net_rpc.d.ts
	NetRpcDefine   []byte
	NetRpcDeclared = map[string]any{
		"registerName":       rpc.RegisterName,
		"serveConn":          rpc.ServeConn,
		"dialHTTPPath":       rpc.DialHTTPPath,
		"newClient":          rpc.NewClient,
		"newServer":          rpc.NewServer,
		"dialHTTP":           rpc.DialHTTP,
		"ErrShutdown":        rpc.ErrShutdown,
		"register":           rpc.Register,
		"serveCodec":         rpc.ServeCodec,
		"serveRequest":       rpc.ServeRequest,
		"accept":             rpc.Accept,
		"DefaultDebugPath":   rpc.DefaultDebugPath,
		"DefaultServer":      rpc.DefaultServer,
		"newClientWithCodec": rpc.NewClientWithCodec,
		"DefaultRPCPath":     rpc.DefaultRPCPath,
		"dial":               rpc.Dial,
		"handleHTTP":         rpc.HandleHTTP,

		"emptyCall":        engine.Empty[rpc.Call],
		"emptyRefCall":     engine.EmptyRefer[rpc.Call],
		"refOfCall":        engine.ReferOf[rpc.Call],
		"unRefCall":        engine.UnRefer[rpc.Call],
		"emptyRequest":     engine.Empty[rpc.Request],
		"emptyRefRequest":  engine.EmptyRefer[rpc.Request],
		"refOfRequest":     engine.ReferOf[rpc.Request],
		"unRefRequest":     engine.UnRefer[rpc.Request],
		"emptyResponse":    engine.Empty[rpc.Response],
		"emptyRefResponse": engine.EmptyRefer[rpc.Response],
		"refOfResponse":    engine.ReferOf[rpc.Response],
		"unRefResponse":    engine.UnRefer[rpc.Response]}
)

Functions

This section is empty.

Types

type NetRpcModule

type NetRpcModule struct{}

func (NetRpcModule) Exports

func (S NetRpcModule) Exports() map[string]any

func (NetRpcModule) Identity

func (S NetRpcModule) Identity() string

func (NetRpcModule) TypeDefine

func (S NetRpcModule) TypeDefine() []byte

Directories

Path Synopsis
Code generated by define_gene; DO NOT EDIT.
Code generated by define_gene; DO NOT EDIT.

Jump to

Keyboard shortcuts

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