controller

package
v0.0.0-...-459d073 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostController

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

func NewPostController

func NewPostController(service services.InterfacePostService, redis *redis.Client) *PostController

func (*PostController) CreatePost

func (p *PostController) CreatePost(c echo.Context) error

func (*PostController) GetAllPost

func (p *PostController) GetAllPost(c echo.Context) error

func (*PostController) GetPost

func (p *PostController) GetPost(c echo.Context) error

func (*PostController) MyPost

func (p *PostController) MyPost(c echo.Context) error

func (*PostController) SearchPost

func (p *PostController) SearchPost(c echo.Context) error

type UserController

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

func NewUserController

func NewUserController(service services.InterfaceUserService, redis *redis.Client) *UserController

func (*UserController) CreateUser

func (u *UserController) CreateUser(c echo.Context) error

func (*UserController) GetAllUser

func (u *UserController) GetAllUser(c echo.Context) error

func (*UserController) GetUserByUsername

func (u *UserController) GetUserByUsername(c echo.Context) error

func (*UserController) Login

func (u *UserController) Login(c echo.Context) error

func (*UserController) SearchUser

func (u *UserController) SearchUser(c echo.Context) error

func (*UserController) UpdatePassword

func (u *UserController) UpdatePassword(c echo.Context) error

func (*UserController) UpdateProfile

func (u *UserController) UpdateProfile(c echo.Context) error

func (*UserController) UserProfile

func (u *UserController) UserProfile(c echo.Context) error

Jump to

Keyboard shortcuts

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