handler

package
v0.0.0-...-fe04de4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	// contains filtered or unexported fields
}

func NewAuth

func NewAuth(
	serviceAuth service.IAuth,
	stateExpirationDuration, jwtExpirationDuration time.Duration,
	siteURL string,
) *Auth

func (*Auth) Begin

func (a *Auth) Begin(ctx *echo.Context) error

Begin

@Tags		auth
@Success	302
@Failure	500	{object}	domain.ErrorWrapper
@Router		/auth/begin [get].

func (*Auth) Complete

func (a *Auth) Complete(ctx *echo.Context) error

Complete

@Tags		auth
@Success	302
@Failure	400	{object}	domain.ErrorWrapper
@Failure	500	{object}	domain.ErrorWrapper
@Router		/auth/complete [get].

type Health

type Health struct{}

func NewHealth

func NewHealth() *Health

func (*Health) Health

func (h *Health) Health(ctx *echo.Context) error

Health

@Tags		health
@Success	200
@Router		/health [get].

type LLM

type LLM struct {
	// contains filtered or unexported fields
}

func NewLLM

func NewLLM(service service.ILLM) *LLM

func (*LLM) Analysis

func (llm *LLM) Analysis(ctx *echo.Context) error

Analysis

@Tags		llm
@Success	200	{object}	[]model.Attribute
@Failure	401	{object}	domain.ErrorWrapper
@Failure	403	{object}	domain.ErrorWrapper
@Failure	500	{object}	domain.ErrorWrapper
@Security	BearerAuth
@Router		/llm/analysis [post].

func (*LLM) FindVacancies

func (llm *LLM) FindVacancies(ctx *echo.Context) error

FindVacancies

@Tags		llm
@Success	200	{object}	[]model.Vacancy
@Failure	401	{object}	domain.ErrorWrapper
@Failure	403	{object}	domain.ErrorWrapper
@Failure	500	{object}	domain.ErrorWrapper
@Security	BearerAuth
@Router		/llm/vacancies [post].

func (*LLM) GenerateCoverLetter

func (llm *LLM) GenerateCoverLetter(ctx *echo.Context) error

GenerateCoverLetter

@Tags		llm
@Param		vacancy	body		model.Vacancy	true	"vacancy"
@Success	200		{object}	model.CoverLetter
@Failure	400		{object}	domain.ErrorWrapper
@Failure	401		{object}	domain.ErrorWrapper
@Failure	403		{object}	domain.ErrorWrapper
@Failure	500		{object}	domain.ErrorWrapper
@Security	BearerAuth
@Router		/llm/generate [post].

type User

type User struct {
	// contains filtered or unexported fields
}

func NewUser

func NewUser(service service.IUser) *User

func (*User) HasProfile

func (u *User) HasProfile(ctx *echo.Context) error

HasProfile

@Tags		user
@Success	204
@Failure	401	{object}	domain.ErrorWrapper
@Failure	403	{object}	domain.ErrorWrapper
@Failure	404	{object}	domain.ErrorWrapper
@Failure	500	{object}	domain.ErrorWrapper
@Security	BearerAuth
@Router		/user/has-profile [get].

func (*User) Me

func (u *User) Me(ctx *echo.Context) error

Me

@Tags		user
@Success	204
@Failure	401	{object}	domain.ErrorWrapper
@Failure	403	{object}	domain.ErrorWrapper
@Security	BearerAuth
@Router		/user/me [get].

func (*User) Profile

func (u *User) Profile(ctx *echo.Context) error

Profile

@Tags		user
@Success	200	{object}	model.Profile
@Failure	401	{object}	domain.ErrorWrapper
@Failure	403	{object}	domain.ErrorWrapper
@Failure	404	{object}	domain.ErrorWrapper
@Failure	500	{object}	domain.ErrorWrapper
@Security	BearerAuth
@Router		/user/profile [get].

func (*User) UpdateProfile

func (u *User) UpdateProfile(ctx *echo.Context) error

UpdateProfile

@Tags		user
@Param		profile	body	model.Profile	true	"profile"
@Success	200
@Failure	400	{object}	domain.ErrorWrapper
@Failure	401	{object}	domain.ErrorWrapper
@Failure	403	{object}	domain.ErrorWrapper
@Failure	500	{object}	domain.ErrorWrapper
@Security	BearerAuth
@Router		/user/profile [post].

Jump to

Keyboard shortcuts

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