play

package
v0.0.0-...-8e6f2e6 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TextTemplate = `` /* 168-byte string literal not displayed */

	LinkTemplate = `` /* 141-byte string literal not displayed */

	MarkTemplate = `` /* 198-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type Alarm

type Alarm interface {
	Dingding(Dingdingurl string) error
}

type Linking

type Linking struct {
	Text       string `json:"text"`
	Title      string `json:"title"`
	PicUrl     string `json:"picUrl"`
	MessageUrl string `json:"messageUrl"`
}

func (Linking) Dingding

func (m Linking) Dingding(DingDingUrl string) error

type MarkDowning

type MarkDowning struct {
	Title     string `json:"title"`
	Text      string `json:"text"`
	AtMobiles string `json:"atMobiles"` //应该是[]string,图方便,改成这个

}

func (MarkDowning) Dingding

func (m MarkDowning) Dingding(DingDingUrl string) error

type Text

type Text struct {
	MarkDowning
}

func (Text) Dingding

func (m Text) Dingding(DingDingUrl string) error

Jump to

Keyboard shortcuts

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