command
Version:
v0.0.0-...-908d554
Opens a new window with list of versions in this module.
Published: Nov 2, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
客户端重试
演示如何使用客户端容错重试
运行
运行FailureServer.go 该服务端总是返回错误
go run FailureServer.go
打开新窗口,运行SuccessServer.go 该服务端返回成功
go run FailureServer.go
打开新窗口,运行客户端
go run client.go
见客户端与各服务端打印的日志
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.