Documentation ¶ Index ¶ func Send(url, body string, headers map[string]string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Send ¶ func Send(url, body string, headers map[string]string) error Send posts body to the given URL as text/plain. Custom headers are applied after the default Content-Type, so callers can override it. Header values are expanded with os.ExpandEnv to support $VAR secrets. Types ¶ This section is empty. Source Files ¶ View all Source files webhook.go Click to show internal directories. Click to hide internal directories.