webhook

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook struct {
	URL    string
	Client *http.Client
}

Webhook config

func New

func New(url string) *Webhook

New Webhook client

func (*Webhook) Send

func (wh *Webhook) Send(gotifyMessage *gotify.Message, debug bool)

Send new message

Jump to

Keyboard shortcuts

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