Documentation
¶
Overview ¶
Package remote is the used for the /remote routes. They are intended for requesting data that is not in the Cozy itself, but in a remote place.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
HTTPHandler owns the remote routes that need stack services injected from the main process (for example the RabbitMQ broker for the Nextcloud migration trigger). Stateless routes are wired through the package-level Routes function.
func NewHTTPHandler ¶
func NewHTTPHandler(rmq rabbitmq.Service) *HTTPHandler
NewHTTPHandler builds a handler with the given service dependencies.
Click to show internal directories.
Click to hide internal directories.