package
0.1.158
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# README

resilience

A powerful read and handle shared_ptr & retry workflow for golang.


Install

With a correctly configured Go toolchain:

go get -u github.com/searKing/golib/x/resilience

License

MIT licensed. See the LICENSE file for details.

# Functions

BackgroundPtr returns a non-nil, empty Ptr.
BackgroundPtr returns a non-nil, empty Ptr.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Retry executes a f until no error is returned or failAfter is reached.
TODO returns a non-nil, empty Ptr.
TODO returns a non-nil, empty Ptr.
No description provided by the author
No description provided by the author

# Constants

DefaultConnectTimeout is the default timeout to establish a connection to a ZooKeeper node.
DefaultSessionTimeout is the default timeout to keep the current ZooKeeper session alive during a temporary disconnect.
No description provided by the author
No description provided by the author
close.
restart.
new and start.
No description provided by the author
Task state for a terminated state.
Task state for a terminated state.
Task state for a terminated state.
Task state for a terminated state.
Task state for a task which has not yet started.
Task state for a running task.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

go:generate stringer -type Event -trimprefix=Eventgo:generate jsonenums -type Event.
No description provided by the author