extractors

package
v0.0.0-...-2bbc632 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	YeahdeskURL   string
	YeahdeskToken string
	EmailsPath    string
}

Config is the extractor configuration struct.

func NewConfig

func NewConfig() *Config

NewConfig returns the configuration object.

type EmailsExtractor

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

EmailsExtractor is emails extractor.

func NewEmailsExtractor

func NewEmailsExtractor() *EmailsExtractor

NewEmails returns the object.

func (*EmailsExtractor) Extract

func (s *EmailsExtractor) Extract(contacts []string) map[string][]string

Extract extracts contacts.

type Yeahdesk

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

Yeahdesk is a source.

func NewYeahdesk

func NewYeahdesk() *Yeahdesk

NewYeahdesk returns the object.

func (*Yeahdesk) Extract

func (s *Yeahdesk) Extract(contacts []string) map[string][]string

Extract extracts contacts.

Jump to

Keyboard shortcuts

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