slack

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Notify

func Notify(request SlackRequest) error

func Validate

func Validate(request SlackRequest) error

Validates the input parameters

Types

type SlackRequest

type SlackRequest struct {
	Text    string `json:",omitempty"`
	Channel string `json:",omitempty"`
	Color   string `json:",omitempty"`
	Title   string `json:",omitempty"`
	Webhook string `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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