mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-23 11:41:35 +00:00
19 lines
511 B
Go
19 lines
511 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package model
|
|
|
|
type FeatureFlags struct {
|
|
// Exists only for unit and manual testing.
|
|
// When set to a value, will be returned by the ping endpoint.
|
|
TestFeature string
|
|
|
|
// Toggle on and off scheduled jobs for cloud user limit emails see MM-29999
|
|
CloudDelinquentEmailJobsEnabled bool
|
|
}
|
|
|
|
func (f *FeatureFlags) SetDefaults() {
|
|
f.TestFeature = "off"
|
|
f.CloudDelinquentEmailJobsEnabled = false
|
|
}
|