controllers

package
v0.0.0-...-0064678 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

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

func NewAuthController

func NewAuthController(log *logrus.Entry, registry *service.Registry, rep cl.AuthRepository) *AuthController

func (*AuthController) LoginUser

func (c *AuthController) LoginUser(ctx echo.Context) error

func (*AuthController) LogoutUser

func (c *AuthController) LogoutUser(ctx echo.Context) error

func (*AuthController) SignupUser

func (c *AuthController) SignupUser(ctx echo.Context) error

type ChatController

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

func NewChatController

func NewChatController(log *logrus.Entry, repo *db.Repository, registry *service.Registry) *ChatController

func (*ChatController) CreateChat

func (c *ChatController) CreateChat(ctx echo.Context) error

func (*ChatController) GetDialog

func (c *ChatController) GetDialog(ctx echo.Context) error

func (*ChatController) GetDialogByUserID

func (c *ChatController) GetDialogByUserID(ctx echo.Context) error

func (*ChatController) GetDialogs

func (c *ChatController) GetDialogs(ctx echo.Context) error

func (*ChatController) WsHandler

func (c *ChatController) WsHandler(ctx echo.Context) error

type CommentController

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

func NewCommentController

func NewCommentController(log *logrus.Entry, registry *service.Registry) *CommentController

func (*CommentController) CreateComment

func (c *CommentController) CreateComment(ctx echo.Context) error

func (*CommentController) DeleteComment

func (c *CommentController) DeleteComment(ctx echo.Context) error

func (*CommentController) EditComment

func (c *CommentController) EditComment(ctx echo.Context) error

func (*CommentController) GetComments

func (c *CommentController) GetComments(ctx echo.Context) error

type CommunityController

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

func NewCommunityController

func NewCommunityController(log *logrus.Entry, registry *service.Registry) *CommunityController

func (*CommunityController) CreateCommunity

func (c *CommunityController) CreateCommunity(ctx echo.Context) error

func (*CommunityController) CreatePostCommunity

func (c *CommunityController) CreatePostCommunity(ctx echo.Context) error

func (*CommunityController) DeleteCommunity

func (c *CommunityController) DeleteCommunity(ctx echo.Context) error

func (*CommunityController) DeletePostCommunity

func (c *CommunityController) DeletePostCommunity(ctx echo.Context) error

func (*CommunityController) EditCommunity

func (c *CommunityController) EditCommunity(ctx echo.Context) error

func (*CommunityController) EditPostCommunity

func (c *CommunityController) EditPostCommunity(ctx echo.Context) error

func (*CommunityController) GetCommunities

func (c *CommunityController) GetCommunities(ctx echo.Context) error

func (*CommunityController) GetCommunity

func (c *CommunityController) GetCommunity(ctx echo.Context) error

func (*CommunityController) GetCommunityPosts

func (c *CommunityController) GetCommunityPosts(ctx echo.Context) error

func (*CommunityController) GetFollowers

func (c *CommunityController) GetFollowers(ctx echo.Context) error

func (*CommunityController) GetMutualFriends

func (c *CommunityController) GetMutualFriends(ctx echo.Context) error

func (*CommunityController) GetUserCommunities

func (c *CommunityController) GetUserCommunities(ctx echo.Context) error

func (*CommunityController) GetUserManageCommunities

func (c *CommunityController) GetUserManageCommunities(ctx echo.Context) error

func (*CommunityController) JoinCommunity

func (c *CommunityController) JoinCommunity(ctx echo.Context) error

func (*CommunityController) LeaveCommunity

func (c *CommunityController) LeaveCommunity(ctx echo.Context) error

func (*CommunityController) SearchCommunities

func (c *CommunityController) SearchCommunities(ctx echo.Context) error

func (*CommunityController) UpdatePhotoCommunity

func (c *CommunityController) UpdatePhotoCommunity(ctx echo.Context) error

type FileController

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

func NewFileController

func NewFileController(log *logrus.Entry, registry *service.Registry) *FileController

func (*FileController) GetFile

func (c *FileController) GetFile(ctx echo.Context) error

func (*FileController) UploadFile

func (c *FileController) UploadFile(ctx echo.Context) error

type FriendsController

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

func NewFriendsController

func NewFriendsController(log *logrus.Entry, registry *service.Registry) *FriendsController

func (*FriendsController) AcceptRequest

func (c *FriendsController) AcceptRequest(ctx echo.Context) error

func (*FriendsController) DeleteFriend

func (c *FriendsController) DeleteFriend(ctx echo.Context) error

func (*FriendsController) GetFriends

func (c *FriendsController) GetFriends(ctx echo.Context) error

func (*FriendsController) GetIncomingRequests

func (c *FriendsController) GetIncomingRequests(ctx echo.Context) error

func (*FriendsController) GetOutcomingRequests

func (c *FriendsController) GetOutcomingRequests(ctx echo.Context) error

func (*FriendsController) RevokeRequest

func (c *FriendsController) RevokeRequest(ctx echo.Context) error

func (*FriendsController) SendRequest

func (c *FriendsController) SendRequest(ctx echo.Context) error

type LikeController

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

func NewLikeController

func NewLikeController(log *logrus.Entry, registry *service.Registry) *LikeController

func (*LikeController) GetLikePhoto

func (c *LikeController) GetLikePhoto(ctx echo.Context) error

func (*LikeController) GetLikePost

func (c *LikeController) GetLikePost(ctx echo.Context) error

func (*LikeController) IncreaseLike

func (c *LikeController) IncreaseLike(ctx echo.Context) error

func (*LikeController) ReduceLike

func (c *LikeController) ReduceLike(ctx echo.Context) error

type OAuthController

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

func NewOAuthController

func NewOAuthController(log *logrus.Entry, registry *service.Registry) *OAuthController

func (*OAuthController) AuthenticateThroughTelergam

func (c *OAuthController) AuthenticateThroughTelergam(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) CreatePost

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

func (*PostController) DeletePost

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

func (*PostController) EditPost

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

func (*PostController) GetPost

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

type StaticController

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

func NewStaticController

func NewStaticController(log *logrus.Entry, registry *service.Registry) *StaticController

func (*StaticController) UploadImage

func (c *StaticController) UploadImage(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) EditProfile

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

func (*UserController) GetFeed

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

func (*UserController) GetProfile

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

func (*UserController) GetUserData

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

func (*UserController) GetUserPosts

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

func (*UserController) SearchUsers

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

func (*UserController) UpdatePhoto

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

Jump to

Keyboard shortcuts

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