routesRepo

package
v0.0.0-...-3208bda Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MongoRoutesCollection = "routes"

Variables

This section is empty.

Functions

func GetRoutesByRole

func GetRoutesByRole(roleName string) (map[string]interface{}, error)

根据角色获取前端路由

func SetRoutesToMongo

func SetRoutesToMongo(roleName string, routes []map[string]interface{}) (b bool)

设置前端路由到mongo @param

@return

Types

This section is empty.

Jump to

Keyboard shortcuts

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