groups

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAction

type AddAction actions.Action

func (*AddAction) Run

func (this *AddAction) Run(params struct {
	From string
})

添加分组

func (*AddAction) RunPost

func (this *AddAction) RunPost(params struct {
	Name string

	MaxAgents int
	DayFrom   string
	DayTo     string

	KeysKey       []string
	KeysDayFrom   []string
	KeysDayTo     []string
	KeysMaxAgents []int
	KeysOn        []int
	KeysName      []string

	Must *actions.Must
})

提交保存

type AddNoticeReceiversAction

type AddNoticeReceiversAction actions.Action

func (*AddNoticeReceiversAction) Run

func (this *AddNoticeReceiversAction) Run(params struct {
	GroupId string
	Level   notices.NoticeLevel
})

添加通知

func (*AddNoticeReceiversAction) RunPost

func (this *AddNoticeReceiversAction) RunPost(params struct {
	GroupId string
	Level   notices.NoticeLevel
	On      bool
	Name    string
	MediaId string
	User    string
	Must    actions.Must
})

提交保存

type DeleteAction

type DeleteAction actions.Action

func (*DeleteAction) Run

func (this *DeleteAction) Run(params struct {
	GroupId string
})

删除分组

type DeleteNoticeReceiversAction

type DeleteNoticeReceiversAction actions.Action

func (*DeleteNoticeReceiversAction) Run

func (this *DeleteNoticeReceiversAction) Run(params struct {
	GroupId    string
	Level      notices.NoticeLevel
	ReceiverId string
})

删除接收人

type DetailAction

type DetailAction actions.Action

func (*DetailAction) Run

func (this *DetailAction) Run(params struct {
	GroupId string
})

详情

type GenerateKeyAction

type GenerateKeyAction actions.Action

func (*GenerateKeyAction) RunPost

func (this *GenerateKeyAction) RunPost(params struct {
	GroupId string
})

生成密钥

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

func (this *IndexAction) Run(params struct{})

分组管理

type MoveAction

type MoveAction actions.Action

func (*MoveAction) Run

func (this *MoveAction) Run(params struct {
	FromIndex int
	ToIndex   int
})

移动分组位置

type NoticeReceiversAction

type NoticeReceiversAction actions.Action

func (*NoticeReceiversAction) Run

func (this *NoticeReceiversAction) Run(params struct {
	GroupId string
})

通知接收人

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) Run

func (this *UpdateAction) Run(params struct {
	GroupId string
})

分组ID

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	GroupId   string
	Name      string
	MaxAgents int
	DayFrom   string
	DayTo     string

	KeysKey       []string
	KeysDayFrom   []string
	KeysDayTo     []string
	KeysMaxAgents []int
	KeysOn        []int
	KeysName      []string

	Must *actions.Must
})

提交保存

Jump to

Keyboard shortcuts

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