Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Swagger []Swagger `cfg:"swagger" json:"swagger"` SwaggerSettings SwaggerSettings `cfg:"swagger_settings" json:"swagger_settings"` }
type Swagger ¶
type Swagger struct { Name string `cfg:"name" json:"name,omitempty"` Link string `cfg:"link" json:"link,omitempty"` Schemes []string `cfg:"schemes" json:"schemes,omitempty"` Host string `cfg:"host" json:"host,omitempty"` BasePath string `cfg:"base_path" json:"base_path,omitempty"` BasePathPrefix string `cfg:"base_path_prefix" json:"base_path_prefix,omitempty"` DisableAuthorizeButton *bool `cfg:"disable_authorize_button" json:"disable_authorize_button,omitempty"` }
type SwaggerSettings ¶ added in v0.5.8
type SwaggerSettings struct { Schemes []string `cfg:"schemes" json:"schemes,omitempty"` Host string `cfg:"host" json:"host,omitempty"` BasePath string `cfg:"base_path" json:"base_path,omitempty"` BasePathPrefix string `cfg:"base_path_prefix" json:"base_path_prefix,omitempty"` DisableAuthorizeButton bool `cfg:"disable_authorize_button" json:"disable_authorize_button,omitempty"` }
type View ¶
type View struct { PrefixPath string `cfg:"prefix_path"` Info Info `cfg:"info"` InfoURL string `cfg:"info_url"` InfoURLType string `cfg:"info_url_type"` InsecureSkipVerify bool `cfg:"insecure_skip_verify"` // contains filtered or unexported fields }
func (*View) InformationUI ¶
func (*View) Middleware ¶
Click to show internal directories.
Click to hide internal directories.