Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServerFromFlag ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.