Documentation
¶
Index ¶
- type AccountGroupService
- func (a *AccountGroupService) Delete(accountId int64, id int64) bool
- func (a *AccountGroupService) FindByAccount(accountId int64) []*models.AccountGroup
- func (a *AccountGroupService) FindDefault(accountId int64) (*models.AccountGroup, error)
- func (a *AccountGroupService) FindOne(accountId int64, id int64) *models.AccountGroup
- func (a *AccountGroupService) Save(accountGroup *models.AccountGroup) *models.AccountGroup
- func (a *AccountGroupService) Update(accountGroup *models.AccountGroup) error
- type AccountService
- type ApiKeyService
- type AuthService
- type DataStreamGroupService
- func (a *DataStreamGroupService) Delete(accountId int64, projectId int64, id int64) bool
- func (a *DataStreamGroupService) FindByProject(accountId int64, projectId int64) []*models.DataStreamGroup
- func (a *DataStreamGroupService) FindOne(accountId int64, projectId int64, id int64) *models.DataStreamGroup
- func (a *DataStreamGroupService) Save(dataStreamGroup *models.DataStreamGroup) *models.DataStreamGroup
- func (a *DataStreamGroupService) Update(dataStreamGroups *models.DataStreamGroup) error
- type DataStreamService
- func (a *DataStreamService) Delete(accountId int64, projectId int64, dataStreamGroupId int64, id int64) bool
- func (a *DataStreamService) FindByProject(accountId int64, projectId int64, dataStreamGroupId int64) []*models.DataStream
- func (a *DataStreamService) FindOne(accountId int64, projectId int64, dataStreamGroupId int64, id int64) *models.DataStream
- func (a *DataStreamService) Save(dataStream *models.DataStream) *models.DataStream
- func (a *DataStreamService) Update(dataStream *models.DataStream) error
- type ProjectService
- func (a *ProjectService) Delete(accountId int64, id int64) bool
- func (a *ProjectService) FindByAccount(accountId int64) []*models.Project
- func (a *ProjectService) FindOne(accountId int64, id int64) *models.Project
- func (a *ProjectService) Save(project *models.Project) *models.Project
- func (a *ProjectService) Update(project *models.Project) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountGroupService ¶
type AccountGroupService struct { }
func (*AccountGroupService) Delete ¶
func (a *AccountGroupService) Delete(accountId int64, id int64) bool
func (*AccountGroupService) FindByAccount ¶
func (a *AccountGroupService) FindByAccount(accountId int64) []*models.AccountGroup
func (*AccountGroupService) FindDefault ¶
func (a *AccountGroupService) FindDefault(accountId int64) (*models.AccountGroup, error)
func (*AccountGroupService) FindOne ¶
func (a *AccountGroupService) FindOne(accountId int64, id int64) *models.AccountGroup
func (*AccountGroupService) Save ¶
func (a *AccountGroupService) Save(accountGroup *models.AccountGroup) *models.AccountGroup
func (*AccountGroupService) Update ¶
func (a *AccountGroupService) Update(accountGroup *models.AccountGroup) error
type AccountService ¶
type AccountService struct { }
func (*AccountService) Delete ¶
func (a *AccountService) Delete(id int64) bool
func (*AccountService) FindAll ¶
func (a *AccountService) FindAll() []*models.Account
type ApiKeyService ¶
type ApiKeyService struct { }
type AuthService ¶
type AuthService struct { }
func (*AuthService) FindByAccountGroup ¶
func (l *AuthService) FindByAccountGroup(accountGroupId int64) []*models.Login
func (*AuthService) FindByEmail ¶
func (l *AuthService) FindByEmail(email string) []*models.Login
type DataStreamGroupService ¶
type DataStreamGroupService struct { }
func (*DataStreamGroupService) Delete ¶
func (a *DataStreamGroupService) Delete(accountId int64, projectId int64, id int64) bool
func (*DataStreamGroupService) FindByProject ¶
func (a *DataStreamGroupService) FindByProject(accountId int64, projectId int64) []*models.DataStreamGroup
func (*DataStreamGroupService) FindOne ¶
func (a *DataStreamGroupService) FindOne(accountId int64, projectId int64, id int64) *models.DataStreamGroup
func (*DataStreamGroupService) Save ¶
func (a *DataStreamGroupService) Save(dataStreamGroup *models.DataStreamGroup) *models.DataStreamGroup
func (*DataStreamGroupService) Update ¶
func (a *DataStreamGroupService) Update(dataStreamGroups *models.DataStreamGroup) error
type DataStreamService ¶
type DataStreamService struct { }
func (*DataStreamService) FindByProject ¶
func (a *DataStreamService) FindByProject(accountId int64, projectId int64, dataStreamGroupId int64) []*models.DataStream
func (*DataStreamService) FindOne ¶
func (a *DataStreamService) FindOne(accountId int64, projectId int64, dataStreamGroupId int64, id int64) *models.DataStream
func (*DataStreamService) Save ¶
func (a *DataStreamService) Save(dataStream *models.DataStream) *models.DataStream
func (*DataStreamService) Update ¶
func (a *DataStreamService) Update(dataStream *models.DataStream) error
type ProjectService ¶
type ProjectService struct { }
func (*ProjectService) FindByAccount ¶
func (a *ProjectService) FindByAccount(accountId int64) []*models.Project
func (*ProjectService) FindOne ¶
func (a *ProjectService) FindOne(accountId int64, id int64) *models.Project
Click to show internal directories.
Click to hide internal directories.