Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) DecodeTo ¶
DecodeTo 使用 json tag 将完整配置解码到目标结构体,并解析 duration 与 RFC3339 时间。 解码后使用 validate tag 校验字段。
Click to show internal directories.
Click to hide internal directories.