Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func HTTPFileParser ¶
Types ¶
type HTTPFile ¶
type HTTPFile struct { Name string Comments []string Method string URL string Parameter []HTTPParameter Header []HTTPHeader Body string ResponseFunction string Tags []string }
func NewHTTPFile ¶
func NewHTTPFile() HTTPFile
type HTTPHeader ¶
func AuthToBase64 ¶
func AuthToBase64(header HTTPHeader) HTTPHeader
Transforms request
Authentification: Basic abcd efgh
to
Authentification: Basic Base64(abcd:efgh)
type HTTPParameter ¶
Click to show internal directories.
Click to hide internal directories.