server

package
v0.0.0-...-4b982e4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(
	cfg *config.ApiConfig,
	h *HandlersGroup,
	m *middleware.Middleware,
	logger *zap.Logger,
) *gin.Engine

Types

type HandlersGroup

type HandlersGroup struct {
	Auth *auth.Handler
	Cat  *category.Handler
	Cmn  *common.Handler
	Tx   *transaction.Handler
	User *user.Handler
}

func NewHandlers

func NewHandlers(authHandler *auth.Handler, catHandler *category.Handler, commonHandler *common.Handler, txHandler *transaction.Handler, userHandler *user.Handler) *HandlersGroup

Jump to

Keyboard shortcuts

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