database

package
v0.0.0-...-5eac7db Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConfig = Config{
		Skipper: middleware.DefaultSkipper,
	}
)

Functions

func Get

func Get(c echo.Context) (*dynamodb.DB, error)

func Middleware

func Middleware(db *dynamodb.DB) echo.MiddlewareFunc

func MiddlewareWithConfig

func MiddlewareWithConfig(config Config) echo.MiddlewareFunc

Types

type Config

type Config struct {
	Skipper middleware.Skipper
	DB      *dynamodb.DB
}

Jump to

Keyboard shortcuts

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