Documentation ¶
Index ¶
- func ListCipher() string
- func NewSSDialer(s string, dialer proxy.Dialer) (proxy.Dialer, error)
- func NewSSServer(s string, dialer proxy.Dialer) (proxy.Server, error)
- type PktConn
- type SS
- func (s *SS) Addr() string
- func (s *SS) Dial(network, addr string) (net.Conn, error)
- func (s *SS) DialUDP(network, addr string) (net.PacketConn, net.Addr, error)
- func (s *SS) ListenAndServe()
- func (s *SS) ListenAndServeTCP()
- func (s *SS) ListenAndServeUDP()
- func (s *SS) NextDialer(dstAddr string) proxy.Dialer
- func (s *SS) Serve(c net.Conn)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSSDialer ¶
NewSSDialer returns a ss proxy dialer
Types ¶
type PktConn ¶
type PktConn struct { net.PacketConn // contains filtered or unexported fields }
PktConn .
func NewPktConn ¶
NewPktConn returns a PktConn
type SS ¶
SS .
func (*SS) ListenAndServeTCP ¶
func (s *SS) ListenAndServeTCP()
ListenAndServeTCP serves tcp ss requests
func (*SS) ListenAndServeUDP ¶
func (s *SS) ListenAndServeUDP()
ListenAndServeUDP serves udp ss requests
func (*SS) NextDialer ¶
NextDialer returns the next dialer
Click to show internal directories.
Click to hide internal directories.