Documentation
¶
Index ¶
- Variables
- func DeleteCollectionHandler(appState *models.AppState) http.HandlerFunc
- func DeleteSessionHandler(appState *models.AppState) http.HandlerFunc
- func DeleteUserHandler(appState *models.AppState) http.HandlerFunc
- func GetCollectionListHandler(appState *models.AppState) http.HandlerFunc
- func GetSessionDetailsHandler(appState *models.AppState) http.HandlerFunc
- func GetSessionListHandler(appState *models.AppState) http.HandlerFunc
- func GetSettingsHandler(appState *models.AppState) http.HandlerFunc
- func GetUserDetailsHandler(appState *models.AppState) http.HandlerFunc
- func GetUserListHandler(appState *models.AppState) http.HandlerFunc
- func IndexCollectionHandler(appState *models.AppState) http.HandlerFunc
- func IndexHandler(w http.ResponseWriter, r *http.Request)
- func NotFoundHandler() http.HandlerFunc
- func PostUserDetailsHandler(appState *models.AppState) http.HandlerFunc
- func ViewCollectionHandler(appState *models.AppState) http.HandlerFunc
- type CollectionDetails
- type CollectionList
- type ConfigData
- type SessionDetails
- type SessionList
- type UserFormData
- type UserList
- type UserRow
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DeleteCollectionHandler ¶
func DeleteCollectionHandler(appState *models.AppState) http.HandlerFunc
func DeleteSessionHandler ¶
func DeleteSessionHandler(appState *models.AppState) http.HandlerFunc
func DeleteUserHandler ¶
func DeleteUserHandler(appState *models.AppState) http.HandlerFunc
func GetCollectionListHandler ¶
func GetCollectionListHandler(appState *models.AppState) http.HandlerFunc
func GetSessionDetailsHandler ¶
func GetSessionDetailsHandler(appState *models.AppState) http.HandlerFunc
func GetSessionListHandler ¶
func GetSessionListHandler(appState *models.AppState) http.HandlerFunc
func GetSettingsHandler ¶
func GetSettingsHandler(appState *models.AppState) http.HandlerFunc
func GetUserDetailsHandler ¶
func GetUserDetailsHandler(appState *models.AppState) http.HandlerFunc
func GetUserListHandler ¶
func GetUserListHandler(appState *models.AppState) http.HandlerFunc
func IndexCollectionHandler ¶
func IndexCollectionHandler(appState *models.AppState) http.HandlerFunc
func IndexHandler ¶
func IndexHandler(w http.ResponseWriter, r *http.Request)
func NotFoundHandler ¶
func NotFoundHandler() http.HandlerFunc
func PostUserDetailsHandler ¶
func PostUserDetailsHandler(appState *models.AppState) http.HandlerFunc
func ViewCollectionHandler ¶
func ViewCollectionHandler(appState *models.AppState) http.HandlerFunc
Types ¶
type CollectionDetails ¶
type CollectionDetails struct {
*models.DocumentCollection
}
type CollectionList ¶
type CollectionList struct {
DocumentStore models.DocumentStore[*bun.DB]
Collections []models.DocumentCollection
TotalCount int
Cursor int64
Limit int64
}
func NewCollectionList ¶
func NewCollectionList( documentStore models.DocumentStore[*bun.DB], cursor int64, limit int64, ) *CollectionList
type ConfigData ¶
type SessionDetails ¶
type SessionDetails struct {
MemoryStore models.MemoryStore[*bun.DB]
SessionID string
Session *models.Session
Messages []models.Message
*web.Table
}
func NewSessionDetails ¶
func NewSessionDetails( memoryStore models.MemoryStore[*bun.DB], r *http.Request, sessionID string, ) *SessionDetails
type SessionList ¶
func NewSessionList ¶
func NewSessionList( memoryStore models.MemoryStore[*bun.DB], r *http.Request, userID string, ) *SessionList
type UserFormData ¶
type UserFormData struct {
models.User
MetadataString string
*SessionList
}
Click to show internal directories.
Click to hide internal directories.