notify

package
v0.0.0-...-b6b44b4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoNotify

func DoNotify(event *model.Event)

DoNotify 除了原始event信息之外,再附加一些通过查库才能得到的信息交给下游处理

Types

type Message

type Message struct {
	Tos              []string     `json:"tos"`
	Event            *model.Event `json:"event"`
	ClaimLink        string       `json:"claim_link"`
	StraLink         string       `json:"stra_link"`
	EventLink        string       `json:"event_link"`
	Bindings         []string     `json:"bindings"`
	NotifyType       string       `json:"notify_type"`
	Metrics          []string     `json:"metrics"`
	ReadableEndpoint string       `json:"readable_endpoint"`
	ReadableTags     string       `json:"readable_tags"`
	IsUpgrade        bool         `json:"is_upgrade"`
}

Jump to

Keyboard shortcuts

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