Documentation ¶
Index ¶
- type Config
- type Handlers
- func (h *Handlers) AddFriend(c *fiber.Ctx) error
- func (h *Handlers) ChatCreate(c *fiber.Ctx) error
- func (h *Handlers) ChatPostMessage(c *fiber.Ctx) error
- func (h *Handlers) DeleteFriend(c *fiber.Ctx) error
- func (h *Handlers) GetChatMessages(c *fiber.Ctx) error
- func (h *Handlers) GetFriends(c *fiber.Ctx) error
- func (h *Handlers) GetPostById(c *fiber.Ctx) error
- func (h *Handlers) GetUserChats(c *fiber.Ctx) error
- func (h *Handlers) Login(c *fiber.Ctx) error
- func (h *Handlers) PersonalFeed(c *fiber.Ctx) error
- func (h *Handlers) PublishPost(c *fiber.Ctx) error
- func (h *Handlers) Register(c *fiber.Ctx) error
- func (h *Handlers) SearchProfile(c *fiber.Ctx) error
- func (h *Handlers) UpdateProfile(c *fiber.Ctx) error
- func (h *Handlers) UserInfo(c *fiber.Ctx) error
- func (h *Handlers) UsersGet(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct { Logger *logrus.Logger Storage storage.UserService AuthService storage.UserService Config Config Queue *queue.Service ChatApi chat_api.ChatServiceClient }
func (*Handlers) ChatCreate ¶
func (*Handlers) ChatPostMessage ¶
func (*Handlers) DeleteFriend ¶
func (*Handlers) GetChatMessages ¶
func (*Handlers) GetFriends ¶
func (*Handlers) GetPostById ¶
GetPostById Получение поста по его Id
func (*Handlers) GetUserChats ¶
func (*Handlers) PersonalFeed ¶
func (*Handlers) PublishPost ¶
PublishPost Публикация новой записи
func (*Handlers) SearchProfile ¶
func (*Handlers) UpdateProfile ¶
Click to show internal directories.
Click to hide internal directories.