app

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedStats

type FeedStats struct {
	Name          string
	ErrorCount    int
	ReceivedCount int
	ReceivedLast  time.Time
}

type ItemState

type ItemState uint
const (
	StateProcessed ItemState = iota
	StateUpdated
	StateNew
)

type ProcessedItem

type ProcessedItem struct {
	ID        string
	Published time.Time
}

ProcessedItem represents a sent item

func NewProcessedItemFromBytes

func NewProcessedItemFromBytes(byt []byte) (*ProcessedItem, error)

func (*ProcessedItem) Key

func (si *ProcessedItem) Key() []byte

func (*ProcessedItem) ToBytes

func (si *ProcessedItem) ToBytes() ([]byte, error)

type WebhookStats

type WebhookStats struct {
	Name      string
	SentCount int
	SentLast  time.Time
}

Directories

Path Synopsis
Package dispatcher contains the dispatcher service.
Package dispatcher contains the dispatcher service.
Package remoteservice contains the logic for communicating between cli and server process
Package remoteservice contains the logic for communicating between cli and server process

Jump to

Keyboard shortcuts

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