Documentation ¶
Overview ¶
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
*
- Copyright 2022 chyroc *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
Index ¶
- func CalculateLarkCallbackSignature(timestamp, nonce, encryptKey string, body []byte, isNormalEvent bool) string
- func IsInReflectKind(v reflect.Kind, list []reflect.Kind) bool
- func JoinAppLinkURL(uri string, data interface{}) string
- func RandString(count int) string
- func ReflectToQueryString(v reflect.Value) (s []string)
- func ReflectToString(v reflect.Value) (s string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateLarkCallbackSignature ¶ added in v0.0.66
func CalculateLarkCallbackSignature(timestamp, nonce, encryptKey string, body []byte, isNormalEvent bool) string
对于一般的事件回调,encryptKey 是加密秘钥: https://open.feishu.cn/document/ukTMukTMukTM/uYDNxYjL2QTM24iN0EjN/event-security-verification 对于消息卡片回调,encryptKey是verify-token: https://open.feishu.cn/document/ukTMukTMukTM/uYzMxEjL2MTMx4iNzETM
func IsInReflectKind ¶ added in v0.0.16
IsInReflectKind ...
func JoinAppLinkURL ¶ added in v0.0.66
JoinAppLinkURL ...
func ReflectToQueryString ¶ added in v0.0.26
ReflectToQueryString ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.