Documentation ¶
Index ¶
- type EmojiCache
- type Handlers
- func (h *Handlers) GetFileByID(c echo.Context) error
- func (h *Handlers) GetMetaDataByFileID(c echo.Context) error
- func (h *Handlers) GetPublicEmojiCSS(c echo.Context) error
- func (h *Handlers) GetPublicEmojiImage(c echo.Context) error
- func (h *Handlers) GetPublicEmojiJSON(c echo.Context) error
- func (h *Handlers) GetPublicUserIcon(c echo.Context) error
- func (h *Handlers) GetThumbnailByID(c echo.Context) error
- func (h *Handlers) L(c echo.Context) *zap.Logger
- func (h *Handlers) Setup(e *echo.Group)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmojiCache ¶
type EmojiCache struct {
// contains filtered or unexported fields
}
func NewEmojiCache ¶
func NewEmojiCache(repo repository.Repository) *EmojiCache
type Handlers ¶
type Handlers struct { RBAC rbac.RBAC Repo repository.Repository Hub *hub.Hub Logger *zap.Logger SessStore session.Store ChannelManager channel.Manager MessageManager message.Manager FileManager file.Manager Replacer *mutil.Replacer EmojiCache *EmojiCache }
Handlers ハンドラ
func (*Handlers) GetFileByID ¶
GetFileByID GET /files/:fileID
func (*Handlers) GetMetaDataByFileID ¶
GetMetaDataByFileID GET /files/:fileID/meta
func (*Handlers) GetPublicEmojiCSS ¶
GetPublicEmojiCSS GET /public/emoji.css
func (*Handlers) GetPublicEmojiImage ¶
GetPublicEmojiImage GET /public/emoji/{stampID}
func (*Handlers) GetPublicEmojiJSON ¶
GetPublicEmojiJSON GET /public/emoji.json
func (*Handlers) GetPublicUserIcon ¶
GetPublicUserIcon GET /public/icon/{username}
func (*Handlers) GetThumbnailByID ¶
GetThumbnailByID GET /files/:fileID/thumbnail
Click to show internal directories.
Click to hide internal directories.