util

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Script = "script"
	Style  = "style"
)

Variables

This section is empty.

Functions

func Deduplicate

func Deduplicate(a []string) []string

func GetAtlassianConnectURLPath

func GetAtlassianConnectURLPath() string

func GetBodyForExcerpt added in v1.4.0

func GetBodyForExcerpt(htmlBodyValue string) string

func GetConfluenceServerWebhookURLPath

func GetConfluenceServerWebhookURLPath() string

func GetKeyHash

func GetKeyHash(key string) string

GetKeyHash can be used to create a hash from a string

func GetPluginKey

func GetPluginKey() string

func GetPluginURL

func GetPluginURL() string

func GetPluginURLPath

func GetPluginURLPath() string

func GetSiteURL

func GetSiteURL() string

func GetUsernameOrAnonymousName added in v1.4.0

func GetUsernameOrAnonymousName(username string) string

func IsSystemAdmin

func IsSystemAdmin(userID string) bool

func SplitArgs

func SplitArgs(s string) ([]string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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