13 lines
229 B
Go
13 lines
229 B
Go
package service_auth
|
|
|
|
type AuthService interface {
|
|
Exchange(*ExchangePayload) *ExchangeResult
|
|
Magic(*MagicPayload) *MagicResult
|
|
}
|
|
|
|
type AuthServiceImpl struct{}
|
|
|
|
func NewAuthService() AuthService {
|
|
return &AuthServiceImpl{}
|
|
}
|