17 строки
447 B
Go
17 строки
447 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package platform
|
|
|
|
// ServiceConfig is used to initialize the PlatformService.
|
|
// The mandatory fields will be checked during the initialization of the service.
|
|
type ServiceConfig struct {
|
|
// Mandatory fields
|
|
// Optional fields
|
|
}
|
|
|
|
func (c *ServiceConfig) validate() error {
|
|
// Mandatory fields need to be checked here
|
|
return nil
|
|
}
|