persist

package
v0.0.0-...-d221b79 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllActiveIssuesFromPersist

func GetAllActiveIssuesFromPersist() ([]structs.RoomIssue, *nerr.E)

Types

type AlertWrapper

type AlertWrapper struct {
	Issue  structs.RoomIssue //alert to send
	Delete bool              //true if we want to delete the issue if resolved
	Format bool
}

type ElkPersist

type ElkPersist struct {
	InChannel    chan AlertWrapper
	ReloadConfig chan bool
	// contains filtered or unexported fields
}

func GetElkAlertPersist

func GetElkAlertPersist() *ElkPersist

func (*ElkPersist) StoreIssue

func (e *ElkPersist) StoreIssue(a structs.RoomIssue, del, reformatID bool) *nerr.E

Jump to

Keyboard shortcuts

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