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

Method SetDohResolver

rest/client.go:80–80  ·  view source on GitHub ↗
(dohResolver *doh.Resolver)

Source from the content-addressed store, hash-verified

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
83func ( c *Client ) Init() ( err error ) {

Callers 6

accessTokenFunction · 0.80
categoriesFunction · 0.80
serverListFunction · 0.80
InitMethod · 0.80
ExternalIpsMethod · 0.80
serverListMethod · 0.80

Calls 1

SetMarkMethod · 0.45

Tested by

no test coverage detected