Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutService ¶
type AutService interface {
GetTokenPair(context.Context, structs.IdentityData, config.AuthConfig) (structs.TokenPair, error)
CleanSession(string)
Refresh(string, string, config.AuthConfig) (structs.TokenPair, error)
ChangePassword(context.Context, string, structs.PasswordsContainer, config.AuthConfig) error
}
type AuthHandler ¶
type AuthHandler struct {
Service AutService
AuthConfig config.AuthConfig
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(service AutService, log *logger.Logger, cfg config.AuthConfig) AuthHandler
type CardHandler ¶
type CardHandler struct {
Service CardService
// contains filtered or unexported fields
}
func NewCardsHandler ¶
func NewCardsHandler(service CardService, log *logger.Logger) CardHandler
type CardService ¶
type ContactHandler ¶
type ContactHandler struct {
Service ContactService
// contains filtered or unexported fields
}
func NewContactHandler ¶
func NewContactHandler(service ContactService, log *logger.Logger) ContactHandler
type ContactService ¶
type FeedbackHandler ¶
type FeedbackHandler struct {
Service FeedbackService
// contains filtered or unexported fields
}
func NewFeedbackHandler ¶
func NewFeedbackHandler(service FeedbackService, log *logger.Logger) FeedbackHandler
type FeedbackService ¶
type Handler ¶
type Handler struct {
Card CardHandler
Partner Partner
Slider Slider
Report ReportHandler
Contact ContactHandler
Feedback FeedbackHandler
Auth AuthHandler
}
func NewHandler ¶
type Partner ¶
type Partner struct {
Service PartnerService
// contains filtered or unexported fields
}
func NewPartnerHandler ¶
type PartnerService ¶
type ReportHandler ¶
type ReportHandler struct {
Service ReportService
// contains filtered or unexported fields
}
func NewReportHandler ¶
func NewReportHandler(service ReportService, log *logger.Logger) ReportHandler
type ReportService ¶
type ServiceInterfaces ¶
type ServiceInterfaces interface {
CardService
PartnerService
SliderService
ReportService
ContactService
FeedbackService
AutService
}
type Slider ¶
type Slider struct {
Service SliderService
// contains filtered or unexported fields
}
func NewSliderHandler ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.