Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAuthService ¶
type IAuthService interface { Authenticate(credentials *dto.Credentials) (interface{}, error) IsAuthorized(authorizationData *dto.AuthorizationData) (bool, error) }
type MockAuthService ¶
func (*MockAuthService) Authenticate ¶
func (m *MockAuthService) Authenticate(credentials *dto.Credentials) (interface{}, error)
func (*MockAuthService) IsAuthorized ¶
func (m *MockAuthService) IsAuthorized(authorizationData *dto.AuthorizationData) (bool, error)
Click to show internal directories.
Click to hide internal directories.