Skip to content

Fix missing HandshakeConn interface #1374

Fix missing HandshakeConn interface

Fix missing HandshakeConn interface #1374

Triggered via push August 12, 2023 11:01
Status Failure
Total duration 1m 37s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build: common/badtls/badtls_stub.go#L1
: # github.com/sagernet/sing-box/common/badtls
Build: common/badtls/badtls_stub.go#L10
undefined: TLSConn (typecheck)
Build: transport/hysteria/protocol.go#L366
undefined: quic (typecheck)
Build: transport/hysteria/protocol.go#L417
undefined: quic (typecheck)
Build: transport/hysteria/protocol.go#L418
undefined: quic (typecheck)
Build: transport/hysteria/protocol.go#L363
cannot use (*Conn)(nil) (value of type *Conn) as net.Conn value in variable declaration: *Conn does not implement net.Conn (missing method Close) (typecheck)
Build: transport/hysteria/protocol.go#L384
c.Close undefined (type *Conn has no field or method Close) (typecheck)
Build: transport/hysteria/protocol.go#L388
c.Close undefined (type *Conn has no field or method Close) (typecheck)
Build: transport/hysteria/wrap.go#L65
s.CancelRead undefined (type *StreamWrapper has no field or method CancelRead) (typecheck)
Build
issues found