endpoints

package
v0.0.0-...-d78d6f0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexEndpoint

type IndexEndpoint struct {
	Database *sqlx.DB
}

func (*IndexEndpoint) HandleIndex

func (e *IndexEndpoint) HandleIndex(c echo.Context) error

type IndexTemplate

type IndexTemplate struct {
	Messages []chat.Message
}

type MessageTemplate

type MessageTemplate struct {
	Message chat.Message
}

type MessagesEndpoint

type MessagesEndpoint struct {
	Database *sqlx.DB
}

func (*MessagesEndpoint) HandlePost

func (e *MessagesEndpoint) HandlePost(c echo.Context) error

Jump to

Keyboard shortcuts

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