instances

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePopupAction

type CreatePopupAction struct {
	actionutils.ParentAction
}

func (*CreatePopupAction) Init

func (this *CreatePopupAction) Init()

func (*CreatePopupAction) RunGet

func (this *CreatePopupAction) RunGet(params struct{})

func (*CreatePopupAction) RunPost

func (this *CreatePopupAction) RunPost(params struct {
	Name      string
	MediaType string

	EmailSmtp     string
	EmailUsername string
	EmailPassword string
	EmailFrom     string

	WebHookURL          string
	WebHookMethod       string
	WebHookHeaderNames  []string
	WebHookHeaderValues []string
	WebHookContentType  string
	WebHookParamNames   []string
	WebHookParamValues  []string
	WebHookBody         string

	ScriptType      string
	ScriptPath      string
	ScriptLang      string
	ScriptCode      string
	ScriptCwd       string
	ScriptEnvNames  []string
	ScriptEnvValues []string

	DingTalkWebHookURL string

	QyWeixinCorporateId string
	QyWeixinAgentId     string
	QyWeixinAppSecret   string
	QyWeixinTextFormat  string

	QyWeixinRobotWebHookURL string
	QyWeixinRobotTextFormat string

	AliyunSmsSign              string
	AliyunSmsTemplateCode      string
	AliyunSmsTemplateVarNames  []string
	AliyunSmsTemplateVarValues []string
	AliyunSmsAccessKeyId       string
	AliyunSmsAccessKeySecret   string

	TelegramToken string

	RateMinutes int32
	RateCount   int32

	HashLife int32

	Description string

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	InstanceId int64
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

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

type InstanceAction

type InstanceAction struct {
	actionutils.ParentAction
}

func (*InstanceAction) Init

func (this *InstanceAction) Init()

func (*InstanceAction) RunGet

func (this *InstanceAction) RunGet(params struct {
	InstanceId int64
})

type OptionsAction

type OptionsAction struct {
	actionutils.ParentAction
}

媒介类型选项

func (*OptionsAction) RunPost

func (this *OptionsAction) RunPost(params struct{})

type TestAction

type TestAction struct {
	actionutils.ParentAction
}

func (*TestAction) Init

func (this *TestAction) Init()

func (*TestAction) RunGet

func (this *TestAction) RunGet(params struct {
	InstanceId int64
})

func (*TestAction) RunPost

func (this *TestAction) RunPost(params struct {
	InstanceId int64
	Subject    string
	Body       string
	User       string

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

func (this *UpdateAction) RunGet(params struct {
	InstanceId int64
})

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	InstanceId int64
	Name       string
	MediaType  string

	EmailSmtp     string
	EmailUsername string
	EmailPassword string
	EmailFrom     string

	WebHookURL          string
	WebHookMethod       string
	WebHookHeaderNames  []string
	WebHookHeaderValues []string
	WebHookContentType  string
	WebHookParamNames   []string
	WebHookParamValues  []string
	WebHookBody         string

	ScriptType      string
	ScriptPath      string
	ScriptLang      string
	ScriptCode      string
	ScriptCwd       string
	ScriptEnvNames  []string
	ScriptEnvValues []string

	DingTalkWebHookURL string

	QyWeixinCorporateId string
	QyWeixinAgentId     string
	QyWeixinAppSecret   string
	QyWeixinTextFormat  string

	QyWeixinRobotWebHookURL string
	QyWeixinRobotTextFormat string

	AliyunSmsSign              string
	AliyunSmsTemplateCode      string
	AliyunSmsTemplateVarNames  []string
	AliyunSmsTemplateVarValues []string
	AliyunSmsAccessKeyId       string
	AliyunSmsAccessKeySecret   string

	TelegramToken string

	GroupIds    string
	Description string
	IsOn        bool

	RateMinutes int32
	RateCount   int32

	HashLife int32

	Must *actions.Must
	CSRF *actionutils.CSRF
})

Jump to

Keyboard shortcuts

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