Discover Packages
github.com/koepkeca/goSafeDataStruct
module
Version:
v0.0.0-...-ed45dd3
Opens a new window with list of versions in this module.
Published: Aug 13, 2021
License: MIT
Opens a new window with license information.
README
README
¶
Overview
goSafeDataStruct is a library which provides guarded data structures for use in concurrent applications.
You can read more about the design and methodology of this library here.
Installation
To install the library you just do a go get:
go get github.com/koepkeca/goSafeDataStruct
Usage
Usage is easy, you just include the package you want to use, then call the
New() method for the package. Make sure you call a corresponding Destroy for each
New.
There are examples of each data structure in the examples folder for each data type.
Data Types Supported
Data Structure
Current Implementation Status
Unit Test Status
Benchmark Status
stack
yes
yes
yes
queue
yes
yes
yes
trie
yes
yes
no
graph
no
no
no
Expand ▾
Collapse ▴
Directories
¶
Package safeQueue implements a thread safe queue in go.
Package safeQueue implements a thread safe queue in go.
Package safeStack implements a thread safe stack in go.
Package safeStack implements a thread safe stack in go.
Package safeTrie implements a thread safe trie in go
Package safeTrie implements a thread safe trie in go
Click to show internal directories.
Click to hide internal directories.