controllers

package
v0.0.0-...-061e2a5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 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 ForumController

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

func NewForumController

func NewForumController(log *logrus.Entry, registry *service.Registry) *ForumController

func (*ForumController) CreateForum

func (c *ForumController) CreateForum(ctx echo.Context) error

func (*ForumController) GetForum

func (c *ForumController) GetForum(ctx echo.Context) error

func (*ForumController) GetForumThreads

func (c *ForumController) GetForumThreads(ctx echo.Context) error

func (*ForumController) GetForumUsers

func (c *ForumController) GetForumUsers(ctx echo.Context) error

type PostController

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

func NewPostController

func NewPostController(log *logrus.Entry, registry *service.Registry) *PostController

func (*PostController) CreatePosts

func (c *PostController) CreatePosts(ctx echo.Context) error

func (*PostController) GetPostDetails

func (c *PostController) GetPostDetails(ctx echo.Context) error

func (*PostController) GetPosts

func (c *PostController) GetPosts(ctx echo.Context) error

func (*PostController) UpdatePost

func (c *PostController) UpdatePost(ctx echo.Context) error

type ServiceController

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

func NewServiceController

func NewServiceController(log *logrus.Entry, db *db.Repository) *ServiceController

func (*ServiceController) Clear

func (c *ServiceController) Clear(ctx echo.Context) error

func (*ServiceController) Status

func (c *ServiceController) Status(ctx echo.Context) error

type ThreadController

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

func NewThreadController

func NewThreadController(log *logrus.Entry, registry *service.Registry) *ThreadController

func (*ThreadController) CountVote

func (c *ThreadController) CountVote(ctx echo.Context) error

func (*ThreadController) CreateThread

func (c *ThreadController) CreateThread(ctx echo.Context) error

func (*ThreadController) EditThread

func (c *ThreadController) EditThread(ctx echo.Context) error

func (*ThreadController) GetThread

func (c *ThreadController) GetThread(ctx echo.Context) error

type UserController

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

func NewUserController

func NewUserController(log *logrus.Entry, registry *service.Registry) *UserController

func (*UserController) CreateUser

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

func (*UserController) EditUserProfile

func (c *UserController) EditUserProfile(ctx echo.Context) error

func (*UserController) GetUserProfile

func (c *UserController) GetUserProfile(ctx echo.Context) error

Jump to

Keyboard shortcuts

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