Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewMessageService = wire.NewSet(wire.Struct(new(MessageService), "*"), wire.Bind(new(IMessageService), new(*MessageService)))
View Source
var NewUserService = wire.NewSet(wire.Struct(new(UserService), "*"), wire.Bind(new(IUserService), new(*UserService)))
Functions ¶
This section is empty.
Types ¶
type IMessageService ¶
type IUserService ¶
type MessageService ¶
type MessageService struct { MessageRepository repositories.IMessageRepository UserRepository repositories.IUserRepository }
func (*MessageService) ListMessages ¶
func (s *MessageService) ListMessages(ctx *fiber.Ctx) error
func (*MessageService) PostMessage ¶
func (s *MessageService) PostMessage(ctx *fiber.Ctx) error
type UserService ¶
type UserService struct {
UserRepository repositories.IUserRepository
}
func (*UserService) AuthenticateUser ¶
func (s *UserService) AuthenticateUser(ctx *fiber.Ctx) error
func (*UserService) Signup ¶
func (s *UserService) Signup(ctx *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.