menu_service

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Menu struct {
	ID     int
	Name   string
	Path   string
	Method string

	CreatedBy  string
	ModifiedBy string

	PageNum  int
	PageSize int

	Menu     *models.Menu     `inject:""`
	Enforcer *casbin.Enforcer `inject:""`
}
func (a *Menu) Add() error
func (a *Menu) Count() (int, error)
func (a *Menu) Delete() error
func (a *Menu) Edit() error
func (a *Menu) ExistByID() (bool, error)
func (a *Menu) Get() (*models.Menu, error)
func (a *Menu) GetAll() ([]*models.Menu, error)

Jump to

Keyboard shortcuts

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