retry

command
v0.0.0-...-908d554 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

README

客户端重试

演示如何使用客户端容错重试

运行

运行FailureServer.go 该服务端总是返回错误

go run FailureServer.go

打开新窗口,运行SuccessServer.go 该服务端返回成功

go run FailureServer.go

打开新窗口,运行客户端

go run client.go

见客户端与各服务端打印的日志

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