app

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerFromFlag

func ServerFromFlag(serviceName string, object bus.Actor) (bus.Server, error)

ServerFromFlag is an helper method to write service applications. It uses the flag package to get the session URL, the URL to listen to, the user and token strings. It creates a new session, connect to the service directory and register the given service and listen for incoming connections.

func SessionFromFlag

func SessionFromFlag() (bus.Session, error)

SessionFromFlag is an helper method to write client applications. It uses the flag package to get the session URL, the user and token strings to connect a session.

Types

This section is empty.

Jump to

Keyboard shortcuts

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