web

package
v0.0.0-...-0f7ec88 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RedirectTo

func RedirectTo(path string) func(c echo.Context) error

Types

type Option

type Option func(a *WebApp)

func WithApp

func WithApp(app interfaces.App) Option

func WithConfig

func WithConfig(config *env.Config) Option

func WithEcho

func WithEcho(e *echo.Echo) Option

type WebApp

type WebApp struct {
	*echo.Echo
	// contains filtered or unexported fields
}

func NewWebApp

func NewWebApp(opts ...Option) *WebApp

func (*WebApp) RegisterRoutes

func (w *WebApp) RegisterRoutes()

func (*WebApp) Start

func (w *WebApp) Start() error

func (*WebApp) Stop

func (w *WebApp) Stop() error

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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