hid

package module
v0.0.0-...-300f131 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHashID

func CreateHashID(salt string, alphabet string, minlength int) (h *(hashids.HashID), err error)

* CreateHashID

Types

type HidType

type HidType hashids.HashID

func CreateHID

func CreateHID(salt string, alphabet string, minlength int) (h *HidType, err error)

func (*HidType) Decode

func (h *HidType) Decode(str string) (i int, err error)

func (*HidType) DecodeInt64

func (h *HidType) DecodeInt64(str string) (i int64, err error)

func (*HidType) Encode

func (h *HidType) Encode(i int) (str string, err error)

* Encode

func (*HidType) EncodeInt64

func (h *HidType) EncodeInt64(i int64) (str string, err error)

Jump to

Keyboard shortcuts

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