notices

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddNoticeReceiverAction

type AddNoticeReceiverAction actions.Action

func (*AddNoticeReceiverAction) Run

func (this *AddNoticeReceiverAction) Run(params struct {
	ServerId string
	Level    notices.NoticeLevel
})

添加通知接收人

func (*AddNoticeReceiverAction) RunPost

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

提交保存

type DeleteNoticeReceiverAction

type DeleteNoticeReceiverAction actions.Action

func (*DeleteNoticeReceiverAction) Run

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

删除接收人

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(action *actions.ActionObject)

相关Helper

type IndexAction

type IndexAction actions.Action

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	ServerId string
})

Jump to

Keyboard shortcuts

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