Top 0.4% dependent packages on proxy.golang.org
Top 0.7% dependent repos on proxy.golang.org
Top 1.0% docker downloads on proxy.golang.org
proxy.golang.org : github.com/RomiChan/websocket
Package websocket implements the WebSocket protocol defined in RFC 6455. The Conn type represents a WebSocket connection. A server application calls the Upgrader.Upgrade method from an HTTP request handler to get a *Conn: Call the connection's WriteMessage and ReadMessage 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 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 close messages by calling the handler function set with the SetCloseHandler method and by returning a *CloseError from the NextReader, ReadMessage or the message Read method. The default close handler sends a close message to the peer. Connections handle received ping messages by calling the handler function set with the SetPingHandler method. The default ping handler sends a pong message to the peer. Connections handle received pong messages by calling the handler function set with the SetPongHandler method. The default pong handler does nothing. If an application sends ping messages, then the application should set a pong handler to receive the corresponding pong. The control message handler functions are called from the NextReader, ReadMessage and message reader Read methods. The default close and ping handlers can block these methods for a short time when the handler writes to the connection. The application must read the connection to process close, ping and pong 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: Connections support one concurrent reader and one concurrent writer. Applications are responsible for ensuring that no more than one goroutine calls the write methods (NextWriter, SetWriteDeadline, WriteMessage, WriteJSON, EnableWriteCompression, SetCompressionLevel) concurrently and that no more than one goroutine calls the read methods (NextReader, SetReadDeadline, ReadMessage, ReadJSON, SetPongHandler, SetPingHandler) concurrently. The Close and WriteControl methods can be called concurrently with all other methods. 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 the Origin host is not equal to the Host request header. The deprecated package-level Upgrade function does not perform origin checking. The application is responsible for checking the Origin header before calling the Upgrade function. Per message compression extensions (RFC 7692) are experimentally supported by this package in a limited capacity. Setting the EnableCompression option to true in Dialer or Upgrader will attempt to negotiate per message deflate support. If compression was successfully negotiated with the connection's peer, any message received in compressed form will be automatically decompressed. All Read methods will return uncompressed bytes. Per message compression of messages written to a connection can be enabled or disabled by calling the corresponding Conn method: Currently this package does not support compression with "context takeover". This means that messages must be compressed and decompressed in isolation, without retaining sliding window or dictionary state across messages. For more details refer to RFC 7692. Use of compression is experimental and may result in decreased performance.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/%21romi%21chan/websocket
License: BSD-2-Clause
Latest release: about 5 years ago
First release: about 9 years ago
Namespace: github.com/RomiChan
Dependent packages: 123
Dependent repositories: 75
Stars: 1 on GitHub
Forks: 0 on GitHub
Docker dependents: 12
Docker downloads: 7,682
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago
github.com/alioth-center/ceobebot-core v0.0.1
2 versions - Latest release: 11 months ago - 0 stars on GitHubgithub.com/bincooo/chatgpt-adapter/v2 v2.0.2
集成了openai-api、bing、gemini、coze 多款AI的聊天接口适配到 OpenAI API 标准接口服务端。6 versions - Latest release: about 1 year ago - 110 stars on GitHub
github.com/floattech/zbputils v1.7.1
ZeroBot-Plugin 的工具库57 versions - Latest release: about 1 year ago - 13 stars on GitHub
github.com/FloatTech/zbputils v1.7.1
ZeroBot-Plugin 的工具库57 versions - Latest release: about 1 year ago - 90 dependent packages - 53 dependent repositories - 13 stars on GitHub
github.com/eya46/go-cqhttp v1.2.1-rc3
Package main4 versions - Latest release: about 1 year ago - 1 stars on GitHub
github.com/noahcodegg/relinkrobot v1.0.0
用于加/解密链接的 QQ 机器人,暂仅支持熊曰。1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/noahcodegg/relinkrobot-plugin v1.0.0
用于加/解密链接的 QQ 机器人,暂仅支持熊曰。1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/NoahCodeGG/RelinkRobot v1.0.0
用于加/解密链接的 QQ 机器人,暂仅支持熊曰。1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/NoahCodeGG/RelinkRobot-Plugin v1.0.0
Package main ZeroBot-Plugin main file1 version - Latest release: about 1 year ago - 0 stars on GitHub
github.com/bincooo/edge-api v1.0.3
9 versions - Latest release: over 1 year ago - 7 dependent packages - 2 dependent repositories - 0 stars on GitHubgithub.com/vatebur/zerobot-plugin v1.7.10
基于 ZeroBot 的 OneBot 插件22 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/vatebur/ZeroBot-Plugin v1.7.9
基于 ZeroBot 的 OneBot 插件21 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/lianhong2758/RosmBot-MUL v0.0.0-20231207095927-fb05cf546623
RosmBot的全平台版本,目前已实现米游社适配,正在进行QQ接口的适配2 versions - Latest release: over 1 year ago - 3 stars on GitHub
github.com/floattech/nanobot-plugin v0.1.7
基于 NanoBot 的 QQ 机器人插件合集14 versions - Latest release: over 1 year ago - 15 stars on GitHub
github.com/FloatTech/NanoBot-Plugin v0.1.7
Package main NanoBot-Plugin main file14 versions - Latest release: over 1 year ago - 1 dependent package - 15 stars on GitHub
github.com/fumiama/NanoBot v0.0.0-20231122134259-c22d8183efca
ZeroBot-like Official QQ Bot Adapter31 versions - Latest release: over 1 year ago - 3 dependent packages - 1 dependent repositories - 13 stars on GitHub
github.com/yiwen-chan/groupmanager v1.7.6 removed
基于 ZeroBot 的 OneBot 插件167 versions - Latest release: over 1 year ago - 2,063 stars on GitHub
github.com/FloatTech/satori-go v0.0.0-20231020141005-5795eda54d4f
satori protocol in golang1 version - Latest release: over 1 year ago - 5 stars on GitHub
github.com/bincooo/miaox v1.0.12
集成了openai-api、openai-web、claude for slack、bing 多款AI的API库13 versions - Latest release: over 1 year ago - 13 stars on GitHub
github.com/bincooo/chatgpt-adapter v1.0.12
1.集成了openai-api、openai-web、claude for slack、bing 多款AI的API库。2.聊天接口适配到 OpenAI API 标准接口服务端。13 versions - Latest release: over 1 year ago - 1 dependent package - 27 stars on GitHub
github.com/bincooo/autoai v1.0.12
集成了openai-api、openai-web、claude for slack、bing 多款AI的API库13 versions - Latest release: over 1 year ago - 15 stars on GitHub
github.com/bincooo/AutoAI v1.0.12
集成了openai-api、openai-web、claude for slack、bing 多款AI的API库13 versions - Latest release: over 1 year ago - 1 dependent package - 1 dependent repositories - 15 stars on GitHub
github.com/bincooo/MiaoX v1.0.12
集成了openai-api、openai-web、claude for slack、bing 多款AI的API库13 versions - Latest release: over 1 year ago - 1 dependent repositories - 13 stars on GitHub
github.com/ctcticxh/ZeroBot-Plugin v0.0.0-20231010094513-6f4fb1452a3a
Package main ZeroBot-Plugin main file3 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/mrs4s/go-cqhttp v1.2.0
cqhttp的golang实现,轻量、原生跨平台.97 versions - Latest release: over 1 year ago - 7,524 stars on GitHub
github.com/Mrs4s/go-cqhttp v1.2.0
Package main97 versions - Latest release: over 1 year ago - 17 dependent packages - 31 dependent repositories - 7,770 stars on GitHub
github.com/xxyy3130/go-cqhttp v1.2.0
cqhttp的golang实现,轻量、原生跨平台.97 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/bincooo/llm-plugin v1.0.0
32 versions - Latest release: over 1 year agogithub.com/Ayanokoji1020-miyano/go-cqhttp v0.1.2
cqhttp的golang实现,轻量、原生跨平台.12 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/ayanokoji1020-miyano/go-cqhttp v0.1.2
cqhttp的golang实现,轻量、原生跨平台.12 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/FloatTech/ZeroBot-Plugin-Playground v0.0.0-20230903012520-3319f4f35db9
Package main ZeroBot-Plugin-Playground main file73 versions - Latest release: over 1 year ago - 57 stars on GitHub
github.com/aimerneige/yukichan-bot v1.0.0
ゆき酱是使用 ZeroBot 构建的国际象棋聊天机器人。1 version - Latest release: over 1 year ago - 7 stars on GitHub
github.com/FloatTech/gocqzbp v1.7.3
go-cqhttp与ZeroBot-Plugin的合体92 versions - Latest release: over 1 year ago - 165 stars on GitHub
github.com/floattech/gocqzbp v1.7.3
go-cqhttp与ZeroBot-Plugin的合体92 versions - Latest release: over 1 year ago - 165 stars on GitHub
github.com/Ns2Kracy/dbutils v0.0.0-20230714014410-20e20225af53
Darling-Bot 的工具库1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/Ns2Kracy/ZeroBot v0.0.0-20230713102528-84adcdc0fa07
一个基于onebot协议的机器人Go开发框架1 version - Latest release: almost 2 years ago - 3 dependent packages - 1 dependent repositories - 0 stars on GitHub
github.com/rhwong/go-cqhttp-dev v1.1.0
Package main98 versions - Latest release: almost 2 years ago - 19 stars on GitHub
github.com/1umine/go-cqhttp v1.1.0
cqhttp的golang实现,轻量、原生跨平台.98 versions - Latest release: almost 2 years ago - 14 stars on GitHub
github.com/Ink-33/NilBot v0.0.0-20230627070015-28bcc08371ae
高扩展性,Serverless,支持一对多的机器人框架4 versions - Latest release: almost 2 years ago - 1 dependent package - 1 dependent repositories - 9 stars on GitHub
github.com/LizardYx/go-cqhttp v1.0.3
cqhttp的golang实现,轻量、原生跨平台.17 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/lizardyx/go-cqhttp-t3 v1.0.3
cqhttp的golang实现,轻量、原生跨平台.5 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/LizardYx/go-cqhttp-t3 v1.0.3
cqhttp的golang实现,轻量、原生跨平台.5 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/lizardyx/go-cqhttp v1.0.3
cqhttp的golang实现,轻量、原生跨平台.17 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/ZYKJShadow/leafbot v0.0.0-20230523103108-dddcec122da1
Package leafbot @Description: Package leafbot @Description: Package leafbot @Description:3 versions - Latest release: almost 2 years ago
github.com/jiang-red/zerobot-plugin v1.7.0
基于 ZeroBot 的 OneBot 插件228 versions - Latest release: about 2 years ago - 28 stars on GitHub
github.com/Jiang-Red/ZeroBot-Plugin v1.7.0
基于 ZeroBot 的 OneBot 插件228 versions - Latest release: about 2 years ago - 28 stars on GitHub
github.com/KomeiDiSanXian/zbputils v0.0.0-20230322060420-3678f6fdd3c7
1 version - Latest release: about 2 years ago - 1 dependent repositoriesgithub.com/floattech/zerobot-plugin-dynamic v0.3.1
ZeroBot-Plugin 的模块化,不支持 Windows,需要 CGO7 versions - Latest release: about 2 years ago - 12 stars on GitHub
github.com/FloatTech/ZeroBot-Plugin-Dynamic v0.3.1
ZeroBot-Plugin 的模块化,不支持 Windows,需要 CGO7 versions - Latest release: about 2 years ago - 12 stars on GitHub
github.com/CodFrm/qqbot v0.0.0-20230318141604-df1e37a35c5d
自己用的机器人插件,乱七八糟。3 versions - Latest release: about 2 years ago - 1 dependent repositories - 11 stars on GitHub
github.com/rust-kotlin/gpt-bot v1.6.0
A robot to connect the go-cqhttp and openai4 versions - Latest release: about 2 years ago - 1 stars on GitHub
github.com/Cha0sIDL/ZeroBot-Plugin v1.6.2
基于 ZeroBot 的 OneBot 插件150 versions - Latest release: about 2 years ago - 2 stars on GitHub
github.com/cha0sidl/zerobot-plugin v1.6.2
基于 ZeroBot 的 OneBot 插件150 versions - Latest release: about 2 years ago - 2 stars on GitHub
github.com/blueleigong/ZeroBot-Plugin-Playground v1.0.0
快来这里上传你的奇思妙想吧!1 version - Latest release: about 2 years ago - 0 stars on GitHub
github.com/blueleigong/zerobot-plugin-playground v1.0.0
快来这里上传你的奇思妙想吧!1 version - Latest release: about 2 years ago - 0 stars on GitHub
github.com/zhang19523zhao/zh-ZeroBot v0.0.0-20230213024129-e770b5707d82
1 version - Latest release: over 2 years ago - 0 stars on GitHubgithub.com/huaixwuyu/zerobot-plugin v1.2.0
基于 ZeroBot 的 OneBot 插件10 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/huaixwuyu/ZeroBot-Plugin v1.2.0
基于 ZeroBot 的 OneBot 插件10 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/MoYoez/ZeroBot-Plugin v1.5.1
131 versions - Latest release: over 2 years agogithub.com/moyoez/zerobot-plugin v1.5.1
131 versions - Latest release: over 2 years agogithub.com/Suika99/AsoulBot v0.0.0-20220914091520-935c1739717c
asoul相关的qq机器人1 version - Latest release: over 2 years ago - 6 stars on GitHub
github.com/xrcuo/XAODBRGTR v0.0.0-20220830130950-2fcff48f108f
1 version - Latest release: over 2 years ago - 2 stars on GitHubgithub.com/Kyomotoi/go-ATRI v0.0.0-20220826101626-b0a87dce1403
1 version - Latest release: over 2 years ago - 23 stars on GitHubgithub.com/764763903a/go-cqhttp v1.1.9
cqhttp的golang实现,轻量、原生跨平台.100 versions - Latest release: almost 3 years ago - 2 dependent repositories - 0 stars on GitHub
github.com/doylecnn/qqbot v0.0.0-20220815012959-8572074f92f9
1 version - Latest release: almost 3 years ago - 0 stars on GitHubgithub.com/tang-guo-guo/ZeroBot-Plugin v1.2.3
基于 ZeroBot 的 OneBot 插件25 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/tang-guo-guo/zerobot-plugin v1.2.3
基于 ZeroBot 的 OneBot 插件25 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/Ink-33/AntiEffort v0.0.0-20220728201431-20ecdb9b21e9
[PA] let 大家 see see 谁在卷1 version - Latest release: almost 3 years ago - 2 stars on GitHub
github.com/kittengarten/kittencore v0.0.0-c removed
1 version - Latest release: almost 3 years agogithub.com/Kittengarten/KittenCore v0.0.0-c
KittenCore 的主函数所在包1 version - Latest release: almost 3 years ago - 5 stars on GitHub
github.com/huoxue1/leafbot v1.1.9
Package leafbot @Description: Package leafbot @Description: Package leafbot @Description:40 versions - Latest release: almost 3 years ago - 1 dependent package - 1 dependent repositories - 25 stars on GitHub
github.com/3343780376/leafBot v1.1.9
40 versions - Latest release: almost 3 years agogithub.com/3343780376/leafbot v1.1.9
40 versions - Latest release: almost 3 years agogithub.com/huoxue1/leafBot v1.1.9
Package leafBot @Description: Package leafBot @Description: Package leafBot @Description:40 versions - Latest release: almost 3 years ago - 2 dependent packages - 25 stars on GitHub
github.com/Jiangtianyii/ZeroBot-Plugin v1.4.1
基于 ZeroBot 的 OneBot 插件120 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/hmc-wzy/zerobot-plugin v1.4.1
my zbp plugin121 versions - Latest release: almost 3 years ago - 0 stars on GitHub
gitcode.net/Canread/ZeroBot-Plugin v1.4.1 removed
121 versions - Latest release: almost 3 years agogithub.com/ASUKAHUI/ZeroBot-Plugin v1.4.1
基于 ZeroBot 的 OneBot 插件21 versions - Latest release: almost 3 years ago - 0 stars on
github.com/mikun5/ZeroBot-Plugin v1.4.1
12 versions - Latest release: almost 3 years agogithub.com/jiangtianyii/zerobot-plugin v1.4.1
基于 ZeroBot 的 OneBot 插件120 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/hmc-wzy/ZeroBot-Plugin v1.4.1
my zbp plugin121 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/parrthu/zerobot-plugin-sikadi- v1.4.0
基于 ZeroBot 的 OneBot 插件,更改部分内容更符合斯卡蒂109 versions - Latest release: about 3 years ago - 0 stars on GitHub
github.com/Parrthu/ZeroBot-Plugin-SIKADI- v1.4.0
基于 ZeroBot 的 OneBot 插件,更改部分内容更符合斯卡蒂109 versions - Latest release: about 3 years ago - 0 stars on GitHub
github.com/tdf1939/ZeroBot-Plugin v1.4.0 removed
114 versions - Latest release: about 3 years agogithub.com/tdf1939/zerobot-plugin v1.4.0
基于 ZeroBot 的 OneBot 插件114 versions - Latest release: about 3 years ago - 1 stars on GitHub
gitcode.net/Canread/zbputils v1.4.0
52 versions - Latest release: about 3 years agogithub.com/floattech/zerobot v1.5.1
31 versions - Latest release: about 3 years agogithub.com/FloatTech/ZeroBot v1.5.1
31 versions - Latest release: about 3 years agogithub.com/wdvxdr1123/Zerobot v1.5.1 removed
23 versions - Latest release: about 3 years agogitcode.net/Canread/ZeroBot v1.5.1
23 versions - Latest release: about 3 years agogithub.com/yiwen-chan/zerobot v1.5.1
23 versions - Latest release: about 3 years agogithub.com/Thanatuz/ZeroBot v1.5.1
23 versions - Latest release: about 3 years agogithub.com/thanatuz/zerobot v1.5.1
23 versions - Latest release: about 3 years agogithub.com/asinbot/bot v1.3.3
基于 ZeroBot 的 OneBot 插件101 versions - Latest release: about 3 years ago - 2 stars on GitHub
github.com/yxd117/go-cqhttp v1.0.1 removed
84 versions - Latest release: about 3 years agogithub.com/zyxdtk/zerobot-plugin v1.3.2 removed
22 versions - Latest release: about 3 years agogithub.com/xp9477/go-cqhttp v1.0.1
cqhttp的golang实现,轻量、原生跨平台.86 versions - Latest release: about 3 years ago - 0 stars on GitHub
github.com/floattech/gocq v1.0.0-rc1
cqhttp的golang实现,轻量、原生跨平台.4 versions - Latest release: over 3 years ago - 11 stars on GitHub
github.com/FloatTech/gocq v1.0.0-rc1
cqhttp的golang实现,轻量、原生跨平台.4 versions - Latest release: over 3 years ago - 11 stars on GitHub
github.com/phishinqi/zerobot-plugin v1.2.6
56 versions - Latest release: over 3 years agoCheck this option to include packages that no longer depend on this package in their latest version but previously did.