kind

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunSMS

type AliyunSMS struct {
	AccessKeyId     string
	AccessKeySecret string
	SignName        string
	TemplateCode    string
}

func (*AliyunSMS) Validate

func (asm *AliyunSMS) Validate() error

type AliyunVMS

type AliyunVMS struct {
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
	VMSTtsCode      string `json:"vmsTtsCode"`
}

func (*AliyunVMS) Validate

func (vms *AliyunVMS) Validate() error

type DingDingWorkNotice

type DingDingWorkNotice struct {
	AgentId   int64
	AppKey    string
	AppSecret string
}

func (*DingDingWorkNotice) Validate

func (ding *DingDingWorkNotice) Validate() error

type Email

type Email struct {
	SMTPHost     string `json:"smtpHost"`
	SMTPUser     string `json:"smtpUser"`
	SMTPPassword string `json:"smtpPassword"`
	SMTPPort     int64  `json:"smtpPort"`
	SMTPIsSSL    bool   `json:"smtpIsSSL"`
}

func (*Email) Validate

func (email *Email) Validate() error

type Interface

type Interface interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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