package
Version:
v0.0.0-...-ddfd2c2
Opens a new window with list of versions in this module.
Published: Oct 31, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
在单实例模式下,是用内存缓存 tickets,在集群模式下,使用数据库存储 tickets 可以共享
type TicketEntry struct {
KeyID string `db:"keyid"`
CreateAt int64 `db:"create_at"`
ExpiryAt int64 `db:"expiry_at"`
Code string `db:"code"`
Failed int `db:"failed"`
UserData string `db:"user_data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.