awslambda

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LambdaScheduler

type LambdaScheduler struct {
	GrpcHost string
	Lambda   *lambda.Lambda
	Limiter  *rate.Limiter
	Ctx      context.Context
	// contains filtered or unexported fields
}

LambdaScheduler is simple scheduler to invoke long running lambda functions in AWS and Inviting them to connect back by gRPC, bidrectional, to serve multiple requests.

func (*LambdaScheduler) Done

func (g *LambdaScheduler) Done()

Done is called when a task is done

func (*LambdaScheduler) Inbound

func (g *LambdaScheduler) Inbound()

Inbound is called before a new task is added.

func (*LambdaScheduler) Timedout

func (g *LambdaScheduler) Timedout()

Timedout is called when no response was received on time for a task

Jump to

Keyboard shortcuts

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