merch-api/pkg/router/interfaces.go

12 lines
234 B
Go
Raw Normal View History

2026-03-21 15:22:00 +03:00
package router
import "context"
type UserProvider interface {
GetUserId(ctx context.Context, userUuid string) (int64, error)
}
type AuthChecker interface {
2026-04-01 17:48:12 +03:00
VerifySession(ctx context.Context, sessionUuid string) (string, error)
2026-03-21 15:22:00 +03:00
}