configCustom

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorAwsError errors.CodeError = iota + errors.MIN_PKG_Aws + 30
	ErrorConfigValidator
	ErrorConfigJsonUnmarshall
	ErrorEndpointInvalid
	ErrorRegionInvalid
	ErrorRegionEndpointNotFound
	ErrorCredentialsInvalid
)

Variables

This section is empty.

Functions

func GetConfigModel

func GetConfigModel() interface{}

func IsErrorInit

func IsErrorInit() bool

func LevelDebug

func LevelDebug() logger.Level

func LevelError

func LevelError() logger.Level

func LevelFatal

func LevelFatal() logger.Level

func LevelInfo

func LevelInfo() logger.Level

func LevelNoLog

func LevelNoLog() logger.Level

func LevelPanic

func LevelPanic() logger.Level

func LevelWarn

func LevelWarn() logger.Level

func NewConfig

func NewConfig(bucket, accessKey, secretKey string, endpoint *url.URL, region string) aws2.Config

func NewConfigJsonUnmashal

func NewConfigJsonUnmashal(p []byte) (aws2.Config, errors.Error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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