group

package
v0.0.0-...-a619a86 Latest Latest
Warning

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

Go to latest
Published: May 25, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ctx = &GroupCtx{}

Functions

This section is empty.

Types

type AuthGroup

type AuthGroup struct {
	Id    GUID
	OrgId GUID
	Name  string
	Roles []GUID
	Args  Params
}

func NewGroup

func NewGroup(orgid GUID) *AuthGroup

func (AuthGroup) ID

func (p AuthGroup) ID() GUID

type GroupCtx

type GroupCtx struct {
}

func (*GroupCtx) All

func (p *GroupCtx) All(orgid gobreak.GUID) (lst []AuthGroup, err error)

func (*GroupCtx) Del

func (p *GroupCtx) Del(id gobreak.GUID) gobreak.IStatus

func (*GroupCtx) Get

func (p *GroupCtx) Get(id gobreak.GUID) (m AuthGroup, ok bool)

func (*GroupCtx) Save

func (p *GroupCtx) Save(m *AuthGroup) gobreak.IStatus

Jump to

Keyboard shortcuts

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