util

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTimeOut

func CheckTimeOut(tm int64) bool

tm 时间,单位毫秒

func GetSummary

func GetSummary(i interface{}) ([]byte, error)

得到摘要

func HexDecode

func HexDecode(in string) ([]byte, error)

兼容0x格式

func Secp256k1Verify

func Secp256k1Verify(msg, sig, pubKey []byte) (b bool)

func Secp256k1VerifyChain33

func Secp256k1VerifyChain33(msg, sig, pubKey []byte) (b bool)

func ToString

func ToString(val interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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