logic

package
v0.0.0-...-b34430a Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthLogic

type AuthLogic interface {
	SignIn(c *gin.Context)
	SignUp(c *gin.Context)
	RefreshToken(c *gin.Context)
	SignOut(c *gin.Context)
}

func NewAuthLogic

func NewAuthLogic(
	authConfig configs.Auth,
	usernamesTakenCache cache.UsernamesTaken,
	refreshTokenCache cache.RefreshToken,
	accountGrpc account_grpc.Client,
	tokenLogic token_logic.Token,
	logger *zap.Logger,
) AuthLogic

type UsersLogic

type UsersLogic interface {
	GetMe(c *gin.Context)
}

func NewUsersLogic

func NewUsersLogic(
	accountGrpc account_grpc.Client,
	logger *zap.Logger,
) UsersLogic

Jump to

Keyboard shortcuts

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