12 lines
304 B
Go
12 lines
304 B
Go
package handler
|
|
|
|
import (
|
|
"context"
|
|
"go-backend-template/internal/contract"
|
|
)
|
|
|
|
type AuthService interface {
|
|
Login(ctx context.Context, req *contract.LoginRequest) (*contract.LoginResponse, error)
|
|
RefreshToken(ctx context.Context, req *contract.RefreshTokenRequest) (*contract.LoginResponse, error)
|
|
}
|