Config

package
v0.0.0-...-1f055c6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Uri            string
	Direct         bool
	ConnectTimeout time.Duration
}

func New

func New() *Config

func (Config) GetOptions

func (c Config) GetOptions() *options.ClientOptions

func (*Config) SetConnectTimeout

func (c *Config) SetConnectTimeout(t time.Duration) *Config

func (*Config) SetDirect

func (c *Config) SetDirect(direct bool) *Config

func (*Config) SetUri

func (c *Config) SetUri(uri string) *Config

Jump to

Keyboard shortcuts

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