configure

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	// contains filtered or unexported fields
}

func NewConfigure

func NewConfigure(confPath string) *Conf

func (*Conf) AccessLogPath

func (c *Conf) AccessLogPath() string

func (*Conf) BackendRequestTimeout added in v1.2.3

func (c *Conf) BackendRequestTimeout() time.Duration

func (*Conf) DebugLogPath added in v1.0.3

func (c *Conf) DebugLogPath() string

func (*Conf) EnableMetricsEndpoint added in v1.6.0

func (c *Conf) EnableMetricsEndpoint() bool

func (*Conf) ErrorLogPath

func (c *Conf) ErrorLogPath() string

func (*Conf) Externals

func (c *Conf) Externals() map[string]string

func (*Conf) Get

func (c *Conf) Get(k string) interface{}

func (*Conf) LocalImagePath

func (c *Conf) LocalImagePath() string

func (*Conf) MLCMYKConverterNetworkFilePath added in v1.2.3

func (c *Conf) MLCMYKConverterNetworkFilePath() string

func (*Conf) MaxProcess

func (c *Conf) MaxProcess() int

func (*Conf) MaxSize

func (c *Conf) MaxSize() (uint, uint)

func (*Conf) NotFoundImagePath

func (c *Conf) NotFoundImagePath() string

func (*Conf) Port

func (c *Conf) Port() int

func (*Conf) Providers

func (c *Conf) Providers() []interface{}

func (*Conf) S3BucketName

func (c *Conf) S3BucketName() string

func (*Conf) S3Region

func (c *Conf) S3Region() string

S3Region returns the set of "s3_region". And default values "ap-northeast-1"

func (*Conf) Set

func (c *Conf) Set(k string, v interface{})

func (*Conf) UA

func (c *Conf) UA() string

func (*Conf) UseMLCMYKConverter added in v1.2.3

func (c *Conf) UseMLCMYKConverter() bool

func (*Conf) UseServerTiming added in v1.4.0

func (c *Conf) UseServerTiming() bool

Jump to

Keyboard shortcuts

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