config

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint  string
	AccessKey string
	SecretKey string

	NosServiceConnectTimeout    int
	NosServiceReadWriteTimeout  int
	NosServiceMaxIdleConnection int

	LogLevel *logger.LogLevelType

	Logger logger.Logger

	IsSubDomain *bool
}

func (*Config) Check

func (conf *Config) Check() error

func (*Config) GetIsSubDomain

func (conf *Config) GetIsSubDomain() bool

func (*Config) SetIsSubDomain

func (conf *Config) SetIsSubDomain(isSubDomain bool) error

Jump to

Keyboard shortcuts

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