Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

v0 source pure

Package trigger holds the Trigger struct that gnotif registries accept. A struct declared in a realm cannot be built ...

Overview

Package trigger holds the Trigger struct that gnotif registries accept. A struct declared in a realm cannot be built by another realm, so it lives in a pure package.

Types 1

type Trigger

struct
1type Trigger struct {
2	Event, Filter, Param, Title, Body, Link string
3}
source

Trigger holds one trigger's fields. Filter is comma-separated key=value pairs; Title, Body and Link are templates where {key} stands for the value of the event's attribute key.

Dependencies

Imports 0

Imports nothing.

/p/g13rqvks880v0hmlfepcj0kkudq0js38d3pc5k6a/gnotif/trigger/v0

Imported by indexer

Source Files 2