Documentation ¶
Overview ¶
Package output provides a set of functions to write the data to the output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
Container is a map of outputs
func NewContainer ¶
func NewContainer(env string, cfg config.ValidOutputConfig) Container
NewContainer creates a new OutputContainer
type HTTPDataWrite ¶
HTTPDataWrite writes the data to the output
type LocalOutput ¶
type LocalOutput struct { // Format of the output Format config.OutputFormat // BasePath of the output BasePath string }
LocalOutput represents the local output service
func NewLocalOutput ¶
func NewLocalOutput(cfg config.ValidOutputRespectiveValueConfig) LocalOutput
NewLocalOutput creates a new LocalOutput
func (LocalOutput) HTTPDataWriteFactory ¶
func (o LocalOutput) HTTPDataWriteFactory( ctx context.Context, log logger.Logger, enabled bool, uniqueName string, header []string, ) (HTTPDataWrite, Close, error)
HTTPDataWriteFactory returns the HTTPDataWrite function
Click to show internal directories.
Click to hide internal directories.