Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chuangcache ¶
type LabelBase ¶
type LabelBase struct {
Label string `default:"default" json:"label,omitempty" yaml:"label" xml:"label" toml:"label"`
}
type Serverchan ¶
type Sms ¶
type Sms struct { // nolint:lll Chuangcache config.Slice[Chuangcache] `json:"chuangcache,omitempty" yaml:"chuangcache" xml:"chuangcache,innerxml" toml:"chuangcache"` }
type Smtp ¶
type Smtp struct { LabelBase `yaml:"inline"` Host string `json:"host,omitempty" yaml:"host" xml:"host" toml:"host" validate:"required,hostname|ip"` Port int `json:"port,omitempty" yaml:"port" xml:"port" toml:"port" validate:"required,min=1,max=65535"` Username string `json:"username,omitempty" yaml:"username" xml:"username" toml:"username" validate:"required"` Password string `json:"password,omitempty" yaml:"password" xml:"password" toml:"password" validate:"required"` Identity string `json:"identity,omitempty" yaml:"identity" xml:"identity" toml:"identity" validate:"required"` Pool int `json:"pool,omitempty" yaml:"pool" xml:"pool" toml:"pool" validate:"required,min=1"` }
type Wechat ¶
type Wechat struct { // nolint:lll Serverchan config.Slice[Serverchan] `json:"serverchan,omitempty" yaml:"serverchan" xml:"serverchan,innerxml" toml:"serverchan"` }
Click to show internal directories.
Click to hide internal directories.