1 Star 0 Fork 0

徐大周的春天/websocket

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
conn_write_legacy.go 398 Bytes
Copy Edit Raw Blame History
// Copyright 2016 The Gorilla WebSocket Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !go1.8
package websocket
func (c *Conn) writeBufs(bufs ...[]byte) error {
for _, buf := range bufs {
if len(buf) > 0 {
if _, err := c.conn.Write(buf); err != nil {
return err
}
}
}
return nil
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xu_dazhous_spring/websocket.git
git@gitee.com:xu_dazhous_spring/websocket.git
xu_dazhous_spring
websocket
websocket
master

Search

0d507c66 1850385 C8b1a773 1850385