Documentation ¶
Overview ¶
用于生成jwt的id
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDGen ¶
func IDGenNameToIDGen ¶
type SonyflakeGen ¶
type SonyflakeGen struct {
// contains filtered or unexported fields
}
func NewSonyflakeGen ¶
func NewSonyflakeGen() *SonyflakeGen
func (*SonyflakeGen) String ¶
func (g *SonyflakeGen) String() string
Click to show internal directories.
Click to hide internal directories.