modelnetzach

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 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 NotifyFilter added in v0.1.15

type NotifyFilter struct {
	ExcludeKeywords []string
	IncludeKeywords []string
}

type NotifyFlow

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

type NotifyFlowSource

type NotifyFlowSource struct {
	SourceID model.InternalID
	Filter   *NotifyFilter
}

type NotifyFlowStatus

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

type NotifyFlowTarget

type NotifyFlowTarget struct {
	TargetID  model.InternalID
	Filter    *NotifyFilter
	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