provider

package
v0.0.0-...-d3da4df Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base interface {
	Send() error
	Fetch() ([]byte, error)
}

type Notifier

type Notifier struct {
	Base
	API     string
	Payload []byte
	Webhook string
}

func (*Notifier) Fetch

func (n *Notifier) Fetch() ([]byte, error)

func (*Notifier) Send

func (n *Notifier) Send() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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