echo

package
v0.0.0-...-4ad1eb6 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Redirect

func Redirect(url string) func(ctx echo.Context) error

Types

type App

type App struct {
	Addr string
	// contains filtered or unexported fields
}

func NewApp

func NewApp(echo *echo.Echo, addr string) *App

func (*App) BindRoutes

func (a *App) BindRoutes(h RouteHandler)

func (*App) Serve

func (a *App) Serve() error

Serve start listening at addr @title Stock-Data API @description api to display stock data of imported exchanges and symbols @BasePath /

type RouteHandler

type RouteHandler interface {
	Bind(e *echo.Echo)
}

Jump to

Keyboard shortcuts

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