extractld

package module
v0.0.0-...-ffbc70f Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProcessors

func GetProcessors[T any](list *UrlProcessorList) []T

Types

type Contact

type Contact interface {
	Name() string
	Email() string
}

type Mail

type Mail interface {
	Source() string
	Sender() Contact
	Recipients() []Contact
	Topic() string
	Body() string
	IsFlagged() bool
	SentTime() time.Time
}

type MailProvider

type MailProvider interface {
	MailByDate(start time.Time, end time.Time) ([]Mail, error)
}

type UrlProcessor

type UrlProcessor interface {
	Process(url string) (*sparqlupdate.Graph, error)
}

type UrlProcessorList

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

func (*UrlProcessorList) Add

func (list *UrlProcessorList) Add(processor UrlProcessor)

func (*UrlProcessorList) AddAll

func (list *UrlProcessorList) AddAll(processors []UrlProcessor)

func (*UrlProcessorList) Process

func (list *UrlProcessorList) Process(url string) (*sparqlupdate.Graph, error)

Directories

Path Synopsis
cmd
server command
ms

Jump to

Keyboard shortcuts

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