web

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEditItemPage

func CreateEditItemPage(w io.Writer, params createEditItemParams)

func CreateItemParams

func CreateItemParams(list constants.List, showAdmin bool) createEditItemParams

func CreateListPage

func CreateListPage(w io.Writer, params globalWebParams)

func CreateListParams

func CreateListParams(showAdmin bool) globalWebParams

func CreateUserPage

func CreateUserPage(w io.Writer, params globalWebParams)

func CreateUserParams

func CreateUserParams(showAdmin bool) globalWebParams

func EditItemParams

func EditItemParams(list constants.List, item constants.Item, showAdmin bool) createEditItemParams

func EditListPage

func EditListPage(w io.Writer, params editListParams)

func EditListParams

func EditListParams(list constants.List, showAdmin bool) editListParams

func ListItemsPage

func ListItemsPage(w io.Writer, params listItemsPageParams)

func ListItemsPageParams

func ListItemsPageParams(list constants.List, items []constants.Item, showAdmin bool) listItemsPageParams

func ListsPage

func ListsPage(w io.Writer, params listsPageParams)

func ListsPageParams

func ListsPageParams(lists []constants.List, showAdmin bool) listsPageParams

func LoginPage

func LoginPage(w io.Writer)

func RegisterAdmin

func RegisterAdmin(w io.Writer, params registerAdminParams)

func RegisterAdminParams

func RegisterAdminParams(adminExists bool) registerAdminParams

func SharedList404Page

func SharedList404Page(w io.Writer, params sharedList404PageParams)

func SharedList404PageParams

func SharedList404PageParams(shareCode string) sharedList404PageParams

func SharedListItemsPage

func SharedListItemsPage(w io.Writer, params sharedListItemsPageParams)

func SharedListItemsPageParams

func SharedListItemsPageParams(list constants.List, items []constants.Item, showAdmin bool) sharedListItemsPageParams

func UserAdminPage

func UserAdminPage(w io.Writer, params userAdminPageParams)

func UserAdminPageParams

func UserAdminPageParams(users []constants.UserRead, selfId int, showAdmin bool) userAdminPageParams

Types

This section is empty.

Jump to

Keyboard shortcuts

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