handler

package
v0.0.0-...-6643502 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: GPL-3.0 Imports: 9 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
}

func NewUsersHandler

func NewUsersHandler(cfg *config.Config) *AuthHandler

func (*AuthHandler) Login

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

func (*AuthHandler) Register

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

type PostsHandler

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

func NewPostsHandler

func NewPostsHandler(cfg *config.Config) *PostsHandler

func (*PostsHandler) CreatePost

func (p *PostsHandler) CreatePost(c *gin.Context)

func (*PostsHandler) DeletePost

func (p *PostsHandler) DeletePost(c *gin.Context)

func (*PostsHandler) Get

func (p *PostsHandler) Get(c *gin.Context)

func (*PostsHandler) GetAllPost

func (p *PostsHandler) GetAllPost(c *gin.Context)

func (*PostsHandler) UpdatePost

func (p *PostsHandler) UpdatePost(c *gin.Context)

Jump to

Keyboard shortcuts

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