fiber_engine

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FiberHttpEngine

type FiberHttpEngine struct {
	engine.IServerEngine
	// contains filtered or unexported fields
}

func NewFiberHttpEngine

func NewFiberHttpEngine(options ...FiberHttpEngineOption) *FiberHttpEngine

Create a new http engine (for now, gin is the only supported engine)

func (*FiberHttpEngine) AddMiddleware

func (e *FiberHttpEngine) AddMiddleware(middleware ...interface{})

Add middleware to the engine

func (*FiberHttpEngine) AddStatic added in v0.0.7

func (e *FiberHttpEngine) AddStatic(prefix, root string, config ...interface{})

func (*FiberHttpEngine) RegisterController

func (e *FiberHttpEngine) RegisterController(rootPath string, instance controller.IController)

func (*FiberHttpEngine) Run

func (*FiberHttpEngine) Stop

func (e *FiberHttpEngine) Stop()

type FiberHttpEngineOption

type FiberHttpEngineOption struct {
	engine.ServerEngineOption
	FiberConfig fiber.Config
}

Jump to

Keyboard shortcuts

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