components

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func (*Config) LoadConfiguration

func (c *Config) LoadConfiguration(ctx context.Context, event map[string]interface{})

Load Configuration file

type ForbiddenError

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

Handle ForbiddenError

func NewForbiddenError

func NewForbiddenError(message string) *ForbiddenError

func (*ForbiddenError) Error

func (e *ForbiddenError) Error() string

type InputValidationError

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

Handle Input Validation error

func NewInputValidationError

func NewInputValidationError(message string) *InputValidationError

func (*InputValidationError) Error

func (e *InputValidationError) Error() string

type InternalServerError

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

InternalServerError Error

func NewInternalServerError

func NewInternalServerError(message string) *InternalServerError

func (*InternalServerError) Error

func (e *InternalServerError) Error() string

type Logger

type Logger struct{}

Logger Implementation

func (*Logger) DEBUG

func (l *Logger) DEBUG(message string)

func (*Logger) ERROR

func (l *Logger) ERROR(message string)

func (*Logger) INFO

func (l *Logger) INFO(message string)

func (*Logger) Init

func (l *Logger) Init(level string, ctx context.Context)

func (*Logger) VERBOSE

func (l *Logger) VERBOSE(message string)

func (*Logger) WARN

func (l *Logger) WARN(message string)

type NotFoundError

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

NotFound Error

func NewNotFoundError

func NewNotFoundError(message string) *NotFoundError

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

type UnauthorizedError

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

Unauthorized Error

func NewUnauthorizedError

func NewUnauthorizedError(message string) *UnauthorizedError

func (*UnauthorizedError) Error

func (e *UnauthorizedError) Error() string

Jump to

Keyboard shortcuts

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