routers

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

*

  • 请求路由统一定义

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

func NewRouter

func NewRouter(c *config.Config, db *sql.DB) *Router

func (*Router) GetUserCluster

func (r *Router) GetUserCluster(userName string) (*right.User, error)

func (*Router) StartRouter

func (r *Router) StartRouter() *gin.Engine

Jump to

Keyboard shortcuts

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