play

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

* Copyright (c) 2019. The ango Authors. All rights reserved. * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE file.

Index

Constants

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

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

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

)
View Source
const API = `` /* 2199-byte string literal not displayed */

Variables

This section is empty.

Functions

func Generate

func Generate()

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