lib

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 2 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
models

Jump to

Keyboard shortcuts

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