aws

package
v0.0.389 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIoTDelay = fmt.Errorf("iot not available")

Functions

func Start

func Start(
	ctx context.Context,
	mux *http.ServeMux,
	args map[string]interface{},
	p *project.Project,
	port int,
) (util.CleanupFunc, error)

Types

type FunctionBuildEvent

type FunctionBuildEvent struct {
	FunctionID string
	Errors     []string
}

type FunctionErrorEvent

type FunctionErrorEvent struct {
	FunctionID   string
	WorkerID     string
	RequestID    string
	ErrorType    string   `json:"errorType"`
	ErrorMessage string   `json:"errorMessage"`
	Trace        []string `json:"trace"`
}

type FunctionInvokedEvent

type FunctionInvokedEvent struct {
	FunctionID string
	WorkerID   string
	RequestID  string
	Input      []byte
}

type FunctionLogEvent

type FunctionLogEvent struct {
	FunctionID string
	WorkerID   string
	RequestID  string
	Line       string
}

type FunctionResponseEvent

type FunctionResponseEvent struct {
	FunctionID string
	WorkerID   string
	RequestID  string
	Output     []byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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