startup

package
v0.1.220-echo.5 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-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 IStartup

type IStartup interface {
	SetContainer(container di.Container)
	GetOptions() *Options
	GetConfigOptions() *core_contracts.ConfigOptions
	GetPort() int
	ConfigureServices(builder *di.Builder) error
	Configure(e *echo.Echo, root di.Container) error
	GetSessionStore() sessions.Store
	// RegisterStaticRoutes
	// i.e. e.Static("/css", "./css")
	RegisterStaticRoutes(e *echo.Echo) error
}

IStartup for echo apps

type Options

type Options struct {
	Listener net.Listener
}

Options for echo apps

Jump to

Keyboard shortcuts

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