lib

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(mountPoints []Mountable) *router.Router

NewRouter creates root loader and mounts subrouters

Types

type Mountable added in v0.0.3

type Mountable interface {
	Mount(*router.Router)
}

Mountable describes a routing group to be attached in the main pnk

Directories

Path Synopsis
middlewares
models

Jump to

Keyboard shortcuts

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