groups

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 11 Imported by: 1

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
	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 added in v0.1.7

type GenerateKeyAction actions.Action

func (*GenerateKeyAction) RunPost added in v0.1.7

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
	Must    *actions.Must
})

提交保存

Jump to

Keyboard shortcuts

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