Documentation
¶
Overview ¶
a Traefik plugin that map session with additional header properties.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Headers []string `json:"headers,omitempty"`
Server string `json:"server,omitempty"`
Timeout int `json:"timeout,omitempty"`
}
Config the plugin configuration.
func CreateConfig ¶
func CreateConfig() *Config
CreateConfig creates the default plugin configuration.
type SessionMapper ¶
type SessionMapper struct {
// contains filtered or unexported fields
}
SessionMapper is the SessionMapper plugin.
func (*SessionMapper) ServeHTTP ¶
func (s *SessionMapper) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements the http.Handler
Click to show internal directories.
Click to hide internal directories.
