Versions in this module Expand all Collapse all v0 v0.0.8 Mar 5, 2022 Changes in this version + type EventName string + const DelMsg + const SendMsg + type MsgType string + const MsgTypeProxyCheck type ProxyNodeDetail + RawUrl string v0.0.7 Jan 6, 2022 Changes in this version + type CrawlerConfRule struct + UseProxy bool + Xpath string + func (m *CrawlerConfRule) Scan(value interface{}) error + func (m *CrawlerConfRule) Value() (driver.Value, error) type ProxyNode + Detail *ProxyNodeDetail + type ProxyNodeDetail struct + OriginalNodeName string + func (m *ProxyNodeDetail) Scan(value interface{}) error + func (m *ProxyNodeDetail) Value() (driver.Value, error) type TohruFeed + SubCount uint32 + type TokenInfo struct + CreatedAt uint32 + Password string + UUID string + UserName string v0.0.6 Sep 17, 2021 Changes in this version + var UseTypeMap = map[UseType]string + func Scan(src interface{}, dst interface{}) error + func Value(m interface{}) (driver.Value, error) + type Clash struct + AllowLan bool + CFWByPass []string + CFWLatencyTimeout int + ExternalController string + LogLevel string + Mode string + Port int + Proxy []map[string]interface{} + ProxyGroup []map[string]interface{} + Rule []string + SocksPort int + type ClashRSSR struct + Cipher string + Name string + OBFS string + OBFSParam string + Password string + Port interface{} + Protocol string + ProtocolParam string + Server string + Type string + type ClashSS struct + Cipher string + Name string + Password string + Plugin string + PluginOpts PluginOpts + Port interface{} + Server string + Type string + type ClashVmess struct + AlterID interface{} + Cipher string + Name string + Network string + Port interface{} + Server string + SkipCertVerify bool + TLS bool + Type string + UUID string + WSHeaders map[string]string + WSPATH string + type CrawlType uint32 + const CrawlTypeClashProxies + const CrawlTypeFuzzyMatching + const CrawlTypeNil + const CrawlTypeSubscription + const CrawlTypeXpath + type CrawlerConf struct + CrawlType CrawlType + CrawlUrl string + CrawlerFeature string + CreatedAt uint32 + DeathCount uint32 + Id uint64 + Interval uint32 + IsClosed bool + NextAt uint32 + Note string + Rule *CrawlerConf_Rule + UpdatedAt uint32 + UseType UseType + type CrawlerConfList []*CrawlerConf + func (ss *CrawlerConfList) Pop() (popped **CrawlerConf) + func (ss CrawlerConfList) All(fn func(value *CrawlerConf) bool) bool + func (ss CrawlerConfList) Any(fn func(value *CrawlerConf) bool) bool + func (ss CrawlerConfList) Append(elements ...*CrawlerConf) CrawlerConfList + func (ss CrawlerConfList) Bottom(n int) (top CrawlerConfList) + func (ss CrawlerConfList) Contains(lookingFor *CrawlerConf) bool + func (ss CrawlerConfList) Diff(against CrawlerConfList) (added, removed CrawlerConfList) + func (ss CrawlerConfList) DropTop(n int) (drop CrawlerConfList) + func (ss CrawlerConfList) Each(fn func(*CrawlerConf)) CrawlerConfList + func (ss CrawlerConfList) Equals(rhs CrawlerConfList) bool + func (ss CrawlerConfList) Extend(slices ...CrawlerConfList) (ss2 CrawlerConfList) + func (ss CrawlerConfList) Filter(condition func(*CrawlerConf) bool) (ss2 CrawlerConfList) + func (ss CrawlerConfList) FilterNot(condition func(*CrawlerConf) bool) (ss2 CrawlerConfList) + func (ss CrawlerConfList) FindFirstUsing(fn func(value *CrawlerConf) bool) int + func (ss CrawlerConfList) First() *CrawlerConf + func (ss CrawlerConfList) FirstOr(defaultValue *CrawlerConf) *CrawlerConf + func (ss CrawlerConfList) Float64s() pie.Float64s + func (ss CrawlerConfList) Insert(index int, values ...*CrawlerConf) CrawlerConfList + func (ss CrawlerConfList) Ints() pie.Ints + func (ss CrawlerConfList) JSONBytes() []byte + func (ss CrawlerConfList) JSONBytesIndent(prefix, indent string) []byte + func (ss CrawlerConfList) JSONString() string + func (ss CrawlerConfList) JSONStringIndent(prefix, indent string) string + func (ss CrawlerConfList) Join(glue string) (s string) + func (ss CrawlerConfList) Last() *CrawlerConf + func (ss CrawlerConfList) LastOr(defaultValue *CrawlerConf) *CrawlerConf + func (ss CrawlerConfList) Len() int + func (ss CrawlerConfList) Map(fn func(*CrawlerConf) *CrawlerConf) (ss2 CrawlerConfList) + func (ss CrawlerConfList) Mode() CrawlerConfList + func (ss CrawlerConfList) Random(source rand.Source) *CrawlerConf + func (ss CrawlerConfList) Reverse() CrawlerConfList + func (ss CrawlerConfList) Send(ctx context.Context, ch chan<- *CrawlerConf) CrawlerConfList + func (ss CrawlerConfList) SequenceUsing(creator func(int) *CrawlerConf, params ...int) CrawlerConfList + func (ss CrawlerConfList) Shift() (*CrawlerConf, CrawlerConfList) + func (ss CrawlerConfList) Shuffle(source rand.Source) CrawlerConfList + func (ss CrawlerConfList) SortStableUsing(less func(a, b *CrawlerConf) bool) CrawlerConfList + func (ss CrawlerConfList) SortUsing(less func(a, b *CrawlerConf) bool) CrawlerConfList + func (ss CrawlerConfList) Strings() pie.Strings + func (ss CrawlerConfList) StringsUsing(transform func(*CrawlerConf) string) pie.Strings + func (ss CrawlerConfList) SubSlice(start int, end int) (subSlice CrawlerConfList) + func (ss CrawlerConfList) Top(n int) (top CrawlerConfList) + func (ss CrawlerConfList) Unshift(elements ...*CrawlerConf) (unshift CrawlerConfList) + type CrawlerConf_Rule struct + UseProxy bool + Xpath string + func (m *CrawlerConf_Rule) Scan(value interface{}) error + func (m *CrawlerConf_Rule) Value() (driver.Value, error) + type PluginOpts struct + Host string + Mode string + type ProxyNode struct + AvailableCount uint64 + CheckInterval uint32 + CountryCn string + CountryCode string + CountryEn string + CrawlId uint64 + CreatedAt uint32 + DeathCount uint32 + Id uint64 + IsClose bool + LastCrawlerAt uint32 + NextCheckAt uint32 + ProxyNetworkDelay float64 + ProxyNodeType ProxyNodeType + ProxySpeed float64 + UpdatedAt uint32 + Url string + UrlFeature string + UseType UseType + type ProxyNodeList []*ProxyNode + func (ss *ProxyNodeList) Pop() (popped **ProxyNode) + func (ss ProxyNodeList) All(fn func(value *ProxyNode) bool) bool + func (ss ProxyNodeList) Any(fn func(value *ProxyNode) bool) bool + func (ss ProxyNodeList) Append(elements ...*ProxyNode) ProxyNodeList + func (ss ProxyNodeList) Bottom(n int) (top ProxyNodeList) + func (ss ProxyNodeList) Contains(lookingFor *ProxyNode) bool + func (ss ProxyNodeList) Diff(against ProxyNodeList) (added, removed ProxyNodeList) + func (ss ProxyNodeList) DropTop(n int) (drop ProxyNodeList) + func (ss ProxyNodeList) Each(fn func(*ProxyNode)) ProxyNodeList + func (ss ProxyNodeList) Equals(rhs ProxyNodeList) bool + func (ss ProxyNodeList) Extend(slices ...ProxyNodeList) (ss2 ProxyNodeList) + func (ss ProxyNodeList) Filter(condition func(*ProxyNode) bool) (ss2 ProxyNodeList) + func (ss ProxyNodeList) FilterNot(condition func(*ProxyNode) bool) (ss2 ProxyNodeList) + func (ss ProxyNodeList) FindFirstUsing(fn func(value *ProxyNode) bool) int + func (ss ProxyNodeList) First() *ProxyNode + func (ss ProxyNodeList) FirstOr(defaultValue *ProxyNode) *ProxyNode + func (ss ProxyNodeList) Float64s() pie.Float64s + func (ss ProxyNodeList) Insert(index int, values ...*ProxyNode) ProxyNodeList + func (ss ProxyNodeList) Ints() pie.Ints + func (ss ProxyNodeList) JSONBytes() []byte + func (ss ProxyNodeList) JSONBytesIndent(prefix, indent string) []byte + func (ss ProxyNodeList) JSONString() string + func (ss ProxyNodeList) JSONStringIndent(prefix, indent string) string + func (ss ProxyNodeList) Join(glue string) (s string) + func (ss ProxyNodeList) Last() *ProxyNode + func (ss ProxyNodeList) LastOr(defaultValue *ProxyNode) *ProxyNode + func (ss ProxyNodeList) Len() int + func (ss ProxyNodeList) Map(fn func(*ProxyNode) *ProxyNode) (ss2 ProxyNodeList) + func (ss ProxyNodeList) Mode() ProxyNodeList + func (ss ProxyNodeList) Random(source rand.Source) *ProxyNode + func (ss ProxyNodeList) Reverse() ProxyNodeList + func (ss ProxyNodeList) Send(ctx context.Context, ch chan<- *ProxyNode) ProxyNodeList + func (ss ProxyNodeList) SequenceUsing(creator func(int) *ProxyNode, params ...int) ProxyNodeList + func (ss ProxyNodeList) Shift() (*ProxyNode, ProxyNodeList) + func (ss ProxyNodeList) Shuffle(source rand.Source) ProxyNodeList + func (ss ProxyNodeList) SortStableUsing(less func(a, b *ProxyNode) bool) ProxyNodeList + func (ss ProxyNodeList) SortUsing(less func(a, b *ProxyNode) bool) ProxyNodeList + func (ss ProxyNodeList) Strings() pie.Strings + func (ss ProxyNodeList) StringsUsing(transform func(*ProxyNode) string) pie.Strings + func (ss ProxyNodeList) SubSlice(start int, end int) (subSlice ProxyNodeList) + func (ss ProxyNodeList) Top(n int) (top ProxyNodeList) + func (ss ProxyNodeList) Unshift(elements ...*ProxyNode) (unshift ProxyNodeList) + type ProxyNodeType uint32 + const ProxyNodeTypeHttp + const ProxyNodeTypeNil + const ProxyNodeTypeSS + const ProxyNodeTypeSSR + const ProxyNodeTypeSnell + const ProxyNodeTypeSocket + const ProxyNodeTypeTrojan + const ProxyNodeTypeVless + const ProxyNodeTypeVmess + type SSD struct + Airport string + Encryption string + Expiry string + Password string + Port int + Servers []struct{ ... } + TrafficTotal float64 + TrafficUsed float64 + URL string + type TohruFeed struct + CreatedAt uint32 + Id uint64 + IsDisable string + LastIp string + UpCount uint64 + UpdatedAt uint32 + UserId string + UserPassword string + type Trojan struct + Name string + Password string + Port interface{} + Server string + Sni string + Type string + type UseType uint32 + const UseTypeGFW + const UseTypeNetEase + const UseTypeUseNil + type Vmess struct + Add string + Aid interface{} + Host string + ID string + Net string + PS string + Path string + Port interface{} + TLS string + Type string + V interface{}