hello

command
v3.2.14 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

hello

The "hello world" of grid applications.

What You Will Learn
  1. How to start a gird application
  2. How to define a leader actor
  3. How to discovery peers in the application
  4. How to start other actors besides the leader
Prerequisite, Etcd

The grid library requires a V3 etcd server to be running, and this example requires that it run on its default port number. You can get etcd running by doing:

$ go get go.etcd.io/etcd
$ cd go.etcd.io/etcd
$ ./build
$ bin/etcd
Running the Example

In a terminal run the following command from inside the hello directory:

$ go run main.go -address localhost:7777

You can run as many of these processes as you want, but each will need a different port number.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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