Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserAPI ¶
func NewUserAPI(ctx context.Context, r chi.Router, opts UserApiOpts)
Types ¶
type UserApiOpts ¶
type UserApiOpts 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 ThisURL string }
Click to show internal directories.
Click to hide internal directories.