dispatcher

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(t crossdock.T) *yarpc.Dispatcher

Create creates an RPC from the given parameters or fails the whole behavior.

func CreateDispatcherForTransport added in v1.8.0

func CreateDispatcherForTransport(t crossdock.T, trans string) *yarpc.Dispatcher

CreateDispatcherForTransport creates an RPC from the given parameters or fails the whole behavior.

If trans is non-empty, this will be used instead of the behavior transport.

func CreateOnewayDispatcher

func CreateOnewayDispatcher(t crossdock.T, handler raw.OnewayHandler) (*yarpc.Dispatcher, string)

CreateOnewayDispatcher returns a started dispatcher and returns the address the server should call back to (ie this host)

Types

This section is empty.

Jump to

Keyboard shortcuts

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