templates

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chat

func Chat(user *user.User, room *chat.Room, cErr *chat.Error) templ.Component

func ChatFooter

func ChatFooter() templ.Component

func ChatForm

func ChatForm(cErr *chat.Error) templ.Component

func ChatGlobalError added in v0.2.0

func ChatGlobalError(cErr *chat.Error) templ.Component

func ChatHeader

func ChatHeader(numUsers uint64, userName string) templ.Component

func ChatHeaderNumUsers

func ChatHeaderNumUsers(numUsers uint64) templ.Component

func ChatMessage

func ChatMessage(user *user.User, message *chat.Message) templ.Component

func ChatMessageWrapped

func ChatMessageWrapped(user *user.User, message *chat.Message) templ.Component

func ChatMessages

func ChatMessages(user *user.User, messages []*chat.Message) templ.Component

func Page

func Page(user *user.User, room *chat.Room, cErr *chat.Error) templ.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

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