Help us shape the future of Go! Take the 2026 Go Developer Survey

example-client-app

command
v1.3.104 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

README

Skywire Example client app (External app)

example-client-app app implements client for the example-server-app over skywire net and is a external app.

It opens persistent skywire connection to the configured example-server-app and send a hello message and gets a response of hi.

Configuration

The app takes the following flags

  • -addr (required) - pubKey and port of the server to connect to (e.g. :)
  • -procAddr - proc server address to connect to (default: localhost:5505)
  • -procKey (required) - proc server address to connect to

Running app

Compile app binary and start a visor:

$ make build-example
$ cd ./build
$ ./skywire-visor skywire-config.json

Register app and generate proc key

$ ./skywire-cli visor app register -a example-client-app
01cd10e65d88494481c50a1bb0659af2

Run the app with the example-server-app addr and the generated proc key

$ ./build/apps/example-client-app -addr <example-server-app-pk>:<example-server-app-skywire-port> -procAddr 01cd10e65d88494481c50a1bb0659af2

Deregister app after stopping the example-client-app

$ ./skywire-cli visor app deregister -k 01cd10e65d88494481c50a1bb0659af2

Documentation

Overview

/* example/example-client-app/example-client-app.go

example client app for skywire visor

Jump to

Keyboard shortcuts

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