golambda

package
v0.0.1-alpha8 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIGatewayProxyRequest

type APIGatewayProxyRequest events.APIGatewayProxyRequest

func (APIGatewayProxyRequest) GetBody

func (r APIGatewayProxyRequest) GetBody() (string, error)

If the request is Base64 encoded, GetBody() will decode before returning.

func (APIGatewayProxyRequest) GetToken

func (r APIGatewayProxyRequest) GetToken() string

func (APIGatewayProxyRequest) MapBodyObjects

func (r APIGatewayProxyRequest) MapBodyObjects() (map[string]interface{}, error)

func (APIGatewayProxyRequest) MapBodyStrings

func (r APIGatewayProxyRequest) MapBodyStrings() (map[string]string, error)

func (APIGatewayProxyRequest) MustGetBody

func (r APIGatewayProxyRequest) MustGetBody() string

func (APIGatewayProxyRequest) ParseBody

func (r APIGatewayProxyRequest) ParseBody(v interface{}) error

type SSMParameterReadWriter

type SSMParameterReadWriter interface {
	SSMParameterReader
	SSMParameterWriter
}

func NewSSMParameterReadWriter

func NewSSMParameterReadWriter() (SSMParameterReadWriter, error)

type SSMParameterReader

type SSMParameterReader interface {
	ReadString(name string) (string, error)
	ReadStringWithContext(ctx context.Context, name string) (string, error)
}

type SSMParameterReaderOption

type SSMParameterReaderOption func(ssmParamReader)

type SSMParameterWriter

type SSMParameterWriter interface {
	WriteString(name string, value string) error
	WriteStringWithContext(ctx context.Context, name string, value string) error
}

Jump to

Keyboard shortcuts

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