infrastructure

package
v0.0.0-...-3cd718c Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggerFromOptions

func NewLoggerFromOptions(o LoggerOptions) (*zap.Logger, error)

func StartHTTPServer

func StartHTTPServer(region, userPoolId string)

Types

type HTTPServer

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

func NewServer

func NewServer(logger *zap.Logger, region, userPoolId string) *HTTPServer

func (*HTTPServer) Middleware

func (s *HTTPServer) Middleware()

func (*HTTPServer) Router

func (s *HTTPServer) Router()

type LoggerOptions

type LoggerOptions struct {
	LogLevel string
}

type UserAddress

type UserAddress struct {
	Sub  string
	Name string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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