config

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(args []string) client.Config

Types

type Opt

type Opt func(c *config)

func SetCacheCredentials

func SetCacheCredentials(cc bool) Opt

func SetDoh added in v0.0.12

func SetDoh(h string) Opt

func SetHub

func SetHub(h string) Opt

func SetInsecure

func SetInsecure(h bool) Opt

func SetRecord

func SetRecord(h bool) Opt

func SetRedir

func SetRedir(h string) Opt

func SetSocks

func SetSocks(h string) Opt

func SetURI

func SetURI() Opt

func SetVerbose

func SetVerbose(v bool) Opt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL