Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Additional ¶
type Auth ¶
type Auth struct { Type string `json:"type" label:"鉴权类型"` TokenName string `json:"token_name" label:"token名称"` Position string `json:"position" label:"token位置" enum:"header,query,body"` Config *application.BaseConfig `json:"config" label:"配置信息" eotype:"object"` Users []*application.BaseConfig `json:"users" label:"用户列表"` }
type Config ¶
type Config struct { Anonymous bool `json:"anonymous" label:"匿名" ` Disable bool `json:"disable" label:"是否禁用"` Additional []*Additional `json:"additional" label:"额外参数"` Auth []*Auth `json:"auth" label:"鉴权列表" eotype:"interface" switch:"anonymous===false"` Labels map[string]string `json:"labels" label:"应用标签"` }
Config App驱动配置
Source Files ¶
Click to show internal directories.
Click to hide internal directories.