Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IPMATCH = regexp.MustCompile(`[\d\.]+`) InvalidSSURI = errors.New("Not Validat SSURI ") )
Functions ¶
func PackAddr ¶
PackAddr : pack to || 1 (ipv4) | ip(4) | port(2) || or || 1 (domain) | 1 (len) | n (host str bytes) | 2 (port) ||
func ParseOrding ¶
Types ¶
type Config ¶
type Config struct { Server string `json:"server"` Password string `json:"password"` Method string `json:"method"` ServerPort int `json:"server_port"` Timeout int `json:"timeout"` LocalPort int `json:"local_port"` LocalAddress string `json:"local_address"` Protocol string `json:"protocol"` Obfs string `json:"obfs"` ConfigType string `json:"conf_type"` ObfsParam string `json:"obfs-param"` ProtocolParam string `json:"protocol-param"` OptionID int `json:"aid"` OptUUID string `json:"uuid"` }
func ParseSSUri ¶
func ParseVmessUri ¶
Click to show internal directories.
Click to hide internal directories.