Top 0.4% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 9.9% forks on proxy.golang.org
Top 0.6% docker downloads on proxy.golang.org
proxy.golang.org : github.com/anacrolix/stm
Package stm provides Software Transactional Memory operations for Go. This is an alternative to the standard way of writing concurrent code (channels and mutexes). STM makes it easy to perform arbitrarily complex operations in an atomic fashion. One of its primary advantages over traditional locking is that STM transactions are composable, whereas locking functions are not -- the composition will either deadlock or release the lock between functions (making it non-atomic). To begin, create an STM object that wraps the data you want to access concurrently. You can then use the Atomically method to atomically read and/or write the the data. This code atomically decrements x: An important part of STM transactions is retrying. At any point during the transaction, you can call tx.Retry(), which will abort the transaction, but not cancel it entirely. The call to Atomically will block until another call to Atomically finishes, at which point the transaction will be rerun. Specifically, one of the values read by the transaction (via tx.Get) must be updated before the transaction will be rerun. As an example, this code will try to decrement x, but will block as long as x is zero: Internally, tx.Retry simply calls panic(stm.Retry). Panicking with any other value will cancel the transaction; no values will be changed. However, it is the responsibility of the caller to catch such panics. Multiple transactions can be composed using Select. If the first transaction calls Retry, the next transaction will be run, and so on. If all of the transactions call Retry, the call will block and the entire selection will be retried. For example, this code implements the "decrement-if-nonzero" transaction above, but for two values. It will first try to decrement x, then y, and block if both values are zero. An important caveat: transactions must be idempotent (they should have the same effect every time they are invoked). This is because a transaction may be retried several times before successfully completing, meaning its side effects may execute more than once. This will almost certainly cause incorrect behavior. One common way to get around this is to build up a list of impure operations inside the transaction, and then perform them after the transaction completes. The stm API tries to mimic that of Haskell's Control.Concurrent.STM, but Haskell can enforce at compile time that STM variables are not modified outside the STM monad. This is not possible in Go, so be especially careful when using pointers in your STM code. Remember: modifying a pointer is a side effect!
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/anacrolix/stm
License: MIT
Latest release: over 2 years ago
First release: over 5 years ago
Namespace: github.com/anacrolix
Dependent packages: 146
Dependent repositories: 177
Stars: 61 on GitHub
Forks: 3 on GitHub
Docker dependents: 20
Docker downloads: 533,865
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/anacrolix
Last synced: 30 days ago
github.com/sleepytariq/nir v0.1.0
A tool to download or stream torrents from nyaa.si1 version - Latest release: 12 months ago - 1 stars on GitHub
github.com/racoon-devel/media-station v1.0.0
App for watching movies from torrent-trackers. Developed for miniPC1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/xlanstar/bandl v1.0.2
Auto download torrents in bangumi.moe3 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/pojntfx/htorrent v0.5.4
HTTP to BitTorrent gateway with seeking support.11 versions - Latest release: about 1 year ago - 1 dependent package - 1 dependent repositories - 91 stars on GitHub
github.com/racoonmediaserver/distribyted v1.0.8
Torrent client with HTTP, fuse, and WebDAV interfaces. Start exploring your torrent files right a...9 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/erigontech/torrent v1.55.0
Full-featured BitTorrent client package and utilities150 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/GuillaumeMCK/GhostYgg v0.0.4
A simple command-line tool for downloading torrents without seeding & increasing download rate.4 versions - Latest release: about 1 year ago - 3 stars on GitHub
github.com/distribyted/distribyted v0.14.0 💰
Torrent client with HTTP, fuse, and WebDAV interfaces. Start exploring your torrent files right a...24 versions - Latest release: about 1 year ago - 943 stars on GitHub
github.com/obitoquilt/dht/v2 v2.21.1
Package dht implements a Distributed Hash Table (DHT) part of the BitTorrent protocol, as specifi...44 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/savagebread/torrent-bread v0.0.1
Full-featured BitTorrent client package and utilities1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/globulario/services/golang v0.0.0-20240123135151-a62bcf074e83
87 versions - Latest release: over 1 year ago - 1 dependent package - 1 dependent repositoriesgithub.com/igoracmelo/anyflix v0.0.0-20240121174619-d230c77629f6
stream stuff17 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/james-lawrence/bw v0.0.0-20240120165810-bb9df4c324a1
self contained cluster configuration management16 versions - Latest release: over 1 year ago - 2 stars on GitHub
github.com/bittorrent/go-btfs v0.0.0-20231227100918-a5500e3a15e5
BTFS is a global, versioned, peer-to-peer filesystem7 versions - Latest release: over 1 year ago - 140 stars on GitHub
github.com/idrecun/zkevm-erigon v0.0.0-20231215094705-92d349b48a55
Package ethereum defines interfaces for interacting with Ethereum.1 version - Latest release: over 1 year ago
github.com/tenderly/erigon/erigon-lib v0.0.0-20231213155600-d3d9290e9e54
Ethereum implementation on the efficiency frontier3 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/idrecun/erigon/erigon-lib v0.0.0-20231212115950-1f8a15b1085a
Ethereum implementation on the efficiency frontier7 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/idrecun/erigon v0.0.0-20231212115950-1f8a15b1085a
Package ethereum defines interfaces for interacting with Ethereum.8 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/nebojsa94/erigon v0.0.0-20231207160702-84e1d89f93f4
Package ethereum defines interfaces for interacting with Ethereum.14 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/nebojsa94/erigon/erigon-lib v0.0.0-20231206092724-ff78b6e31da1
Ethereum implementation on the efficiency frontier8 versions - Latest release: over 1 year ago - 1 dependent package - 0 stars on GitHub
github.com/xander1235/torrent v1.0.5
1 version - Latest release: over 1 year agogithub.com/varbhat/exatorrent v1.3.0
Easy to Use Torrent Client. Can be hosted in Cloud. Files can be streamed in Browser/Media Player.20 versions - Latest release: over 1 year ago - 1,595 stars on GitHub
github.com/stevommmm/homemedia v0.0.0-20231114053047-61c436dac2a5
1 version - Latest release: over 1 year agogithub.com/anthonyraymond/joal-cli v0.0.0-20231113013344-c8ad13ef1e81
3 versions - Latest release: over 1 year agogithub.com/bobanetwork/v3-anchorage/boba-bindings v0.0.0-20231109202624-69ac752f82ac
Boba Network Monorepo of the Optimism monorepo where Erigon sequencing happens :)2 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/racoonmediaserver/rms-music-bot v1.1.0
Alternative service for search and download music10 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/xackery/starteq v0.0.0-20231019081853-7b88546571eb
Start EverQuest with patching1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/ledgerwatch/erigon-lib v1.0.0
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.0571 versions - Latest release: over 1 year ago - 29 dependent packages - 31 dependent repositories - 50 stars on GitHub
github.com/Ledgerwatch/erigon-lib v1.0.0
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.01 version - Latest release: over 1 year ago - 57 stars on GitHub
github.com/tenderly/zkevm-erigon-lib v1.0.0
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.01 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/miru-project/bt-server v0.0.3
🔮 Miru BT server3 versions - Latest release: over 1 year ago - 5 stars on GitHub
github.com/aliworkshop/torrent v0.1.2
A torrent download package written in Go3 versions - Latest release: over 1 year ago - 6 stars on GitHub
github.com/smmr-software/mabel v0.1.7
Package main creates and reads the config file, handles flags, and executes the mini and full cli...8 versions - Latest release: over 1 year ago - 382 stars on GitHub
github.com/etra0/a-go-y v0.0.0-20230821204721-1159610a3f32
3 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/MrGlp/dc_fix_current_map_writes v1.0.3
GopeedLabDc4 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/mrglp/dc_fix_current_map_writes v1.0.3
GopeedLabDc4 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/AlexeyAkhunov/torrent v1.52.4
Full-featured BitTorrent client package and utilities96 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/alexeyakhunov/torrent v1.52.4
Full-featured BitTorrent client package and utilities96 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/guillaumemck/ghostygg v1.0.0
A simple command-line tool for downloading torrents without seeding & increase download rate.7 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/monkeyWie/torrent v1.52.5-alpha
Full-featured BitTorrent client package and utilities2 versions - Latest release: almost 2 years ago - 3 dependent repositories - 0 stars on GitHub
github.com/monkeywie/torrent v1.52.5-alpha
Full-featured BitTorrent client package and utilities2 versions - Latest release: almost 2 years ago - 0 stars on GitHub
gitlab.com/pulsechaincom/erigon-lib v1.0.6
26 versions - Latest release: almost 2 years ago - 4 stars on GitLab.comgithub.com/pulse-network/erigon-lib v1.0.6
23 versions - Latest release: almost 2 years agogithub.com/MaximKiselev/torrent v1.52.3
Full-featured BitTorrent client package and utilities1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/maximkiselev/torrent v1.52.3
Full-featured BitTorrent client package and utilities1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/chain710/torrent v1.52.3
102 versions - Latest release: almost 2 years agogithub.com/gladcow/bsc-erigon-lib v0.0.1-ankr
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.01 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/dpb587/metalink v0.5.0
For receipt files that contain digests, metadata, and source information about blobs.5 versions - Latest release: almost 2 years ago - 2 dependent packages - 3 dependent repositories - 4 stars on GitHub
github.com/darknightlab/gotorrent v0.1.3
A torrent client that supports webtorrent10 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/calmbeing/bsc-erigon-lib v0.1.0
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.09 versions - Latest release: almost 2 years ago - 0 stars on GitHub
gitlab.com/SIN3R6Y/erigon-lib v1.0.5
22 versions - Latest release: about 2 years agogithub.com/Ankr-network/erigon-lib v1.0.0
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.01 version - Latest release: about 2 years ago - 0 stars on GitHub
github.com/ankr-network/erigon-lib v1.0.0
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.01 version - Latest release: about 2 years ago - 0 stars on GitHub
github.com/whr819987540/torrent v0.0.0-20230424165030-10fcaa4f222c
Package torrent implements a torrent client. Goals include: BitTorrent features implemented incl...3 versions - Latest release: about 2 years ago - 0 stars on GitHub
github.com/node-real/bsc-erigon-lib v1.0.1
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.013 versions - Latest release: about 2 years ago - 1 dependent repositories - 0 stars on GitHub
github.com/zdikov/dht/v2 v2.0.0-20230402110033-be9fe6bb60f9
Package dht implements a Distributed Hash Table (DHT) part of the BitTorrent protocol, as specifi...1 version - Latest release: about 2 years ago - 0 stars on GitHub
gitlab.com/pulsechaincom/erigon-pulse v1.0.2
3 versions - Latest release: about 2 years ago - 11 stars on GitLab.comgithub.com/chainstack/erigon-lib v0.0.0-20230322081954-d9dc1fc2b51b
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.01 version - Latest release: about 2 years ago - 0 stars on GitHub
github.com/hktalent/pwnp2p51pwn v0.0.0-20230218044446-a5b03ed9f47c
pwnp2p51pwn1 version - Latest release: about 2 years ago - 0 stars on GitHub
github.com/calmbeing/erigon-lib v0.3.5
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.05 versions - Latest release: about 2 years ago - 52 stars on GitHub
github.com/pldubouilh/torrent v0.0.0-20230204160209-4bc731bc8a62
Package torrent implements a torrent client. Goals include: BitTorrent features implemented incl...2 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/wetorrent/wetorrent v0.0.0-20230203162801-8100a5787408
1 version - Latest release: over 2 years agogithub.com/WinPooh32/peerstohttp v1.2.6
Simple torrent proxy to http stream controlled over REST-like api10 versions - Latest release: over 2 years ago - 32 stars on GitHub
github.com/winpooh32/peerstohttp v1.2.6
Simple torrent proxy to http stream controlled over REST-like api10 versions - Latest release: over 2 years ago - 32 stars on GitHub
github.com/linuxsuren/gotorrent v0.0.1
1 version - Latest release: over 2 years ago - 1 stars on GitHubgithub.com/fullpipe/bore-server v0.0.0-20230106234744-23eceefa9ce5
2 versions - Latest release: over 2 years ago - 0 stars on GitHubgithub.com/stephanesanchez/erigon-lib v0.0.0-20221220124903-c80a3f05d23a
3 versions - Latest release: over 2 years agogithub.com/Privilege-privacy/gopeed v1.2.3
High speed downloader that supports all platforms.12 versions - Latest release: over 2 years ago - 1 dependent repositories - 0 stars on GitHub
github.com/privilege-privacy/gopeed v1.2.3
High speed downloader that supports all platforms.12 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/antonperaire/erigon-lib v0.0.1
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.01 version - Latest release: over 2 years ago - 0 stars on GitHub
github.com/AntonPeraire/erigon-lib v0.0.1
Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.01 version - Latest release: over 2 years ago - 0 stars on GitHub
github.com/HunterXuan/bt v0.0.0-20221112095454-28f24a1af587
[WIP] BT Tracker written in GoLang1 version - Latest release: over 2 years ago - 5 stars on GitHub
github.com/datewu/zhongzi v0.0.0-20221111161804-ed00c80a726c
1 version - Latest release: over 2 years agogithub.com/KekemonBS/dhtcrawler v0.0.0-20221016192721-2530c5629e12
1 version - Latest release: over 2 years ago - 0 stars on GitHubgithub.com/muxable/cdn v0.0.0-20220928202544-4440f63b24f8
8 versions - Latest release: over 2 years ago - 9 stars on GitHubgithub.com/omegablitz/erigon v1.1338.0
Ethereum implementation on the efficiency frontier129 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/AskAlexSharov/torrent v1.46.0
Full-featured BitTorrent client package and utilities82 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/askalexsharov/torrent v1.46.0 removed
82 versions - Latest release: almost 3 years agogithub.com/swz-git/peertv v0.0.0-20220602133327-53a32008651f
Copyright © 2022 swz-git <[email protected]>1 version - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/quantumsheep/nyaa-cli v0.0.0-20220518124011-53359ae94714 💰
Terminal user interface for nyaa.si with support of peerflix1 version - Latest release: about 3 years ago - 8 stars on GitHub
github.com/nimbleape/torrent v1.43.1 removed
78 versions - Latest release: about 3 years agogithub.com/minimAluminiumalism/simple-torrent v0.0.0-20220429171813-5356b5162b1e
1 version - Latest release: about 3 years agogithub.com/netsys-lab/bittorrent-over-scion v1.0.3
Current BitTorrent over SCION implementation5 versions - Latest release: about 3 years ago - 4 stars on GitHub
github.com/hktalent/gohktools v1.0.1
golang hack APT tools1 version - Latest release: about 3 years ago - 1 dependent package - 2 stars on GitHub
github.com/hktalent/torrent v1.41.2
Package torrent implements a torrent client. Goals include: BitTorrent features implemented incl...21 versions - Latest release: about 3 years ago
github.com/boypt/simple-torrent v0.0.0-20211223021932-6f4942933b71
☁️ Simple Torrent: a self-hosted remote torrent client (rebranded from Cloud Torrent)3 versions - Latest release: over 3 years ago - 1 dependent package - 973 stars on GitHub
github.com/sug0/p2prime v0.0.0-20211204030007-13099bebc23b
Go implementation of peerflix.1 version - Latest release: over 3 years ago - 0 stars on GitHub
github.com/netsys-lab/dht v0.1.18
Package dht implements a Distributed Hash Table (DHT) part of the BitTorrent protocol, as specifi...19 versions - Latest release: over 3 years ago - 2 dependent packages - 1 dependent repositories - 0 stars on GitHub
github.com/yangrq1018/torrent v1.38.0
Full-featured BitTorrent client package and utilities68 versions - Latest release: over 3 years ago - 0 stars on GitHub
github.com/silentmurdock/wrserver v0.5.1
4 versions - Latest release: over 3 years agogithub.com/skirsten/torrent v1.33.0
Full-featured BitTorrent client package and utilities61 versions - Latest release: over 3 years ago - 0 stars on GitHub
github.com/nochso/torrent v1.33.0 removed
61 versions - Latest release: over 3 years agogithub.com/Zilog8/torrent v1.31.0
Full-featured BitTorrent client package and utilities59 versions - Latest release: over 3 years ago - 0 stars on GitHub
github.com/zilog8/torrent v1.31.0
Full-featured BitTorrent client package and utilities59 versions - Latest release: over 3 years ago - 0 stars on GitHub
github.com/afjoseph/torrent v1.31.0
Full-featured BitTorrent client package and utilities59 versions - Latest release: over 3 years ago - 0 stars on GitHub
github.com/damiapoquet/torrent v1.31.0 removed
59 versions - Latest release: over 3 years agogithub.com/DamiaPoquet/torrent v1.31.0
Full-featured BitTorrent client package and utilities59 versions - Latest release: over 3 years ago - 0 stars on GitHub
github.com/mani66660/exatorrent v0.0.1 💰
1 version - Latest release: over 3 years ago - 0 stars on GitHubgithub.com/saeedhurzuk/dht/v2 v2.10.1
22 versions - Latest release: almost 4 years agogithub.com/SaeedHurzuk/dht/v2 v2.10.1
22 versions - Latest release: almost 4 years agoCheck this option to include packages that no longer depend on this package in their latest version but previously did.