enum

package
v0.0.0-...-e68d9ba Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlgorithmEnum

type AlgorithmEnum int
const (
	AlgorithmSHA1 AlgorithmEnum = iota
	AlgorithmSHA256
	AlgorithmSHA512
	AlgorithmMD5
)

func (AlgorithmEnum) Hash

func (a AlgorithmEnum) Hash() hash.Hash

func (AlgorithmEnum) String

func (a AlgorithmEnum) String() string

type DigitEnum

type DigitEnum int
const (
	DigitFour  DigitEnum = 4
	DigitSix   DigitEnum = 6
	DigitEight DigitEnum = 8
)

func (DigitEnum) Format

func (d DigitEnum) Format(in int32) string

Format converts an integer into the zero-filled size for this Digits.

func (DigitEnum) Length

func (d DigitEnum) Length() int

Length returns the number of characters for this Digits.

func (DigitEnum) String

func (d DigitEnum) String() string

type PatternEnum

type PatternEnum string
const (
	Standard PatternEnum = "standard" // standard
	Steam    PatternEnum = "steam"    // steam
	Mobile   PatternEnum = "mobile"   // mobile
)

Jump to

Keyboard shortcuts

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