common

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Common = &CommonService{}
View Source
var User = UserService{}

Functions

This section is empty.

Types

type CommonService added in v1.0.3

type CommonService struct{}

func (*CommonService) AddRoutes added in v1.0.3

func (s *CommonService) AddRoutes(requestParams common.RouteRequest) ([]models.CasbinRule, error)

AddRoutes 添加路由权限

type UserService

type UserService struct{}

func (UserService) Login

func (s UserService) Login(requestParams user.LoginRequest) (interface{}, error)

Login 登录操作

Jump to

Keyboard shortcuts

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