Documentation ¶
Index ¶
- type GlobalApproveManager
- func (c *GlobalApproveManager) DeleteApproval(key string)
- func (c *GlobalApproveManager) DoApproval(key, userName, userID, comment string, approve bool) (*commonmodels.NativeApproval, error)
- func (c *GlobalApproveManager) GetApproval(key string) (*commonmodels.NativeApproval, bool)
- func (c *GlobalApproveManager) IsApproval(key string) (bool, int, error)
- func (c *GlobalApproveManager) SetApproval(key string, value *commonmodels.NativeApproval)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalApproveManager ¶
type GlobalApproveManager struct { }
var GlobalApproveMap GlobalApproveManager
func (*GlobalApproveManager) DeleteApproval ¶
func (c *GlobalApproveManager) DeleteApproval(key string)
func (*GlobalApproveManager) DoApproval ¶
func (c *GlobalApproveManager) DoApproval(key, userName, userID, comment string, approve bool) (*commonmodels.NativeApproval, error)
func (*GlobalApproveManager) GetApproval ¶
func (c *GlobalApproveManager) GetApproval(key string) (*commonmodels.NativeApproval, bool)
func (*GlobalApproveManager) IsApproval ¶
func (c *GlobalApproveManager) IsApproval(key string) (bool, int, error)
func (*GlobalApproveManager) SetApproval ¶
func (c *GlobalApproveManager) SetApproval(key string, value *commonmodels.NativeApproval)
Click to show internal directories.
Click to hide internal directories.