controller

package
v0.0.0-...-eb64f0e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Permission

type Permission struct {
	base.Controller
}

Permission - Permission associated handler.

func (*Permission) Create

func (p *Permission) Create()

Create - Create permission information.

func (*Permission) List

func (p *Permission) List()

List - Get a list of permission for specified URL.

func (*Permission) Remove

func (p *Permission) Remove()

Remove - Remove permission information.

type Role

type Role struct {
	base.Controller
}

Role - Role associated handler.

func (*Role) Create

func (r *Role) Create()

Create - Create role information.

func (*Role) Info

func (r *Role) Info()

Info - Get detail information for specified role.

func (*Role) List

func (r *Role) List()

List - Get a list of active role details.

func (*Role) Modify

func (r *Role) Modify()

Modify - Modify role information.

func (*Role) ModifyActive

func (r *Role) ModifyActive()

ModifyActive - Modify role status.

type Staff

type Staff struct {
	base.Controller
}

Staff - Staff associated handler.

func (*Staff) AddRole

func (s *Staff) AddRole()

AddRole - Add a role to staff.

func (*Staff) Create

func (s *Staff) Create()

Create - Create staff information.

func (*Staff) Dismiss

func (s *Staff) Dismiss()

Dismiss - Dismissal of staff.

func (*Staff) Info

func (s *Staff) Info()

Info - Get detail information for specified staff.

func (*Staff) List

func (s *Staff) List()

List - Get a list of on-the-job staff details.

func (*Staff) Login

func (s *Staff) Login()

Login - Staff login.

func (*Staff) Modify

func (s *Staff) Modify()

Modify - Modify staff information.

func (*Staff) ModifyActive

func (s *Staff) ModifyActive()

ModifyActive - Modify staff status.

func (*Staff) ModifyMobile

func (s *Staff) ModifyMobile()

ModifyMobile - Modify staff mobile.

func (*Staff) ModifyPwd

func (s *Staff) ModifyPwd()

ModifyPwd - Modify staff password.

func (*Staff) RemoveRole

func (s *Staff) RemoveRole()

RemoveRole - Remove role from staff.

func (*Staff) RoleList

func (s *Staff) RoleList()

RoleList - List all the roles of the specified staff.

Jump to

Keyboard shortcuts

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