Versions in this module Expand all Collapse all v1 v1.0.0 May 26, 2023 Changes in this version + type Conn struct + func (c *Conn) Close() error + func (c *Conn) Read(b []byte) (n int, err error) + func (c *Conn) Write(b []byte) (n int, err error) + type Server struct + func NewDefaultServer(addr, rawKey string) (*Server, error) + func NewServer(config *ServerConfig) (*Server, error) + type ServerConfig struct + Addr string + BindTimeout time.Duration + CMDSwitch share.SocksCMDSwitch + ConnTimeout time.Duration + DialTimeout time.Duration + RawKey string