config

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 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 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 SetSocks5ToHTTP

func SetSocks5ToHTTP(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
JackTT - Gopher 🇻🇳