emoji

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EmojiIDKey is for emoji IDs
	EmojiIDKey = "id"
	// EmojiBasePath is the base path for serving information about Emojis eg https://example.org/emoji
	EmojiWithIDPath = "/" + uris.EmojiPath + "/:" + EmojiIDKey
)

Variables

This section is empty.

Functions

func New

New returns a emoji module

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module implements the FederationModule interface

func (*Module) EmojiGetHandler

func (m *Module) EmojiGetHandler(c *gin.Context)

EmojiGetHandler

func (*Module) Route

func (m *Module) Route(s router.Router) error

Route satisfies the RESTAPIModule interface

Jump to

Keyboard shortcuts

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