Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Methods []string `json:"Methods,omitempty" toml:"Methods,omitempty" yaml:"Methods,omitempty" export:"true"`
Message string `json:"Message,omitempty" toml:"Message,omitempty" yaml:"Message,omitempty" export:"true"`
}
func CreateConfig ¶
func CreateConfig() *Config
CreateConfig creates the default plugin configuration.
type MethodBlock ¶
type MethodBlock struct {
// contains filtered or unexported fields
}
func (*MethodBlock) ServeHTTP ¶
func (m *MethodBlock) ServeHTTP(rw http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.