switchboard

package
v0.0.0-...-7ceab97 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2014 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Switch = newSwitchboard()

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(addr string) *Server

func (*Server) Addr

func (self *Server) Addr() string

func (*Server) Serve

func (self *Server) Serve(name string, service interface{}) (err error)

type Switchboard

type Switchboard struct {
	// contains filtered or unexported fields
}

func (*Switchboard) Call

func (self *Switchboard) Call(addr, service string, args, reply interface{}) (err error)

func (*Switchboard) Close

func (self *Switchboard) Close(addr string) error

func (*Switchboard) Go

func (self *Switchboard) Go(addr, service string, args, reply interface{}, done chan *rpc.Call) (call *rpc.Call)

Jump to

Keyboard shortcuts

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