Versions in this module Expand all Collapse all v2 v2.1.8 Mar 10, 2024 Changes in this version + type CheckLabel int + func (cl CheckLabel) String() string + type CheckSuggest string + const CheckSuggestPass + const CheckSuggestReview + const CheckSuggestRisky + type MediaCheckAsyncRequest struct + MediaType uint8 + MediaURL string + OpenID string + Scene uint8 + type MediaCheckAsyncV1Request struct + MediaType uint8 + MediaURL string + type MsgCheckRequest struct + Content string + Nickname string + OpenID string + Scene MsgScene + Signature string + Title string + type MsgCheckResponse struct + Detail []struct{ ... } + Result struct{ ... } + TraceID string + type MsgScene uint8 + const MsgSceneComment + const MsgSceneForum + const MsgSceneMaterial + const MsgSceneSocialLog + type Security struct + func NewSecurity(ctx *context.Context) *Security + func (security *Security) ImageCheckV1(filename string) (err error) + func (security *Security) MediaCheckAsync(in *MediaCheckAsyncRequest) (traceID string, err error) + func (security *Security) MediaCheckAsyncV1(in *MediaCheckAsyncV1Request) (traceID string, err error) + func (security *Security) MsgCheck(in *MsgCheckRequest) (res MsgCheckResponse, err error) + func (security *Security) MsgCheckV1(content string) (res MsgCheckResponse, err error)