modelnetzach

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotifyFlow

type NotifyFlow struct {
	ID          model.InternalID
	Name        string
	Description string
	Source      *NotifyFlowSource
	Targets     []*NotifyFlowTarget
	Status      NotifyFlowStatus
}

type NotifyFlowSource

type NotifyFlowSource struct {
	FeedIDFilter []model.InternalID
}

type NotifyFlowStatus

type NotifyFlowStatus int
const (
	NotifyFlowStatusUnspecified NotifyFlowStatus = iota
	NotifyFlowStatusActive
	NotifyFlowStatusSuspend
)

type NotifyFlowTarget

type NotifyFlowTarget struct {
	TargetID  model.InternalID
	ChannelID string
}

type NotifyTarget

type NotifyTarget struct {
	ID          model.InternalID
	Name        string
	Description string
	Type        NotifyTargetType
	Status      NotifyTargetStatus
	Token       string
}

type NotifyTargetStatus

type NotifyTargetStatus int
const (
	NotifyTargetStatusUnspecified NotifyTargetStatus = iota
	NotifyTargetStatusActive
	NotifyTargetStatusSuspend
)

type NotifyTargetType

type NotifyTargetType int
const (
	NotifyTargetTypeUnspecified NotifyTargetType = iota
	NotifyTargetTypeTelegram
)

Jump to

Keyboard shortcuts

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