Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { LoadScript(fileName string) error GetRole(name string) (types.Role, error) // Company methods CreateCompany(company *types.Company, user types.CreateUser) (types.User, error) Login(email, password string) (types.User, error) // User methods GetUsers(companyID uuid.UUID) ([]types.User, error) GetUserByID(id, companyID uuid.UUID) (types.User, error) CreateUser(user types.CreateUser) (types.User, error) DeleteUser(id, companyID uuid.UUID) error UpdateUser(user types.CreateUser) error }
Click to show internal directories.
Click to hide internal directories.