hash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type None

type None struct{}

func (*None) Hash

func (s *None) Hash(token string) string

type SHA1

type SHA1 struct{}

func (*SHA1) Hash

func (s *SHA1) Hash(token string) string

type TokenHashStrategy

type TokenHashStrategy interface {
	Hash(token string) string
}

func NewNone

func NewNone() TokenHashStrategy

func NewSha1

func NewSha1() TokenHashStrategy

Jump to

Keyboard shortcuts

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