aliyun

package
v1.20.76 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_RATE = 90.0

Variables

This section is empty.

Functions

This section is empty.

Types

type GreenService

type GreenService struct {
}

func NewGreenService

func NewGreenService() *GreenService

func (*GreenService) ShouldBlockImage

func (this *GreenService) ShouldBlockImage(url string) bool

func (*GreenService) ShouldBlockImages

func (this *GreenService) ShouldBlockImages(urls []string) bool

func (*GreenService) ShouldBlockText

func (this *GreenService) ShouldBlockText(content string) bool

func (*GreenService) ShouldBlockVideo

func (this *GreenService) ShouldBlockVideo(url string) bool

func (*GreenService) ShouldBlockVoice

func (this *GreenService) ShouldBlockVoice(response string) (bool, string)

func (*GreenService) SubmitVoiceCheckTask

func (this *GreenService) SubmitVoiceCheckTask(url string) string

type MNSService

type MNSService struct {
}

func NewMNSService

func NewMNSService() *MNSService

func (*MNSService) Send

func (this *MNSService) Send(message string) (bool, error)

func (*MNSService) SendWithTag

func (this *MNSService) SendWithTag(message []byte, tag string) (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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