web

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(lc fx.Lifecycle, c config.AppConfig, app *fiber.App)

func New

func New(c config.AppConfig, scope tally.Scope, reporter promreporter.Reporter) *fiber.App

func ResistRouter

func ResistRouter(app *fiber.App, h Handler, scope tally.Scope)

ResistRouter add all router and default 404 Handler to app.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandle

func NewHandle(repo repository.Subject, auth repository.Auth, cache cache.GenericCache) Handler

Directories

Path Synopsis
middleware

Jump to

Keyboard shortcuts

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