auth/internal/user/usecase.go
Maxim Lebedev c7bd73c63a
♻️ Drop HTTP delivery framework
replaced 'valyala/fasthttp' to native 'net/http' package, close #4
2023-01-16 06:43:07 +06:00

13 lines
249 B
Go

package user
import (
"context"
"source.toby3d.me/toby3d/auth/internal/domain"
)
type UseCase interface {
// Fetch discovery all available endpoints and Profile info on Me URL.
Fetch(ctx context.Context, me domain.Me) (*domain.User, error)
}