udp

package
v0.0.0-...-177ec65 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package udp contains the UDP static source.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	ReadTimeout conf.StringDuration
	Parent      defs.StaticSourceParent
}

Source is a UDP static source.

func (*Source) APISourceDescribe

func (*Source) APISourceDescribe() defs.APIPathSourceOrReader

APISourceDescribe implements StaticSource.

func (*Source) Log

func (s *Source) Log(level logger.Level, format string, args ...interface{})

Log implements logger.Writer.

func (*Source) Run

func (s *Source) Run(params defs.StaticSourceRunParams) error

Run implements StaticSource.

Jump to

Keyboard shortcuts

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