handlers

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: None detected not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleBanRecords

func HandleBanRecords(db *pgxpool.Pool) http.HandlerFunc

func HandleBanUser

func HandleBanUser(db *pgxpool.Pool) http.HandlerFunc

func HandleChannelActivity

func HandleChannelActivity(db *pgxpool.Pool) http.HandlerFunc

func HandleChannels

func HandleChannels(db *pgxpool.Pool) http.HandlerFunc

HandleChannels handles creating and fetching channels.

func HandleDiscovery

func HandleDiscovery(identity db.ServerIdentity) http.HandlerFunc

func HandleMessages

func HandleMessages(db *pgxpool.Pool, cache *cache.MessageCache) http.HandlerFunc

func HandleRateLimiter

func HandleRateLimiter(db *pgxpool.Pool, cache *cache.MessageCache) http.HandlerFunc

func HandleRecentActivity

func HandleRecentActivity(db *pgxpool.Pool) http.HandlerFunc

func HandleUsers

func HandleUsers(db *pgxpool.Pool) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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