approval

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 (*GlobalApproveManager) IsApproval

func (c *GlobalApproveManager) IsApproval(key string) (bool, int, error)

func (*GlobalApproveManager) SetApproval

func (c *GlobalApproveManager) SetApproval(key string, value *commonmodels.NativeApproval)

Jump to

Keyboard shortcuts

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