util

package
v0.14.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProcessToken = NewToken()

Functions

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