rss

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RSS

type RSS struct {
	integrations.Integration

	// initialTime stores the time.Now just before
	// the module is loaded. It would be inconsistent
	// to get the time.Now after requests all RSSs concurrently.
	// Because we would ignore the time diff between, otherwise.
	// Will set from main.
	InitialTime time.Time
	// contains filtered or unexported fields
}

func (*RSS) Enabled

func (r *RSS) Enabled(config config.Integrations) bool

func (*RSS) GenerateSlackMessage

func (r *RSS) GenerateSlackMessage(options integrations.GenerateMessageOptions) (*slack.WebhookMessage, error)

func (*RSS) Load

func (r *RSS) Load(c config.Integrations) error

func (*RSS) Name

func (r *RSS) Name() string

func (*RSS) Validate

func (r *RSS) Validate(c config.Integrations) error

Jump to

Keyboard shortcuts

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