Documentation
¶
Overview ¶
Package plugin_matrixsearchfilter a plugin to rewrite response body of matrix user search.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
LastModified bool `json:"lastModified,omitempty"`
UserIDRegex string `json:"userIdRegex,omitempty"`
}
Config holds the plugin configuration.
func CreateConfig ¶
func CreateConfig() *Config
CreateConfig creates and initializes the plugin configuration.
type MatrixSearchResult ¶
type MatrixSearchResult struct {
Limited bool `json:"limited"`
Results []MatrixUser `json:"results"`
}
MatrixSearchResult returned in the HTTP response.
type MatrixUser ¶
type MatrixUser struct {
AvatarURL string `json:"avatar_url,omitempty"`
DisplayName string `json:"display_name,omitempty"`
UserID string `json:"user_id"`
}
MatrixUser holds a matrix user search result.
Click to show internal directories.
Click to hide internal directories.