Documentation
¶
Overview ¶
SPDX-License-Identifier: AGPL-3.0-or-later
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceInfo ¶
type ServiceInfo struct {
Name string
Icon string // Simple Icons CDN URL for SVG icon
Type string // "docs", "sheets", "notes", "wiki", etc.
Referrer string // Original referrer parameter value
}
ServiceInfo contains information about a detected service
func DetectServiceFromReferrer ¶
func DetectServiceFromReferrer(referrerParam string) *ServiceInfo
DetectServiceFromReferrer detects the service from a 'referrer' parameter
Click to show internal directories.
Click to hide internal directories.