Documentation
¶
Overview ¶
Package internal provides shared helpers used across gomatrixserverlib packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithLogger ¶
ContextWithLogger creates a new context, which will use the given logger.
func GetLogger ¶
GetLogger retrieves the logrus logger from the supplied context. Always returns a logger, even if there wasn't one originally supplied.
func RandomString ¶
RandomString generates a pseudo-random alphanumeric string of length n.
func UniqueStrings ¶
UniqueStrings turns a list of strings into a sorted list of unique strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.