Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
func NewAuthService ¶
func NewAuthService( githubClient *github.Client, tokenService *jwt.TokenService, userRepo repository.UserRepository, ) *AuthService
func (*AuthService) GetAuthURL ¶
func (s *AuthService) GetAuthURL() string
func (*AuthService) HandleCallback ¶
func (*AuthService) RefreshToken ¶
func (s *AuthService) RefreshToken(refreshToken string) (*entity.TokenPair, error)
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(userRepo repository.UserRepository) *UserService
func (*UserService) FetchFollowers ¶
func (s *UserService) FetchFollowers(token string) ([]entity.Follower, error)
Click to show internal directories.
Click to hide internal directories.