bark

package
v0.2.22-beta Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BarkNotifier

type BarkNotifier struct {
	// contains filtered or unexported fields
}

func New

func New(config *BarkNotifierConfig) (*BarkNotifier, error)

func (*BarkNotifier) Notify

func (n *BarkNotifier) Notify(ctx context.Context, subject string, message string) (res *notifier.NotifyResult, err error)

type BarkNotifierConfig

type BarkNotifierConfig struct {
	ServerUrl string `json:"serverUrl"`
	DeviceKey string `json:"deviceKey"`
}

Jump to

Keyboard shortcuts

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