service

package
v0.0.0-...-1309449 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TheBarkAlertMaster = NewBarkAlertMaster()
)

Functions

func EscapeString

func EscapeString(content string) string

Types

type BarkAlertMaster

type BarkAlertMaster struct {
}

func NewBarkAlertMaster

func NewBarkAlertMaster() *BarkAlertMaster

func (*BarkAlertMaster) SendAlert

func (m *BarkAlertMaster) SendAlert(id, title, content string) error

type BarkAlertService

type BarkAlertService struct {
	ID string
}

func NewBarkAlertService

func NewBarkAlertService(id string) *BarkAlertService

func (*BarkAlertService) SendAlert

func (b *BarkAlertService) SendAlert(title, content string) error

Jump to

Keyboard shortcuts

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