cmd

package
v0.0.0-...-5863de9 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	//Run defines a way to start a application
	Run()
}

Application interface defines a single run method to be executed

func ProvideRunner

func ProvideRunner() Application

ProvideRunner defines which Application runner should be initialized

type FiberApplication

type FiberApplication struct{}

FiberApplication to use as HTTP API

func (FiberApplication) Run

func (FiberApplication) Run()

type JobApplication

type JobApplication struct{}

func (JobApplication) Run

func (JobApplication) Run()

type JobEvent

type JobEvent struct {
	Name string `json:"name"`
}

type LambdaApplication

type LambdaApplication struct{}

LambdaApplication implements the Application interface to execute this app on AWS Lambda

func (LambdaApplication) Run

func (LambdaApplication) Run()

Run starts a lambda adapter on top of gin-gonic to execute the application on serverless

Jump to

Keyboard shortcuts

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