Documentation ¶
Index ¶
- type DefaultInstallationService
- func (s DefaultInstallationService) Delete(ctx context.Context, installationId string) error
- func (s DefaultInstallationService) GetInstallations(ctx context.Context, installationIds []string) ([]interfaces.Installation, error)
- func (s DefaultInstallationService) Register(ctx context.Context, installation interfaces.Installation) (res *interfaces.RegisterResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultInstallationService ¶
type DefaultInstallationService struct {
// contains filtered or unexported fields
}
func NewInstallationsService ¶
func NewInstallationsService(logger *zap.Logger, db *bun.DB) *DefaultInstallationService
func (DefaultInstallationService) Delete ¶
func (s DefaultInstallationService) Delete(ctx context.Context, installationId string) error
func (DefaultInstallationService) GetInstallations ¶
func (s DefaultInstallationService) GetInstallations(ctx context.Context, installationIds []string) ([]interfaces.Installation, error)
func (DefaultInstallationService) Register ¶
func (s DefaultInstallationService) Register(ctx context.Context, installation interfaces.Installation) (res *interfaces.RegisterResponse, err error)
Click to show internal directories.
Click to hide internal directories.