common

package
v0.0.0-...-cfa0a2d Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddressFromPublicKey

func GetAddressFromPublicKey(publicKey string) (string, error)

func GetRandomElement

func GetRandomElement[T any](elements []T) (T, bool)

func IsHttpOk

func IsHttpOk(statusCode int) bool

func Sha3_256Hash

func Sha3_256Hash(obj any) []byte

func Sha3_256HashHex

func Sha3_256HashHex(obj any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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