Documentation
¶
Index ¶
Constants ¶
View Source
const (
HeaderKey = "Authorization"
)
View Source
const (
PluginHTTP = "http"
)
Constants
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
ListenAddress string `yaml:"listen_address"`
IsAuthEnabled bool `yaml:"is_auth_enabled"`
Username string `yaml:"username"`
Password string `yaml:"password" json:"-"`
}
Config details
type RequestData ¶
type RequestData struct {
Method string `json:"method"`
RemoteAddress string `json:"remoteAddress"`
Host string `json:"host"`
Path string `json:"path"`
Body string `json:"body"`
QueryParameters map[string][]string `json:"queryParameters"`
Headers map[string][]string `json:"headers"`
Timestamp time.Time `json:"timestamp"`
}
Click to show internal directories.
Click to hide internal directories.