package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Sep 23, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func OperationWithRecover(operation backoff.Operation) backoff.Operation
OperationWithRecover wrap a backoff operation in a Recover.
Safe contains a thread-safe value.
func New(value interface{}) *Safe
New create a new Safe instance given a value.
func (s *Safe) Get() interface{}
Get returns the value.
func (s *Safe) Set(value interface{})
Set sets a new value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.