auth

package
v0.0.0-...-074ff86 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name, description string) error

func Remove

func Remove(id int) error

func Updata

func Updata(id int, name, description string) error

Types

type Model

type Model struct {
	models.Model
	Name        string `json:"name"`
	Description string `json:"description"`
}

func GetById

func GetById(id int) (model *Model, err error)

func GetLists

func GetLists(ids []int) ([]*Model, error)

func (Model) MenuIds

func (m Model) MenuIds() []int

func (Model) RequestIds

func (m Model) RequestIds() []int

func (Model) UserGroupIds

func (m Model) UserGroupIds() []int

Jump to

Keyboard shortcuts

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