aboutsummaryrefslogtreecommitdiff
path: root/pkg/database/repository/auth.go
blob: b3194956c9c9b0dcefda0d4cc64c297f900479f8 (plain)
1
2
3
4
5
6
7
8
9
10
package repository

import "context"

type (
	AuthRepository interface {
		GetIDByUsername(ctx context.Context, username string) (uint, error)
		GetPassword(ctx context.Context, id uint) ([]byte, error)
	}
)