config

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 3 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 {
	Host             string
	Scheme           string
	Port             int
	PemPath, KeyPath string
	StorePath        string
	FileName         string
	Verbose          bool
	ForceSave        bool
	DynamoFileName   bool
	URL              *url.URL

	// This option provides deleting records which weren't requested during tests.
	SessionMode bool

	//If NoUseDomain is true proxy don't use domain name and port for storing data.
	//So you may use it for test with different servers.
	NoUseDomain bool

	// If NoUseUserData is true proxy don't use user's name for storing data.
	// So you may use it for test with different user.
	NoUseUserData bool
}

func (*Config) File

func (cfg *Config) File(urlPath string) string

func (*Config) Init

func (cfg *Config) Init() (err error)

Jump to

Keyboard shortcuts

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