handlers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Producer

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

Producer is used to listen to the Logs API using HTTP

func NewProducer

func NewProducer(outC chan []*lambda.LambdaEvent) *Producer

func (*Producer) Shutdown

func (p *Producer) Shutdown(timeout time.Duration)

Terminates the HTTP server listening for logs

func (*Producer) Start

func (p *Producer) Start()

Start initiates the server where the logs will be sent

Jump to

Keyboard shortcuts

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