input

package
v0.0.0-...-488ba96 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GzipInput

type GzipInput struct{}

func (GzipInput) Read

func (r GzipInput) Read(ctx context.Context, filename string, queue chan<- dmarc.Content) error

type Handler

type Handler interface {
	Read(ctx context.Context, input string, queue chan<- dmarc.Content) error
}

Handler is the interface for input handling of file types

type XmlInput

type XmlInput struct{}

xmlInput is the interface

func (XmlInput) Read

func (r XmlInput) Read(ctx context.Context, filename string, queue chan<- dmarc.Content) error

type ZipInput

type ZipInput struct{}

func (ZipInput) Read

func (r ZipInput) Read(ctx context.Context, filename string, queue chan<- dmarc.Content) error

Jump to

Keyboard shortcuts

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