MCPcopy Create free account
hub / github.com/eventure/hide.client.linux / New

Function New

rest/client.go:79–79  ·  view source on GitHub ↗
( config *Config )

Source from the content-addressed store, hash-verified

77}
78
79func New( config *Config ) *Client { if config == nil { config = &Config{} }; return &Client{ Config: config } }
80func (c *Client) SetDohResolver(dohResolver *doh.Resolver) { c.dohResolver = dohResolver; c.dohResolver.SetMark(c.Config.Mark) }
81func (c *Client) SetPlainResolver(plainResolver *plain.Resolver) { c.plainResolver = plainResolver; plainResolver.SetMark(c.Config.Mark) }
82

Callers 7

accessTokenFunction · 0.92
categoriesFunction · 0.92
serverListFunction · 0.92
InitMethod · 0.92
AccessTokenFetchMethod · 0.92
ExternalIpsMethod · 0.92
serverListMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected