controllers

package
v0.0.0-...-46da382 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Friend

type Friend struct {
	FriendId domain.UserId `json:"friendId"`
}

type FriendController

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

func NewFriendController

func NewFriendController(friendRepository *repositories.FriendRepositoryImp) *FriendController

func (*FriendController) AddFriend

func (r *FriendController) AddFriend(c *gin.Context)

func (*FriendController) GetFriends

func (r *FriendController) GetFriends(c *gin.Context)

type RegisterController

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

func NewRegisterController

func NewRegisterController(userRepository *repositories.UserRepositoryImp) *RegisterController

func (*RegisterController) RegisterUser

func (r *RegisterController) RegisterUser(c *gin.Context)

type UserController

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

func NewUserController

func NewUserController(userRepository *repositories.UserRepositoryImp) *UserController

func (*UserController) GetUserProfile

func (r *UserController) GetUserProfile(c *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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