messages

package
v1.47.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 55

README

Overview

Go Reference

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvokeRequest

type InvokeRequest struct {
	Payload               []byte
	RequestId             string //nolint:stylecheck
	XAmznTraceId          string
	Deadline              InvokeRequest_Timestamp
	InvokedFunctionArn    string
	CognitoIdentityId     string //nolint:stylecheck
	CognitoIdentityPoolId string //nolint:stylecheck
	ClientContext         []byte
}

type InvokeRequest_Timestamp

type InvokeRequest_Timestamp struct {
	Seconds int64
	Nanos   int64
}

type InvokeResponse

type InvokeResponse struct {
	Payload []byte
	Error   *InvokeResponse_Error
}

type InvokeResponse_Error

type InvokeResponse_Error struct {
	Message    string                             `json:"errorMessage"`
	Type       string                             `json:"errorType"`
	StackTrace []*InvokeResponse_Error_StackFrame `json:"stackTrace,omitempty"`
	ShouldExit bool                               `json:"-"`
}

func (InvokeResponse_Error) Error added in v1.20.0

func (e InvokeResponse_Error) Error() string

type InvokeResponse_Error_StackFrame

type InvokeResponse_Error_StackFrame struct {
	Path  string `json:"path"`
	Line  int32  `json:"line"`
	Label string `json:"label"`
}

type PingRequest

type PingRequest struct {
}

type PingResponse

type PingResponse struct {
}

Jump to

Keyboard shortcuts

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