Documentation ¶
Index ¶
- Constants
- type TCPSocketDialer
- type UdptlsSctpClient
- func (s *UdptlsSctpClient) AlternativeChannel(url string)
- func (s *UdptlsSctpClient) Dial(network, address string, port uint16, ctx context.Context) (net.Conn, error)
- func (s *UdptlsSctpClient) DialDirect(address string, port uint16) (net.Conn, error)
- func (s *UdptlsSctpClient) NotifyMeltdown(reason error)
- func (s *UdptlsSctpClient) Up()
- type UdptlsSctpClientDirect
- func (s *UdptlsSctpClientDirect) AlternativeChannel(url string)
- func (s *UdptlsSctpClientDirect) Dial(network, address string, port uint16, ctx context.Context) (net.Conn, error)
- func (s *UdptlsSctpClientDirect) DialDirect(address string, port uint16) (net.Conn, error)
- func (s *UdptlsSctpClientDirect) NotifyMeltdown(reason error)
- func (s *UdptlsSctpClientDirect) Reconnect()
- func (s *UdptlsSctpClientDirect) Up()
- type UdptlsSctpClientStramToNetConnAdp
- func (u UdptlsSctpClientStramToNetConnAdp) Close() error
- func (u UdptlsSctpClientStramToNetConnAdp) LocalAddr() net.Addr
- func (u UdptlsSctpClientStramToNetConnAdp) Read(b []byte) (n int, err error)
- func (u UdptlsSctpClientStramToNetConnAdp) RemoteAddr() net.Addr
- func (u UdptlsSctpClientStramToNetConnAdp) SetDeadline(t time.Time) error
- func (u UdptlsSctpClientStramToNetConnAdp) SetReadDeadline(t time.Time) error
- func (u UdptlsSctpClientStramToNetConnAdp) SetWriteDeadline(t time.Time) error
- func (u UdptlsSctpClientStramToNetConnAdp) Write(b []byte) (n int, err error)
- type UdptlsSctpServer
Constants ¶
View Source
const OUTCHANNEL = false
View Source
const UsePuni = true
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TCPSocketDialer ¶
type UdptlsSctpClient ¶
type UdptlsSctpClient struct { Address string // contains filtered or unexported fields }
func NewUdptlsSctpClient ¶
func (*UdptlsSctpClient) AlternativeChannel ¶
func (s *UdptlsSctpClient) AlternativeChannel(url string)
func (*UdptlsSctpClient) DialDirect ¶
func (*UdptlsSctpClient) NotifyMeltdown ¶
func (s *UdptlsSctpClient) NotifyMeltdown(reason error)
func (*UdptlsSctpClient) Up ¶
func (s *UdptlsSctpClient) Up()
type UdptlsSctpClientDirect ¶
type UdptlsSctpClientDirect struct { Address string TunnelTxToTun chan interfaces.UDPPacket TunnelRxFromTun chan interfaces.UDPPacket // contains filtered or unexported fields }
func NewUdptlsSctpClientDirect ¶
func NewUdptlsSctpClientDirect(remoteAddress string, password string, ctx context.Context) *UdptlsSctpClientDirect
func (*UdptlsSctpClientDirect) AlternativeChannel ¶
func (s *UdptlsSctpClientDirect) AlternativeChannel(url string)
func (*UdptlsSctpClientDirect) DialDirect ¶
func (*UdptlsSctpClientDirect) NotifyMeltdown ¶
func (s *UdptlsSctpClientDirect) NotifyMeltdown(reason error)
func (*UdptlsSctpClientDirect) Reconnect ¶
func (s *UdptlsSctpClientDirect) Reconnect()
func (*UdptlsSctpClientDirect) Up ¶
func (s *UdptlsSctpClientDirect) Up()
type UdptlsSctpClientStramToNetConnAdp ¶
type UdptlsSctpClientStramToNetConnAdp struct {
// contains filtered or unexported fields
}
func (UdptlsSctpClientStramToNetConnAdp) Close ¶
func (u UdptlsSctpClientStramToNetConnAdp) Close() error
func (UdptlsSctpClientStramToNetConnAdp) LocalAddr ¶
func (u UdptlsSctpClientStramToNetConnAdp) LocalAddr() net.Addr
func (UdptlsSctpClientStramToNetConnAdp) Read ¶
func (u UdptlsSctpClientStramToNetConnAdp) Read(b []byte) (n int, err error)
func (UdptlsSctpClientStramToNetConnAdp) RemoteAddr ¶
func (u UdptlsSctpClientStramToNetConnAdp) RemoteAddr() net.Addr
func (UdptlsSctpClientStramToNetConnAdp) SetDeadline ¶
func (u UdptlsSctpClientStramToNetConnAdp) SetDeadline(t time.Time) error
func (UdptlsSctpClientStramToNetConnAdp) SetReadDeadline ¶
func (u UdptlsSctpClientStramToNetConnAdp) SetReadDeadline(t time.Time) error
func (UdptlsSctpClientStramToNetConnAdp) SetWriteDeadline ¶
func (u UdptlsSctpClientStramToNetConnAdp) SetWriteDeadline(t time.Time) error
type UdptlsSctpServer ¶
type UdptlsSctpServer struct { Address string // contains filtered or unexported fields }
func NewUdptlsSctpServer ¶
func NewUdptlsSctpServer(localAddress string, password string, ctx context.Context) *UdptlsSctpServer
func (UdptlsSctpServer) Connection ¶
func (*UdptlsSctpServer) Process ¶
func (s *UdptlsSctpServer) Process(conn net.Conn, connctx context.Context)
func (*UdptlsSctpServer) RateLimitTcpServerWrite ¶
func (s *UdptlsSctpServer) RateLimitTcpServerWrite(ratelimitServerTCPWriteBytePerSecond int, ratelimitServerTCPWriteMaxBucketSize int, ratelimitServerTCPWriteInitialSize int)
func (*UdptlsSctpServer) Up ¶
func (s *UdptlsSctpServer) Up()
Click to show internal directories.
Click to hide internal directories.