Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct { SubAttr string ObjAttr string OptAttrs serverType.OpCode EnvAttr commonType.Duration }
func (*Policy) CheckOperation ¶
func (policy *Policy) CheckOperation(gm bool, subAttrs []string, objAttrs []string, op serverType.OpCode, timestamp commonType.Timestamp) bool
type PolicyList ¶
type PolicyList struct {
Policies []*Policy
}
func (*PolicyList) CheckOperation ¶
func (pl *PolicyList) CheckOperation(gm bool, subAttrs []string, objAttrs []string, op serverType.OpCode, timestamp commonType.Timestamp) bool
Click to show internal directories.
Click to hide internal directories.