options

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OreillyTrialOptions

type OreillyTrialOptions struct {
	// CreateUserUrl is the url of the user creation on Oreilly API
	CreateUserUrl string
	// EmailDomains is the comma separated list of usable domain for creating trial account, it should be a valid domain
	EmailDomains []string
	// UsernameRandomLength is the length of the random generated username
	UsernameRandomLength int
	// PasswordRandomLength is the length of the random generated username
	PasswordRandomLength int
	// BannerFilePath is the relative path to the banner file
	BannerFilePath string
	// LogLevel is the level of the logging library
	LogLevel string
}

OreillyTrialOptions contains frequent command line and application options.

func GetOreillyTrialOptions

func GetOreillyTrialOptions() *OreillyTrialOptions

GetOreillyTrialOptions returns the pointer of OreillyTrialOptions

Jump to

Keyboard shortcuts

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