handlers

package
v0.0.0-...-d43d553 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

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

AuthHandler ...

func NewAuthHandler

func NewAuthHandler(config *AuthHandlerConfig) *AuthHandler

NewAuthHandler ...

func (*AuthHandler) Login

func (h *AuthHandler) Login(ctx *gin.Context)

func (*AuthHandler) Logout

func (h *AuthHandler) Logout(ctx *gin.Context)

func (*AuthHandler) Register

func (h *AuthHandler) Register(ctx *gin.Context)

type AuthHandlerConfig

type AuthHandlerConfig struct {
	Conf  config.Configs
	Cache cache.ICache
}

AuthHandlerConfig ...

type ItemHandler

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

ItemHandler ...

func NewItemHandler

func NewItemHandler(config *ItemHandlerConfig) *ItemHandler

NewItemHandler ...

func (*ItemHandler) CreateItem

func (h *ItemHandler) CreateItem(ctx *gin.Context)

func (*ItemHandler) DeleteItem

func (h *ItemHandler) DeleteItem(ctx *gin.Context)

func (*ItemHandler) GetItem

func (h *ItemHandler) GetItem(ctx *gin.Context)

func (*ItemHandler) GetItems

func (h *ItemHandler) GetItems(ctx *gin.Context)

func (*ItemHandler) UpdateItem

func (h *ItemHandler) UpdateItem(ctx *gin.Context)

type ItemHandlerConfig

type ItemHandlerConfig struct {
	Conf  config.Configs
	Cache cache.ICache
}

ItemHandlerConfig ...

type ListHandler

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

ListHandler ...

func NewListHandler

func NewListHandler(config *ListHandlerConfig) *ListHandler

NewListHandler ...

func (*ListHandler) CreateList

func (h *ListHandler) CreateList(ctx *gin.Context)

func (*ListHandler) DeleteList

func (h *ListHandler) DeleteList(ctx *gin.Context)

func (*ListHandler) GetListById

func (h *ListHandler) GetListById(ctx *gin.Context)

func (*ListHandler) GetLists

func (h *ListHandler) GetLists(ctx *gin.Context)

func (*ListHandler) UpdateList

func (h *ListHandler) UpdateList(ctx *gin.Context)

type ListHandlerConfig

type ListHandlerConfig struct {
	Conf  config.Configs
	Cache cache.ICache
}

ListHandlerConfig ...

Jump to

Keyboard shortcuts

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