cog

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package cog is responsible for providing an aws cognito client as well as lambda handling front controller pattern for all microservice lambda features that need logging, timeout and panic handling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FailureToGatewayResponse

func FailureToGatewayResponse(err error) events.APIGatewayProxyResponse

func SetAPIVersion

func SetAPIVersion(ctx context.Context, version string) context.Context

SetAPIVersion sets the api version in the context.

Types

type HandlerConfig

type HandlerConfig struct {
	sls.TimeoutConfig
}

type PreSignupHandler

type PreSignupHandler interface {
	Run(ctx context.Context, e events.CognitoEventUserPoolsPreSignup) error
}

type PreSignupRunner

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

func (*PreSignupRunner) Handle

type Success

type Success struct{}

Jump to

Keyboard shortcuts

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