Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSlotService ¶
func NewSlotService( config *config.SlotConfig, userService interfaces.IUserService, slotRepository interfaces.ISlotRepository, ) interfaces.ISlotService
NewSlotService creates and returns a new instance of slotService.
Parameters:
- config: SlotConfig containing slot game settings.
- userService: UserService for managing user-related operations.
- slotRepository: SlotRepository for handling spin records.
Returns:
- An instance of slotService implementing ISlotService.
func NewUserService ¶
func NewUserService(userRepository interfaces.IUserRepository) interfaces.IUserService
NewUserService creates and returns a new instance of userService with the given user repository.
Parameters:
- userRepository: An implementation of IUserRepository for managing user data.
Returns:
- A new instance of userService implementing IUserService.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.