handlers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExchangeHandler

type ExchangeHandler struct {
	UseCase usecases.ExchangeUseCase
}

func (*ExchangeHandler) Handler

func (h *ExchangeHandler) Handler() http.HandlerFunc

type SignInHandler

type SignInHandler struct {
	UseCase usecases.SignInUseCase
}

func (*SignInHandler) Handler

func (h *SignInHandler) Handler() http.HandlerFunc

type SignInPayload

type SignInPayload struct {
	Email       string  `json:"email"`
	Name        *string `json:"name,omitempty"`
	CallbackURL *string `json:"callback_url,omitempty"`
}

type VerifyHandler

type VerifyHandler struct {
	UseCase        usecases.VerifyUseCase
	TrustedOrigins []string
}

func (*VerifyHandler) Handler

func (h *VerifyHandler) Handler() http.HandlerFunc

Jump to

Keyboard shortcuts

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