Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTValidator ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
func NewMockService ¶
func NewMockService() *MockService
func (*MockService) AddUser ¶
func (m *MockService) AddUser(input models.User)
func (*MockService) DeleteUser ¶
func (m *MockService) DeleteUser(id string)
func (*MockService) GetUserByID ¶
func (m *MockService) GetUserByID(id string) (models.User, error)
func (*MockService) Register ¶
func (m *MockService) Register(input models.RegisterAPI) (string, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(db database.Repository) *Service
Click to show internal directories.
Click to hide internal directories.