handler

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyIdValue = errors.New("could not perform current action with an empty id")
View Source
var ErrInvalidContextValue = errors.New("could not extract context value")
View Source
var ErrUnauthorizedAccess = errors.New("unauthorized file access")

Functions

This section is empty.

Types

type ConfigHandler

type ConfigHandler struct {
	// contains filtered or unexported fields
}

func NewConfigHandler

func NewConfigHandler(
	client client.Client,
	boxClient shared.BoxAPI,
	jwtManager crypto.JwtManager,
	hasher crypto.Hasher,
	formatManager format.FormatManager,
	server *config.ServerConfig,
	onlyoffice *shared.OnlyofficeConfig,
	logger plog.Logger,
) ConfigHandler

func (ConfigHandler) BuildConfig

func (c ConfigHandler) BuildConfig(
	ctx context.Context,
	payload request.BoxState,
	res *response.BuildConfigResponse,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL