Documentation ¶
Overview ¶
*
* * (c) Copyright Ascensio System SIA 2023 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *
*
* * (c) Copyright Ascensio System SIA 2023 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *
*
* * (c) Copyright Ascensio System SIA 2023 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *
*
* * (c) Copyright Ascensio System SIA 2023 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PluginID = integration.Manifest.Id PluginVersion = integration.Manifest.Version )
View Source
var ErrCreateBotProfile = errors.New(_OnlyofficeLoggerPrefix + "could not create bot profile")
View Source
var ErrDeprecatedDocumentServerVersion = errors.New(_OnlyofficeLoggerPrefix + "old document server version")
View Source
var ErrLoadBotProfileImage = errors.New(_OnlyofficeLoggerPrefix + "could not load bot profile image")
View Source
var ErrParseDocumentServerVersion = errors.New(_OnlyofficeLoggerPrefix + "could not parse document server version")
View Source
var ErrSetBotProfileImage = errors.New(_OnlyofficeLoggerPrefix + "could not set bot profile image")
Functions ¶
This section is empty.
Types ¶
type BadConfigurationError ¶
func (*BadConfigurationError) Error ¶
func (e *BadConfigurationError) Error() string
type DocumentServerCommandResponseError ¶
type DocumentServerCommandResponseError struct {
Code int
}
func (*DocumentServerCommandResponseError) Error ¶
func (e *DocumentServerCommandResponseError) Error() string
type InvalidDocumentServerAddressError ¶
type InvalidDocumentServerAddressError struct {
Reason string
}
func (*InvalidDocumentServerAddressError) Error ¶
func (e *InvalidDocumentServerAddressError) Error() string
type Plugin ¶
type Plugin struct { plugin.MattermostPlugin Bot bot.Bot OnlyofficeHelper onlyoffice.OnlyofficeHelper OnlyofficeConverter converter.Converter Encoder crypto.Encoder Manager crypto.JwtManager EditorTemplate *template.Template Filestore filestore.FileBackend // contains filtered or unexported fields }
func (*Plugin) OnActivate ¶
func (*Plugin) OnConfigurationChange ¶
Click to show internal directories.
Click to hide internal directories.