1 Star 1 Fork 1

yuxi-o / quic-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
streams_map_generic_helper.go 467 Bytes
一键复制 编辑 原始数据 按行查看 历史
package quic
import (
"github.com/cheekybits/genny/generic"
"github.com/lucas-clemente/quic-go/internal/protocol"
)
// In the auto-generated streams maps, we need to be able to close the streams.
// Therefore, extend the generic.Type with the stream close method.
// This definition must be in a file that Genny doesn't process.
type item interface {
generic.Type
closeForShutdown(error)
}
const streamTypeGeneric protocol.StreamType = protocol.StreamTypeUni
1
https://gitee.com/yuxio/quic-go.git
git@gitee.com:yuxio/quic-go.git
yuxio
quic-go
quic-go
master

搜索帮助