security

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func URL

func URL(accessToken string, secret string) (string, error)

URL get DingTalk URL with accessToken & secret If no signature is set, the secret is set to "" 如果没有加签,secret 设置为 "" 即可

func URLWithTimestamp

func URLWithTimestamp(timestamp string, accessToken string, secret string) (string, error)

URLWithTimestamp get DingTalk URL with timestamp & accessToken & secret

func Validate

func Validate(signStr, timestamp, secret string) (bool, error)

Validate validate https://ding-doc.dingtalk.com/doc#/serverapi2/elzz1p

Types

This section is empty.

Jump to

Keyboard shortcuts

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