Projects STRLCPY tun2socks Commits 6c07927b
🤬
  • ■ ■ ■ ■ ■ ■
    common/observable/observable.go
    1 1  package observable
    2 2   
    3  -// Ref: github.com/Dreamacro/clash/common/observable
    4  - 
    5 3  import (
    6 4   "errors"
    7 5   "sync"
    skipped 61 lines
  • ■ ■ ■ ■ ■ ■
    common/pool/pool.go
    1 1  // Package pool provides a pool of []byte.
    2 2  package pool
    3 3   
    4  -// Ref: github.com/Dreamacro/clash/common/pool
    5  - 
    6 4  const (
    7 5   // MaxSegmentSize is the largest possible UDP datagram size.
    8 6   MaxSegmentSize = (1 << 16) - 1
    skipped 18 lines
  • ■ ■ ■ ■ ■ ■
    component/simple-obfs/obfs.go
    1 1  // Package obfs provides obfuscation functionality for Shadowsocks protocol.
    2 2  package obfs
    3 3   
    4  -// Ref: github.com/Dreamacro/clash/component/simple-obfs
    5  - 
  • ■ ■ ■ ■ ■ ■
    proxy/http.go
    1 1  package proxy
    2 2   
    3  -// Ref: https://github.com/Dreamacro/clash/adapter/outbound/http
    4  - 
    5 3  import (
    6 4   "bufio"
    7 5   "context"
    skipped 91 lines
  • ■ ■ ■ ■ ■ ■
    restapi/server.go
    1 1  package restapi
    2 2   
    3  -// Ref: github.com/Dreamacro/clash/hub/route
    4  - 
    5 3  import (
    6 4   "bytes"
    7 5   "encoding/json"
    skipped 212 lines
  • ■ ■ ■ ■ ■ ■
    transport/socks5/socks5.go
    1 1  // Package socks5 provides SOCKS5 client functionalities.
    2 2  package socks5
    3 3   
    4  -// Ref: github.com/Dreamacro/clash/component/socks5
    5  - 
    6 4  import (
    7 5   "bytes"
    8 6   "encoding/binary"
    skipped 386 lines
Please wait...
Page is in error, reload to recover