rest

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatroomDTO

type ChatroomDTO struct {
	Chatroom string `json:"chatroom"`
}

type ChatroomsREST

type ChatroomsREST struct {
	// contains filtered or unexported fields
}

func NewChatroomsREST

func NewChatroomsREST(chatroomService service.ChatroomService) ChatroomsREST

func (ChatroomsREST) CreateChatroom

func (c ChatroomsREST) CreateChatroom(cont echo.Context) error

type MessagesREST

type MessagesREST struct {
	// contains filtered or unexported fields
}

func NewMessagesREST

func NewMessagesREST(messageService service.MessageService) MessagesREST

func (MessagesREST) CreateMessage

func (m MessagesREST) CreateMessage(c echo.Context) error

func (MessagesREST) ListMessages

func (m MessagesREST) ListMessages(c echo.Context) error

Jump to

Keyboard shortcuts

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