forwardservice

package
v0.0.0-...-8910f3d Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwardService

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

func New

func New(params ServiceParams) *ForwardService

func (*ForwardService) Run

func (s *ForwardService) Run(ctx context.Context, wg *sync.WaitGroup)

type Forwarder

type Forwarder interface {
	SetupConfigs(app *kingpin.Application)
	Init(params ForwarderParams)
	IsEnable() bool
	SendLog([]logservice.Log)
	Shutdown()
}

type ForwarderParams

type ForwarderParams struct {
	LambdaName string
	AWSRegion  string
}

type ServiceParams

type ServiceParams struct {
	Forwarders []Forwarder
	LogsQueue  <-chan []logservice.Log
	LambdaName string
	AWSRegion  string
}

Directories

Path Synopsis
forwarders

Jump to

Keyboard shortcuts

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