utils

package
v0.3.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTypedSignature

func CreateTypedSignature(signature string, sigType int) string

func ExpireAfter

func ExpireAfter(duration time.Duration) string

func FromString

func FromString(input string) (u uuid.UUID, err error)

func GenerateQueryPath

func GenerateQueryPath(url string, params url.Values) string

func GetAccountId

func GetAccountId(address string) string

func HashString

func HashString(input string) string

func Must

func Must(u uuid.UUID, err error) uuid.UUID

func RandomClientId

func RandomClientId() string

func ToFloat

func ToFloat(s string) float64

func ToValues

func ToValues(i interface{}) (values url.Values)

Types

This section is empty.

Jump to

Keyboard shortcuts

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