router

package
v0.0.0-...-96dbec4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(service auth.Service, config *config.ServerConfig) fiber.Handler

Types

type Router

type Router struct {
	App     *fiber.App
	MongoDB *mongo.Database
	Redis   *redis.Client
	Config  *config.ServerConfig
}

func New

func New(r *Router) *Router

Jump to

Keyboard shortcuts

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