Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtToken ¶
type JwtToken struct { Token string RefreshToken string Status string CreatedAt time.Time ExpiredAt time.Time UpdatedAt time.Time }
JwtToken session
type LoginRepository ¶
LoginRepository to authentication and authorization methods
type LoginService ¶
LoginService authentication and authorization services
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct handles authentication and authorization business logic task.
func NewService ¶
func NewService(repository LoginRepository) *Service
NewService creates a new service struct
Click to show internal directories.
Click to hide internal directories.