mocks

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package mocks contains manual mock implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v1.6.0

type Handler struct {
	InvokeFunc func(ctx context.Context, payload []byte) ([]byte, error)
}

Handler is a manual mock implementation of lambda.Handler.

func (*Handler) Invoke added in v1.6.0

func (m *Handler) Invoke(ctx context.Context, payload []byte) ([]byte, error)

Invoke calls the injected InvokeFunc if set.

Jump to

Keyboard shortcuts

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