10 lines
252 B
Go
Executable File
10 lines
252 B
Go
Executable File
package auth
|
|
|
|
import "context"
|
|
|
|
type Repository interface {
|
|
Login(ctx context.Context, dto LoginDTO) (ResLoginDTO, error)
|
|
CheckAdmin(ctx context.Context, id int) (ResLoginDTO, error)
|
|
GetProfile(ctx context.Context, req string) (ResUserDTO, error)
|
|
}
|