apis

package
v0.0.0-...-b0605db Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(service *Service, store *gorilla.CookieStore, logger *zap.Logger) *Handler

func (*Handler) LoginPage

func (h *Handler) LoginPage(c echo.Context) error

func (*Handler) LoginSubmitForm

func (h *Handler) LoginSubmitForm(c echo.Context) error

func (*Handler) MainPage

func (h *Handler) MainPage(c echo.Context) error

type Service

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

func NewService

func NewService(pool *clients.GRPCClients, logger *zap.Logger) *Service

func (*Service) Login

func (s *Service) Login(ctx context.Context, email, password string) (string, error)

Jump to

Keyboard shortcuts

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