Documentation
¶
Index ¶
- func ConfigureLogging(levelStr string)
- func GetInitRequestMessage(fileUtil utils.FileUtil, args []string) (intmodel.InitRequestMessage, model.AppError)
- func ParseAddr(addrStr, defaultAddr string) (netip.AddrPort, error)
- type HTTPHandler
- type InitRequestMessageFactory
- type MockInitRequestMessageFactory
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureLogging ¶
func ConfigureLogging(levelStr string)
func GetInitRequestMessage ¶
Types ¶
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func NewHTTPHandler(raptorApp raptorApp, initMsg intmodel.InitRequestMessage) *HTTPHandler
func (*HTTPHandler) Init ¶
func (h *HTTPHandler) Init() rapidmodel.AppError
func (*HTTPHandler) ServeHTTP ¶
func (h *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type MockInitRequestMessageFactory ¶
func NewMockInitRequestMessageFactory ¶
func NewMockInitRequestMessageFactory(t interface {
mock.TestingT
Cleanup(func())
}) *MockInitRequestMessageFactory
func (*MockInitRequestMessageFactory) Execute ¶
func (_m *MockInitRequestMessageFactory) Execute(fileUtil utils.FileUtil, args []string) (model.InitRequestMessage, rapidmodel.AppError)
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."`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.