handler

package
v0.0.0-...-172868c Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelloWord

func HelloWord(w http.ResponseWriter, r *http.Request)

Types

type AuthHandler

type AuthHandler interface {
	RegisterCompany(w http.ResponseWriter, r *http.Request)
	LogInCompany(w http.ResponseWriter, r *http.Request)
	RegisterUser(w http.ResponseWriter, r *http.Request)
	LogInUser(w http.ResponseWriter, r *http.Request)
	Me(w http.ResponseWriter, r *http.Request)
}

func NewAuthHandler

func NewAuthHandler(
	companyUseCase usecase.CompanyUseCase,
	userUseCase usecase.UserUseCase,
) AuthHandler

type CompanyHandler

type CompanyHandler interface {
	AddAddress(w http.ResponseWriter, r *http.Request)
	DeleteAddress(w http.ResponseWriter, r *http.Request)
	AddPosition(w http.ResponseWriter, r *http.Request)
	UpdatePositionStatus(w http.ResponseWriter, r *http.Request)
	UpdatePositionResponsibilities(w http.ResponseWriter, r *http.Request)
	UpdatePositionRequirements(w http.ResponseWriter, r *http.Request)
	UpdatePosition(w http.ResponseWriter, r *http.Request)
	DeletePosition(w http.ResponseWriter, r *http.Request)
}

func NewCompanyHandler

func NewCompanyHandler(
	companyUseCase usecase.CompanyUseCase,
) CompanyHandler

type PositionTypeHandler

type PositionTypeHandler interface {
	List(w http.ResponseWriter, r *http.Request)
}

func NewPositionTypeHandler

func NewPositionTypeHandler(positionTypeRepo repository.PositionTypeRepo) PositionTypeHandler

type ResumeHandler

type ResumeHandler interface {
	List(w http.ResponseWriter, r *http.Request)
	Create(w http.ResponseWriter, r *http.Request)
	UpdateBasicInfo(w http.ResponseWriter, r *http.Request)
	UpdateAboutMe(w http.ResponseWriter, r *http.Request)
	UpdateCitizenship(w http.ResponseWriter, r *http.Request)
	UpdateTags(w http.ResponseWriter, r *http.Request)
	UpdateEducation(w http.ResponseWriter, r *http.Request)
	UpdateExperience(w http.ResponseWriter, r *http.Request)
	UpdateDesiredPosition(w http.ResponseWriter, r *http.Request)
	Delete(w http.ResponseWriter, r *http.Request)
	DeleteEducation(w http.ResponseWriter, r *http.Request)
	DeleteExperience(w http.ResponseWriter, r *http.Request)
}

func NewResumeHandler

func NewResumeHandler(
	resumeUseCase usecase.ResumeUseCase,
	resumeRepository repository.ResumeRepo,
) ResumeHandler

type ResumeStatusHandler

type ResumeStatusHandler interface {
	List(w http.ResponseWriter, r *http.Request)
}

func NewResumeStatusHandler

func NewResumeStatusHandler(resumeStatusRepo repository.ResumeStatusRepo) ResumeStatusHandler

type SpecializationHandler

type SpecializationHandler interface {
	List(w http.ResponseWriter, r *http.Request)
}

func NewSpecializationHandler

func NewSpecializationHandler(specializationRepo repository.SpecializationRepo) SpecializationHandler

type UserHandler

type UserHandler interface {
	UpdateUserData(w http.ResponseWriter, r *http.Request)
	GetLinkResetPassword(w http.ResponseWriter, r *http.Request)
	ResetPassword(w http.ResponseWriter, r *http.Request)
}

func NewUserHandler

func NewUserHandler(userUseCase usecase.UserUseCase) UserHandler

Jump to

Keyboard shortcuts

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