user_api

package
v0.0.0-...-4a192ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 12 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL