Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct { // 路径 Path string `default:"${DRONE_CARD_PATH=/dev/stdout}" json:"path"` }
type CardOutput ¶
type CardOutput struct { // 地址 Schema string `json:"schema"` // 数据 Data json.RawMessage `json:"data"` }
type Proxy ¶
type Proxy struct { // 是否开启 Enabled *bool `default:"true" json:"enabled,omitempty" yaml:"enabled" xml:"enabled" toml:"enabled"` // 主机 Host string `json:"host,omitempty" yaml:"host" xml:"host" toml:"host" validate:"required"` // 端口 Port int `json:"port,omitempty" yaml:"port" xml:"port" toml:"port" validate:"max=65535"` // 代理类型 // nolint:lll Scheme string `` /* 132-byte string literal not displayed */ // 目标 Target string `json:"target,omitempty" yaml:"target" xml:"target" toml:"target"` // 排除 Exclude string `json:"exclude,omitempty" yaml:"exclude" xml:"exclude" toml:"exclude"` // 代理认证用户名 Username string `json:"username,omitempty" yaml:"username" xml:"username" toml:"username"` // 代理认证密码 Password string `json:"password,omitempty" yaml:"password" xml:"password" toml:"password"` }
Click to show internal directories.
Click to hide internal directories.