server

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpcServer

type RpcServer struct {
	Server
}

func (*RpcServer) Register

func (s *RpcServer) Register(service any) error

type Server

type Server interface {
	Register(service any) error
	RegisterName(name string, service any)
	Call(serviceMethod string, args, reply any)
}

func NewRpcServer

func NewRpcServer() Server

Directories

Path Synopsis
broker

Jump to

Keyboard shortcuts

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