config

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIGatewayConfig added in v0.12.0

type APIGatewayConfig struct {
	Cors *CorsConfig
}

type CorsConfig added in v0.12.0

type CorsConfig struct {
	AllowOrigins     []string
	AllowMethods     []string
	AllowHeaders     []string
	ExposeHeaders    []string
	AllowCredentials bool
	MaxAge           int
}

type DebugConfig added in v0.7.0

type DebugConfig struct {
	NodeJsDebugPort int
}

type HandlerMapping

type HandlerMapping struct {
	Name             string
	Source           string
	ConfiguredSource string
	Http             map[string]string
	Sqs              map[string]interface{}
	Schedule         *ScheduleConfig
	Timeout          int
}

type ScheduleConfig added in v0.14.0

type ScheduleConfig struct {
	Expression string
}

type TerrableConfig

type TerrableConfig struct {
	Handlers             []HandlerMapping
	EnvironmentVariables map[string]string
	HttpApi              *APIGatewayConfig
	RestApi              *APIGatewayConfig
	Timeout              int
}

func (TerrableConfig) EffectiveCorsConfig added in v0.12.0

func (config TerrableConfig) EffectiveCorsConfig() *CorsConfig

Jump to

Keyboard shortcuts

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