util

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProcessToken = NewToken()

Functions

func AbsInt64

func AbsInt64(i int64) int64

AbsInt64 is an ABS function for int64 type

func ClearToLog

func ClearToLog(topic string, key string) bool

func PrettyUniqueToken

func PrettyUniqueToken() string

func RandomHash

func RandomHash() string

Types

type Token

type Token struct {
	Hash string
}

Token is used to identify and validate requests to this service

func NewToken

func NewToken() *Token

func (*Token) Short

func (token *Token) Short() string

Jump to

Keyboard shortcuts

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