Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupRepository ¶
type LoginServiceRepository ¶
type LoginServiceRepository interface { SelectLoginServices() model.LoginServiceList SelectLoginServiceByUuid(string) (model.LoginService, error) InsertLoginService(*model.LoginService) error UpdateLoginService(*model.LoginService) error DeleteLoginServiceByUuid(string) }
type Repository ¶
type Repository interface { User() UserRepository Group() GroupRepository Service() ServiceRepository LoginService() LoginServiceRepository }
func New ¶
func New(dbConfig *mysql.Config) Repository
type ServiceRepository ¶
type ServiceRepository interface { SelectServices() (model.ServciceList, error) SelectServicesByGroup(int) (model.ServciceList, error) SelectServiceByAuth(string, string) (*model.ServiceInfo, error) InsertService(*model.ServiceInsert) error UpdaateServiceByUuid(string, *model.ServiceUpdate) error DeleteServiceByUuid(string) error }
type UserRepository ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.