Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/MetaCubeX/mihomo
/ Write
Method
Write
constant/provider/interface.go:39–39 ·
view source on GitHub ↗
(buf []byte)
Source
from the content-addressed store, hash-verified
37
type
Vehicle
interface
{
38
Read(ctx context.Context, oldHash utils.HashType) (buf []byte, hash utils.HashType, err error)
39
Write(buf []byte) error
40
Path() string
41
Url() string
42
Proxy() string
Callers
15
Write
Method · 0.65
loadBuf
Method · 0.65
RelayDnsConn
Function · 0.65
VerifyConnection
Method · 0.65
WriteBin
Method · 0.65
WriteBin
Method · 0.65
EncryptBytes
Function · 0.65
Main
Function · 0.65
WriteHeaderWithReuse
Function · 0.65
WriteUDPHeader
Function · 0.65
writeZeroChunk
Function · 0.65
WritePacketFrame
Method · 0.65
Implementers
2
FileVehicle
component/resource/vehicle.go
HTTPVehicle
component/resource/vehicle.go
Calls
no outgoing calls
Tested by
15
TestSnellV4RoundTrip
Function · 0.52
TestSnellV4ZeroChunk
Function · 0.52
TestSnellV4FirstFrameIncludesInitialPadding
Function · 0.52
TestSnellV4WriterDefersSaltUntilFirstFrame
Function · 0.52
TestSnellReadReplyPreservesBufferedPayload
Function · 0.52
TestSnellReadReplyErrorResponse
Function · 0.52
Write
Method · 0.52
TestMultiplex_TCP_Echo
Function · 0.52
TestHTTPMaskTunnel_Stream_TCPRoundTrip
Function · 0.52
TestHTTPMaskTunnel_Auto_TCPRoundTrip
Function · 0.52
TestHTTPMaskTunnel_WS_TCPRoundTrip
Function · 0.52
TestHTTPMaskTunnel_EarlyHandshake_TCPRoundTrip
Function · 0.52