auth/internal/user/usecase.go

13 lines
250 B
Go
Raw Normal View History

2021-12-29 20:17:33 +00:00
package user
import (
"context"
"source.toby3d.me/toby3d/auth/internal/domain"
2021-12-29 20:17:33 +00:00
)
type UseCase interface {
// Fetch discovery all available endpoints and Profile info on Me URL.
Fetch(ctx context.Context, me *domain.Me) (*domain.User, error)
}