Documentation ¶
Overview ¶
Implements a JSON client that requests a set of digits of pi starting at a specified index.
Implements a JSON service that returns a set of digits of pi starting at a specified index.
Index ¶
Constants ¶
View Source
const ( DEFAULT_REMOTE_URL = "http://pi-service:8080/" DEFAULT_COUNT = 1000 )
View Source
const ( DEFAULT_LISTEN_ADDRESS = ":8080" DEFAULT_SENTINEL_ADDRESS = "sentinel-service:26379" DEFAULT_MASTER_NAME = "master" DEFAULT_REDIS_ADDRESS = "redis-service:6379" DEFAULT_USE_CACHE = true )
View Source
const (
APP_NAME = "pi"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.