Versions in this module Expand all Collapse all v0 v0.1.12 Nov 14, 2024 v0.1.11 May 17, 2024 v0.1.10 Feb 23, 2024 v0.1.9 Feb 14, 2024 v0.1.8 Feb 6, 2024 Changes in this version + type DetailUserOutput struct + Connections int + ExpiresAt string + ExpiresDays int + ID int + Limit int + Username string + type DetailUserUseCase struct + func NewDetailUserUseCase(userRepository contract.UserRepository, ...) *DetailUserUseCase + func (c *DetailUserUseCase) Execute(ctx context.Context, username string) (*DetailUserOutput, error) v0.1.7 Feb 6, 2024 v0.1.6 Feb 6, 2024 v0.1.5 Feb 5, 2024 v0.1.4 Feb 5, 2024 v0.1.3 Feb 5, 2024 v0.1.2 Feb 5, 2024 v0.1.1 Feb 4, 2024 Changes in this version type CheckUserOutput + ExpiresDays int v0.0.1 Feb 4, 2024 Changes in this version + type CheckUserOutput struct + Connections int + ExpiresAt string + ID int + Limit int + Username string + type CheckUserUseCase struct + func NewCheckUserUseCase(userRepository contract.UserRepository, ...) *CheckUserUseCase + func (c *CheckUserUseCase) Execute(ctx context.Context, username, deviceID string) (*CheckUserOutput, error) + type CountConnectionsByUsernameUseCase struct + func NewCountConnectionsByUsernameUseCase(connection contract.Connection) *CountConnectionsByUsernameUseCase + func (c *CountConnectionsByUsernameUseCase) Execute(ctx context.Context, username string) int + type CountConnectionsUseCase struct + func NewCountConnectionsUseCase(connection contract.Connection) *CountConnectionsUseCase + func (c *CountConnectionsUseCase) Execute(ctx context.Context) int