notifications

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindEdit   = "edit"
	KindCreate = "create"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	SendNewEvent(PayloadNewEvent) error
	SendNewAccount(PayloadNewAccount) error
	SendNewReport(PayloadNewReport) error
}

type PayloadNewAccount

type PayloadNewAccount struct {
	Email, UserID          string
	Nickname               string
	AccountValidationToken string
}

type PayloadNewEvent

type PayloadNewEvent struct {
	EventID, UserID          string
	EventDesc, EventCategory string
	Kind                     string
}

type PayloadNewReport added in v0.1.3

type PayloadNewReport struct {
	EventID string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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