//
pkg.gl
Category
github.com/dgate-io/dgate
pkg
util
safe
package
0.11.1
Repository:
https://github.com/dgate-io/dgate.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
2
Files
39 SLOC
#
Functions
NewRef
NewRef creates a new Ref instance with an initial value that is a pointer.
#
Structs
Ref
Ref is a generic struct that holds concurrent read and write objects to allow for safe concurrent read access with minimal locking, and atomic updates to the write object.