Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistrationAPI ¶
func NewRegistrationAPI(ctx context.Context, r chi.Router, opts RegistrationApiOpts)
Types ¶
type RegistrationApiOpts ¶
type RegistrationApiOpts struct { SMTPConfig cfg.SMTPConfig URepo userRepo.UsersRepository MRepo mailRepo.MailVerificationRepository Logger *slog.Logger LogoURL string // This URL should be the path where this code is called, // routes before this code, in format http(s)://example.com/api/v3/user ThisURL string }
Click to show internal directories.
Click to hide internal directories.