Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 4.6% forks on proxy.golang.org
Top 0.5% docker downloads on proxy.golang.org
proxy.golang.org : github.com/btcsuite/websocket
Package websocket implements the WebSocket protocol defined in RFC 6455. The Conn type represents a WebSocket connection. A server application uses the Upgrade function from an Upgrader object with a HTTP request handler to get a pointer to a Conn: Call the connection WriteMessage and ReadMessages methods to send and receive messages as a slice of bytes. This snippet of code shows how to echo messages using these methods: In above snippet of code, p is a []byte and messageType is an int with value websocket.BinaryMessage or websocket.TextMessage. An application can also send and receive messages using the io.WriteCloser and io.Reader interfaces. To send a message, call the connection NextWriter method to get an io.WriteCloser, write the message to the writer and close the writer when done. To receive a message, call the connection NextReader method to get an io.Reader and read until io.EOF is returned. This snippet snippet shows how to echo messages using the NextWriter and NextReader methods: The WebSocket protocol distinguishes between text and binary data messages. Text messages are interpreted as UTF-8 encoded text. The interpretation of binary messages is left to the application. This package uses the TextMessage and BinaryMessage integer constants to identify the two data message types. The ReadMessage and NextReader methods return the type of the received message. The messageType argument to the WriteMessage and NextWriter methods specifies the type of a sent message. It is the application's responsibility to ensure that text messages are valid UTF-8 encoded text. The WebSocket protocol defines three types of control messages: close, ping and pong. Call the connection WriteControl, WriteMessage or NextWriter methods to send a control message to the peer. Connections handle received ping and pong messages by invoking a callback function set with SetPingHandler and SetPongHandler methods. These callback functions can be invoked from the ReadMessage method, the NextReader method or from a call to the data message reader returned from NextReader. Connections handle received close messages by returning an error from the ReadMessage method, the NextReader method or from a call to the data message reader returned from NextReader. Connections do not support concurrent calls to the write methods (NextWriter, SetWriteDeadline, WriteMessage) or concurrent calls to the read methods methods (NextReader, SetReadDeadline, ReadMessage). Connections do support a concurrent reader and writer. The Close and WriteControl methods can be called concurrently with all other methods. The application must read the connection to process ping and close messages sent from the peer. If the application is not otherwise interested in messages from the peer, then the application should start a goroutine to read and discard messages from the peer. A simple example is: Web browsers allow Javascript applications to open a WebSocket connection to any host. It's up to the server to enforce an origin policy using the Origin request header sent by the browser. The Upgrader calls the function specified in the CheckOrigin field to check the origin. If the CheckOrigin function returns false, then the Upgrade method fails the WebSocket handshake with HTTP status 403. If the CheckOrigin field is nil, then the Upgrader uses a safe default: fail the handshake if the Origin request header is present and not equal to the Host request header. An application can allow connections from any origin by specifying a function that always returns true: The deprecated Upgrade function does not enforce an origin policy. It's the application's responsibility to check the Origin header before calling Upgrade.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/btcsuite/websocket
License: BSD-2-Clause
Latest release: over 10 years ago
First release: over 10 years ago
Namespace: github.com/btcsuite
Dependent packages: 942
Dependent repositories: 9,482
Stars: 7 on GitHub
Forks: 25 on GitHub
Docker dependents: 61
Docker downloads: 1,540,896
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago
github.com/tosynthegeek/mcw v0.2.4
A Go library for managing wallets, transactions, and interactions across multiple blockchains inc...7 versions - Latest release: 11 months ago - 0 stars on GitHub
github.com/Geapefurit/depincd v0.24.2
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...1 version - Latest release: 11 months ago
github.com/geapefurit/depincd v0.24.2
15 versions - Latest release: 11 months agogithub.phpd.cn/lightningnetwork/lnd v0.18.0-beta.rc4
165 versions - Latest release: about 1 year agogithub.com/DwGoing/TransferLib v0.5.0
满足多链多币种转账交易等基础功能库3 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/dwgoing/transferlib v0.5.0
满足多链多币种转账交易等基础功能库3 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/dwgoing/transfer_lib v0.5.0
满足多链多币种转账交易等基础功能库3 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/DwGoing/transfer_lib v0.5.0
满足多链多币种转账交易等基础功能库3 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/lightninglabs/pool v0.6.5-beta
As this file is very similar in every package, ignore the linter here. nolint:dupl,interfacer Pa...38 versions - Latest release: about 1 year ago - 11 dependent packages - 7 dependent repositories - 234 stars on GitHub
github.com/b2network/b2-indexer v1.2.0
Copyright © 2024 NAME HERE <EMAIL ADDRESS>8 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/simbahebinbo/go-ord-tx v1.0.7
golang ordinals btc nft inscribe tx7 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/crypto-power/cryptopower v1.1.4
A cross-platform SPV (DCR, BTC & LTC) privacy wallet built with go.6 versions - Latest release: about 1 year ago - 1 stars on GitHub
github.com/kinza-finance/btc-staker v0.1.1
2 versions - Latest release: about 1 year ago - 0 stars on GitHubgithub.com/Kinza-Finance/btc-staker v0.1.1
2 versions - Latest release: about 1 year ago - 0 stars on GitHubgit.hush.is/duke/lightwalletd v0.2.0
Backend server for SDL4 versions - Latest release: about 1 year ago - 0 stars on git.hush.is
git.hush.is/hush/lightwalletd v0.2.0
Lite wallet server4 versions - Latest release: about 1 year ago - 1 dependent package - 0 stars on git.hush.is
git.hush.is/jahway603/lightwalletd v0.2.0
4 versions - Latest release: about 1 year agogithub.com/marcoezekiel/btcd v1.1.6
An alternative full node bitcoin implementation written in Go (golang)1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/MarcoEzekiel/btcd v1.1.6
An alternative full node bitcoin implementation written in Go (golang)1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/riemalabs/modular-indexer-light v0.2.2
A fully user-verified execution layer for Bitcoin's meta-protocols. (light indexer)7 versions - Latest release: about 1 year ago - 20 stars on GitHub
github.com/RiemaLabs/modular-indexer-light v0.2.2
A fully user-verified execution layer for Bitcoin's meta-protocols. (light indexer)7 versions - Latest release: about 1 year ago - 20 stars on GitHub
github.com/deviavir/bitcoin-prometheus-exporter v0.0.8
A prometheus exporter for the bitcoin/elements projects.7 versions - Latest release: about 1 year ago - 2 stars on GitHub
github.com/riemalabs/modular-indexer-committee v0.2.0
7 versions - Latest release: about 1 year ago - 3 stars on GitHubgithub.com/riemalabs/indexer-committee v0.2.0
7 versions - Latest release: about 1 year ago - 3 stars on GitHubgithub.com/RiemaLabs/modular-indexer-committee v0.2.0
A fully user-verified execution layer for Bitcoin's meta-protocols.7 versions - Latest release: about 1 year ago - 5 stars on GitHub
github.com/bitromortac/lightning-terminal v0.12.4-privacy-flags
Lightning Terminal: Your Home for Lightning Liquidity1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/btcfind/btcd v0.24.3
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...15 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/fewsats/fewsatscli v0.2.2
The official command line interface for the Fewsats API.3 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/zcash/lightwalletd v0.4.17
Lightwalletd is a backend service that provides a bandwidth-efficient interface to the Zcash bloc...19 versions - Latest release: about 1 year ago - 2 dependent packages - 2 dependent repositories - 71 stars on GitHub
github.com/zcash-hackworks/lightwalletd v0.4.17
19 versions - Latest release: about 1 year ago - 1 dependent repositoriesgithub.com/sulusolutions/gol402 v0.2.4
Golang L402 client module to consume L402 endpoints.5 versions - Latest release: about 1 year ago - 5 stars on GitHub
github.com/zhaoyunyun0/btcd v0.0.2
An alternative full node bitcoin implementation written in Go (golang)2 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/starius/aperture v0.3.2-rc1-beta
⚡️L402 (Lightning HTTP 402) Reverse Proxy ⚡️23 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/xuxinlai2002/btcd v1.0.0
An alternative full node bitcoin implementation written in Go (golang)1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/babylonchain/vigilante v0.8.2
Vigilante program for Babylon16 versions - Latest release: about 1 year ago - 3 stars on GitHub
github.com/robertmin1/btcd v0.24.0
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/RiemaLabs/nubit-da-sdk v0.1.0-rc.2
3 versions - Latest release: about 1 year ago - 2 stars on GitHubgithub.com/riemalabs/nubit-da-sdk v0.1.0-rc.2
3 versions - Latest release: about 1 year ago - 2 stars on GitHubgithub.com/inscription-c/cins v0.0.5
The indexer and command-line wallet of C-INS protocol.5 versions - Latest release: about 1 year ago - 1 stars on GitHub
github.com/dojimanetwork/nbtcd v1.1.5
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...3 versions - Latest release: about 1 year ago - 0 stars on GitHub
github.com/terry108/wallet-SDK v1.0.0
One-stop omnichain sdk that integrates bitcoin, evm blockchain (ethereum/bsc/polygon/avax/...), a...1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/terry108/wallet-sdk v1.0.0
One-stop omnichain sdk that integrates bitcoin, evm blockchain (ethereum/bsc/polygon/avax/...), a...1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/marcofleon/ln-decodepay v1.0.0
Lightning Network BOLT11 invoice decoder1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/revolutionchain/btcd v0.0.5-beta.revo
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...6 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/paxosglobal/ltcd v0.23.5-beta.20241102
An alternative full node litecoin implementation written in golang2 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/vaziria/coin_cli v1.0.2
3 versions - Latest release: over 1 year agogithub.com/LTCsuite/LTCd v0.23.5
An alternative full node litecoin implementation written in golang4 versions - Latest release: over 1 year ago - 23 stars on GitHub
github.com/ltcsuite/ltcd v0.23.5
ltcd is a full-node Litecoin implementation written in Go. The default options are sane for most...4 versions - Latest release: over 1 year ago - 232 dependent packages - 220 dependent repositories - 22 stars on GitHub
github.skymusic.top/lightningnetwork/lnd v0.17.4-beta.rc1
158 versions - Latest release: over 1 year agogithub.imxd.top/lightningnetwork/lnd v0.17.4-beta.rc1
158 versions - Latest release: over 1 year agogithub.com/streamingfast/firehose-bitcoin v1.0.0
2 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/sebdeveloper6952/go-dvm v0.0.0-20240122182249-773fa677cf9c
12 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/yanascz/lnurld v0.0.0-20240122163356-0d972f5d9add
LNURL Daemon1 version - Latest release: over 1 year ago - 11 stars on GitHub
github.com/carlakc/lrc v0.0.0-20240122154409-acd6bd1db8ac
13 versions - Latest release: over 1 year agodecred.org/dcrdex/dex/testing/loadbot v0.0.0-20240117171138-3cd3679e8177
The Decred Decentralized Exchange (DEX), powered by atomic-swaps.86 versions - Latest release: over 1 year ago - 144 stars on GitHub
decred.org/dcrdex/client/cmd/dexc-desktop v0.0.0-20240117171138-3cd3679e8177
The Decred Decentralized Exchange (DEX), powered by atomic-swaps.16 versions - Latest release: over 1 year ago - 151 stars on GitHub
github.com/breez/lspd v0.0.0-20240114133750-957b309828bd
29 versions - Latest release: over 1 year ago - 3 dependent packages - 3 dependent repositories - 20 stars on GitHubgithub.com/dcrlabs/bchwallet v0.0.0-20240114124852-0e95005810be
A secure bitcoin cash wallet daemon written in Go (golang)2 versions - Latest release: over 1 year ago - 2 dependent packages - 0 stars on GitHub
github.com/dcrlabs/neutrino-bch v0.0.0-20240114124154-3e3078a67775
Privacy-Preserving Bitcoin Cash Light Client (Bitcoin Cash fork)3 versions - Latest release: over 1 year ago - 9 dependent packages - 2 dependent repositories - 2 stars on GitHub
github.com/oxf71/musig2-demo v0.0.0-20240114035515-35948eaa973b
8 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/skytree-labs/go-fundamental v0.1.12
13 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/zhangdaozhu/go-ord-tx v1.0.12
4 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/james-ray/unielon-indexer v0.0.0-20240109130033-0134d1a9b661
4 versions - Latest release: over 1 year agogithub.com/stackzoo/voltbot v0.0.5
Lightning node bot ⚡🤖5 versions - Latest release: over 1 year ago - 5 stars on GitHub
github.com/traitmeta/metago v0.0.0-20240107042655-2d91528d04c7
1 version - Latest release: over 1 year ago - 1 stars on GitHubgithub.com/weeaa/web3 v0.0.0-20240106234033-dee256e17182
👁️🗨️ Monitor & Snipe Hype Events on FriendTech, Ethereum, Premint, Unisat & more!1 version - Latest release: over 1 year ago - 19 stars on GitHub
github.com/havanabee/fuh-ma-code v0.0.0-20240105194940-e69c29c820c9
Repository for the master thesis SEC4 - Parsing the Bitcoin Blockchain1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/lbryfoundation/lbcd v0.22.120
lbcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...31 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/sjatsh/btcwallet v0.0.0-20240104093620-ff7a2af79425
A secure bitcoin wallet daemon written in Go (golang)2 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/bitgemtech/exotic-indexer v0.0.0-20231231142627-f93362975913
Fast exotic sats and ordinals indexer1 version - Latest release: over 1 year ago - 3 stars on GitHub
github.com/lombard-finance/btcd v0.24.0
14 versions - Latest release: over 1 year agogithub.com/ningyiyi0718/btcd v0.24.0
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...14 versions - Latest release: over 1 year ago
github.com/btcx-labs/btcx v0.24.0
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...14 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/dhananjaypurohit/btcd v0.24.0
An alternative full node bitcoin implementation written in Go (golang)13 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/linden/btcd v0.24.0
An alternative full node bitcoin implementation written in Go (golang)13 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/DhananjayPurohit/btcd v0.24.0
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...13 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/aravinddojima/btcd v0.24.0
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...13 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/aftermath2/acceptlnd v1.0.0
Channel requests management tool based on policies for LND3 versions - Latest release: over 1 year ago - 8 stars on GitHub
github.com/getAlby/nostr-wallet-connect v0.0.0-20231224230227-e6c4236eef00
Nostr Wallet Connect (NIP-47) application to allow apps to connect to your node11 versions - Latest release: over 1 year ago - 35 stars on GitHub
github.com/assetcloud/plugin v0.0.0-20231224064109-1b5cd8bde897
每个系统的功能通过插件完成,插件分成4类: 共识 加密 dapp 存储 这个go 包提供了 官方提供的 插件。6 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/Elenpay/liquidator v0.0.0-20231220132611-bfa36b98d938
Copyright © 2023 Clovr Labs Permission is hereby granted, free of charge, to any person obtainin...7 versions - Latest release: over 1 year ago - 1 stars on GitHub
github.com/NpoolPlatform/sphinx-proxy v0.0.0-20231217085258-a787770460cd
34 versions - Latest release: over 1 year ago - 6 dependent packages - 6 dependent repositories - 2 stars on GitHubgithub.com/NpoolPlatform/sphinx-plugin v0.0.0-20231217084706-666de84dc283
25 versions - Latest release: over 1 year ago - 3 dependent packages - 2 dependent repositories - 0 stars on GitHubgithub.com/vincentdebug/go-ord-tx v1.0.2
golang ordinals btc nft inscribe tx3 versions - Latest release: over 1 year ago - 58 stars on GitHub
github.com/VincentDebug/go-ord-tx v1.0.2
golang ordinals btc nft inscribe tx3 versions - Latest release: over 1 year ago - 58 stars on GitHub
github.com/yfwss/go-fundamental v1.0.0
1 version - Latest release: over 1 year agogithub.com/lightningequipment/circuitbreaker v0.5.1
11 versions - Latest release: over 1 year ago - 95 stars on GitHubgithub.com/getAlby/lndhub.go v0.0.0-20231212164755-4eb9f0923a9a
Accounting wrapper for the Lightning Network. It provides separate accounts for end-users. (LndHu...9 versions - Latest release: over 1 year ago - 1 dependent package - 1 dependent repositories - 52 stars on GitHub
github.com/breez/server v0.0.0-20231212131514-3704336d6910
5 versions - Latest release: over 1 year ago - 7 stars on GitHubgithub.com/philipglazman/go-ord-tx v0.0.0-20231212033640-15be4ae1d16d
golang ordinals btc nft inscribe tx4 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/studioteatwo/aperture v0.0.2
⚡️L402 (Lightning HTTP 402) Reverse Proxy ⚡️20 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/studioTeaTwo/aperture v0.0.2
⚡️L402 (Lightning HTTP 402) Reverse Proxy ⚡️20 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/calvinrzachman/lnd v0.17.3-beta.rc1
Lightning Network Daemon ⚡️156 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/1440000bytes/relayer/v2 v2.1.8
A Nostr relay server framework.10 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/provideplatform/provide-go v0.0.0-20231128064227-1e47281359cc
Provide golang API client22 versions - Latest release: over 1 year ago - 4 dependent packages - 9 dependent repositories - 5 stars on GitHub
github.com/niftynei/lnsocket/go v0.0.0-20231126210829-f7651ea81661
A minimal C & js library for sending messages to lightning nodes1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/balletcrypto/bitcoin-inscription-parser v0.1.4
A parser for bitcoin ordinals inscriptions7 versions - Latest release: over 1 year ago - 2 dependent packages - 3 stars on GitHub
github.com/bndw/relayer/v2 v2.0.1
A Nostr relay server framework.1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/chippy-labs/btcd v0.0.0-20231120125839-cb4cf67401fe
btcd is a full-node bitcoin implementation written in Go. The default options are sane for most ...1 version - Latest release: over 1 year ago - 0 stars on GitHub
github.com/decred/dcrdata/cmd/swapscan-btc v0.0.0-20231119150039-0b6dbacbc787
Decred block explorer, with packages and apps for data collection and storage. Written in Go.8 versions - Latest release: over 1 year ago - 124 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.