Documentation ¶
Index ¶
- Constants
- type GreenService
- func (this *GreenService) ShouldBlockImage(url string) bool
- func (this *GreenService) ShouldBlockImages(urls []string) bool
- func (this *GreenService) ShouldBlockText(content string) bool
- func (this *GreenService) ShouldBlockVideo(url string) bool
- func (this *GreenService) ShouldBlockVoice(response string) (bool, string)
- func (this *GreenService) SubmitVoiceCheckTask(url string) string
- type MNSService
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) SendWithTag ¶
func (this *MNSService) SendWithTag(message []byte, tag string) (bool, error)
Click to show internal directories.
Click to hide internal directories.