crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
renovate/major-github-actions
ROOT
/
outbound
/
hysteria.go
Search
History
352 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
adapter.Outbound
_
:
adapter.InterfaceUpdateListener
Hysteria
myOutboundAdapter
ctx
:
context.Context
dialer
:
N.Dialer
serverAddr
:
M.Socksaddr
tlsConfig
:
*tls.STDConfig
quicConfig
:
*quic.Config
authKey
:
[]byte
xplusKey
:
[]byte
sendBPS
:
uint64
recvBPS
:
uint64
connAccess
:
sync.Mutex
conn
:
quic.Connection
rawConn
:
net.Conn
udpAccess
:
sync.RWMutex
udpSessions
:
map[uint32]chan *hysteria.UDPMessage
udpDefragger
:
hysteria.Defragger
NewHysteria
(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.HysteriaOutboundOptions)
:
(*Hysteria, error)
*Hysteria
offer
(ctx context.Context)
:
(quic.Connection, error)
offerNew
(ctx context.Context)
:
(quic.Connection, error)
udpRecvLoop
(conn quic.Connection)
InterfaceUpdated
()
:
error
Close
()
:
error
open
(ctx context.Context)
:
(quic.Connection, quic.Stream, error)
DialContext
(ctx context.Context, network string, destination M.Socksaddr)
:
(net.Conn, error)
ListenPacket
(ctx context.Context, destination M.Socksaddr)
:
(net.PacketConn, error)
NewConnection
(ctx context.Context, conn net.Conn, metadata adapter.InboundContext)
:
error
NewPacketConnection
(ctx context.Context, conn N.PacketConn, metadata adapter.InboundContext)
:
error
All occurrences
Please wait...
Page is in error, reload to recover