configure

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2016 License: MIT Imports: 6 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) 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) 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

Jump to

Keyboard shortcuts

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