internal

package
v0.0.0-...-9e9cceb Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureLogging

func ConfigureLogging(levelStr string)

func GetInitRequestMessage

func GetInitRequestMessage(fileUtil utils.FileUtil, args []string) (intmodel.InitRequestMessage, model.AppError)

func ParseAddr

func ParseAddr(addrStr, defaultAddr string) (netip.AddrPort, error)

Types

type HTTPHandler

type HTTPHandler struct {
	// contains filtered or unexported fields
}

func NewHTTPHandler

func NewHTTPHandler(raptorApp raptorApp, initMsg intmodel.InitRequestMessage) *HTTPHandler

func Run

func Run(supv supvmodel.ProcessSupervisor, args []string, fileUtil utils.FileUtil, sigCh chan os.Signal) (*raptor.Server, *HTTPHandler, *raptor.App, error)

func (*HTTPHandler) Init

func (h *HTTPHandler) Init() rapidmodel.AppError

func (*HTTPHandler) ServeHTTP

func (h *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type InitRequestMessageFactory

type InitRequestMessageFactory func(fileUtil utils.FileUtil, args []string) (intmodel.InitRequestMessage, model.AppError)

type MockInitRequestMessageFactory

type MockInitRequestMessageFactory struct {
	mock.Mock
}

func NewMockInitRequestMessageFactory

func NewMockInitRequestMessageFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockInitRequestMessageFactory

func (*MockInitRequestMessageFactory) Execute

type Options

type Options struct {
	LogLevel       string `long:"log-level" description:"Log level (default: info). Can also be set via LOG_LEVEL env."`
	RuntimeAddress string `long:"runtime-api-address" description:"Address of the Lambda Runtime API."`
	RIEAddress     string `long:"runtime-interface-emulator-address" default:"0.0.0.0:8080" description:"Address for RIE to accept HTTP requests."`
}

func ParseCLIArgs

func ParseCLIArgs(args []string) (Options, []string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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