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.

trigger.gno

0.44 Kb · 11 lines
 1// Package trigger holds the Trigger struct that gnotif registries accept. A
 2// struct declared in a realm cannot be built by another realm, so it lives in
 3// a pure package.
 4package trigger
 5
 6// Trigger holds one trigger's fields. Filter is comma-separated key=value
 7// pairs; Title, Body and Link are templates where {key} stands for the value
 8// of the event's attribute key.
 9type Trigger struct {
10	Event, Filter, Param, Title, Body, Link string
11}