Back to godoc.org

Package dispatcher

v1.42.1
Latest Go to latest

The highest tagged major version is .

Published: Dec 2, 2019 | License: MIT | Module: github.com/yarpc/yarpc-go

Index

func Create

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

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

func CreateDispatcherForTransport

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)

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier