handler

package
v0.0.0-...-293b262 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 11 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.Service) (handler *Handler)

func (*Handler) AuthArticleBodyUsername

func (h *Handler) AuthArticleBodyUsername(ctx *gin.Context)

func (*Handler) AuthOwnership

func (h *Handler) AuthOwnership(ctx *gin.Context)

func (*Handler) AuthRefreshTokenExists

func (h *Handler) AuthRefreshTokenExists(ctx *gin.Context)

func (*Handler) AuthUsernameParam

func (h *Handler) AuthUsernameParam(ctx *gin.Context)

func (*Handler) AuthValidToken

func (h *Handler) AuthValidToken(ctx *gin.Context)

func (*Handler) InitRoutes

func (h *Handler) InitRoutes() *gin.Engine

func (*Handler) LoadArticleCache

func (h *Handler) LoadArticleCache(ctx *gin.Context)

func (*Handler) LoadUserCache

func (h *Handler) LoadUserCache(ctx *gin.Context)

func (*Handler) UploadArticleCache

func (h *Handler) UploadArticleCache(ctx *gin.Context)

func (*Handler) UploadUserCache

func (h *Handler) UploadUserCache(ctx *gin.Context)

Jump to

Keyboard shortcuts

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