rpc

package
v0.0.0-...-cd87c42 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(p cellnet.Peer, args interface{}, callback interface{})

func InstallClient

func InstallClient(p cellnet.Peer)

func InstallServer

func InstallServer(p cellnet.Peer)

func RegisterMessage

func RegisterMessage(eq cellnet.EventQueue, msgName string, userHandler func(Response, interface{}))

注册连接消息

Types

type Response

type Response interface {
	Feedback(interface{})
}

Jump to

Keyboard shortcuts

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