util

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT, MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdGetter

type IdGetter[ID ~string] interface {
	GetId() ID
}

type Token

type Token[ID ~string, T IdGetter[ID]] interface {
	Create(T) (ID, error)
	Decode(ID) (T, error)
	GetId(ID) (ID, error)
}

Directories

Path Synopsis
fiber module
gorm module
http module
hunch module
time module
token module

Jump to

Keyboard shortcuts

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