Versions in this module Expand all Collapse all v0 v0.4.0 Sep 3, 2026 v0.3.0 Sep 2, 2026 Changes in this version + const SchemeHTTP + const SchemeHTTPS + const SchemeSOCKS4 + const SchemeSOCKS4a + const SchemeSOCKS5 + const SchemeSOCKS5h + func Mask(raw string) string + func ParseList(raw string) ([]Entry, []LineError) + type Entry struct + Host string + Pass string + Port int + Scheme string + User string + func Parse(raw string) ([]Entry, error) + func ParseEntry(token string) (Entry, error) + func (e Entry) DialContext(ctx context.Context, network, address string) (net.Conn, error) + func (e Entry) IsHTTP() bool + func (e Entry) IsSOCKS() bool + func (e Entry) Key() string + func (e Entry) String() string + func (e Entry) URL() *url.URL + type LineError struct + Line int + Reason string + Text string + func (e LineError) Error() string + type ListError struct + Errors []LineError + func (e *ListError) Error() string v0.2.0 Aug 20, 2026