notify

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RxSlackChannel = regexp.MustCompile(`^\s*([A-Z0-9]{9}/[A-Z0-9]{11}/[a-zA-Z0-9]{24})\s*$`)
View Source
var RxSlackWebhook = regexp.MustCompile(`^\s*(https://hooks.slack.com/services/[A-Z0-9]{9}/[A-Z0-9]{11}/[a-zA-Z0-9]{24})\s*$`)

Functions

func SlackF

func SlackF(slack, format string, argv ...interface{}) (err error)

func SlackUrl

func SlackUrl(channel string) (webhook string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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