scfinvoke

package
v0.0.0-...-3d1abd8 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(input Input) ([]byte, error)

Run a Go based lambda, passing the configured payload note that 'payload' can be anything that can be encoded by encoding/json

Types

type Input

type Input = struct {
	Port          int
	Payload       interface{}
	ClientContext *fc.ClientContext
	Deadline      *messages.InvokeRequest_Timestamp
}

Input is the input of the rpc

Jump to

Keyboard shortcuts

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