package
0.0.0-20240513174111-a311b3bdd62a
Repository: https://github.com/aptrust/registry.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewMockAuthyClient returns a mock authy client for testing.
NewNSQClient returns a new NSQ client that will connect to the NSQ server and the specified url.
NewRedisClient creates a new RedisClient.
No description provided by the author
NewSMTPClient creates a new SMTP client for sending emails to Registry users.
No description provided by the author
FormatHeader formats an SMTP header in "Key: Value\r\n" format.
SMTPFormatMessage formats an SMTP message with recipient address, subject and body, using proper headers and \r\n line breaks.
# Variables
ErrAuthyDisabled means authy isn't enabled here.
# Structs
No description provided by the author
MockAuthyClient is used in testing.
No description provided by the author
No description provided by the author
NSQStatsData contains the important info returned by a call to NSQ's /stats endpoint, including the number of items in each topic and queue.
RedisClient is a crude and deliberately limited implementation that returns JSON only.
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author