http

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: BSD-2-Clause Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoRouter

type EchoRouter interface {
	AddRoutes(*echo.Echo)
}

func NewRouter

func NewRouter(
	templateHandler TemplateHandler,
	messagemessageHandler MessageHandler,
) EchoRouter

func NewStatelessRouter

func NewStatelessRouter(
	messageHandler MessageHandler,
	providerHandler ProviderHandler,
) EchoRouter

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

type MessageHandler

type MessageHandler interface {
	PostMessage() echo.HandlerFunc
}

func NewMessageHandler

func NewMessageHandler(messageService service.MessageService) MessageHandler

type ProviderHandler

type ProviderHandler interface {
	GetProviderHandler() echo.HandlerFunc
}

func NewProviderHandler

func NewProviderHandler(providerService service.ProviderService) ProviderHandler

type TemplateHandler

type TemplateHandler interface {
	PostTemplate() echo.HandlerFunc
}

func NewTemplateHandler

func NewTemplateHandler(templateService service.TemplateService) TemplateHandler

Jump to

Keyboard shortcuts

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