delivery

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	r infrastructure.Router,
	c chat.ChatUseCase,
) (http.Handler, error)

Types

type ChatHandler

type ChatHandler struct {
	handler.Handler
	// contains filtered or unexported fields
}

func NewChatHandler

func NewChatHandler(
	chatUseCase chat.ChatUseCase,
) (*ChatHandler, error)

func (*ChatHandler) CreateChat

func (h *ChatHandler) CreateChat(
	rw http.ResponseWriter,
	r *http.Request,
) models.RequestResult

Jump to

Keyboard shortcuts

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