Documentation ¶
Overview ¶
Package maintenance contains the service for enabling/disabling maintenance mode
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnableMaintenanceModeInput ¶
type EnableMaintenanceModeInput struct {
Message string
}
EnableMaintenanceModeInput is the input for enabling maintenance mode
type Service ¶
type Service interface { GetMaintenanceMode(ctx context.Context) (*models.MaintenanceMode, error) EnableMaintenanceMode(ctx context.Context, input *EnableMaintenanceModeInput) (*models.MaintenanceMode, error) DisableMaintenanceMode(ctx context.Context) error }
Service is the interface for the maintenance service
Click to show internal directories.
Click to hide internal directories.