Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDGenerator ¶
IDGenerator is an autogenerated mock type for the IDGenerator type
func (*IDGenerator) GenerateAdminID ¶
func (_m *IDGenerator) GenerateAdminID() (string, error)
GenerateAdminID provides a mock function with given fields:
func (*IDGenerator) GenerateGroupID ¶
func (_m *IDGenerator) GenerateGroupID() (string, error)
GenerateGroupID provides a mock function with given fields:
func (*IDGenerator) GeneratePropertyID ¶
func (_m *IDGenerator) GeneratePropertyID() (string, error)
GeneratePropertyID provides a mock function with given fields:
func (*IDGenerator) GenerateShowScheduleID ¶
func (_m *IDGenerator) GenerateShowScheduleID() (string, error)
GenerateShowScheduleID provides a mock function with given fields:
type PasswordGenerator ¶
PasswordGenerator is an autogenerated mock type for the PasswordGenerator type
func (*PasswordGenerator) CompareHashAndPassword ¶
func (_m *PasswordGenerator) CompareHashAndPassword(hashedPassword []byte, password []byte) error
CompareHashAndPassword provides a mock function with given fields: hashedPassword, password
func (*PasswordGenerator) GenerateFromPassword ¶
func (_m *PasswordGenerator) GenerateFromPassword(password []byte, cost int) ([]byte, error)
GenerateFromPassword provides a mock function with given fields: password, cost
type QRCodeGenerator ¶
QRCodeGenerator is an autogenerated mock type for the QRCodeGenerator type
func (*QRCodeGenerator) GenerateQRCode ¶
func (_m *QRCodeGenerator) GenerateQRCode(content string, level qrcode.RecoveryLevel, size int) ([]byte, error)
GenerateQRCode provides a mock function with given fields: content, level, size
type TokenGenerator ¶
TokenGenerator is an autogenerated mock type for the TokenGenerator type
func (*TokenGenerator) ExtractToken ¶
func (_m *TokenGenerator) ExtractToken(c echo.Context) (string, string)
ExtractToken provides a mock function with given fields: c
func (*TokenGenerator) GenerateToken ¶
func (_m *TokenGenerator) GenerateToken(id string, username string) (string, error)
GenerateToken provides a mock function with given fields: id, username