mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
Fixed name MyType -> MyHandler
parent
2c51142b4f
commit
92d0e49926
@ -66,7 +66,7 @@ func Setup(c *Controller) (middleware.Middleware, error) {
|
|||||||
// is started. Create and return your middleware
|
// is started. Create and return your middleware
|
||||||
// struct here to ensure it gets the latest config.
|
// struct here to ensure it gets the latest config.
|
||||||
// Return a pointer - very important!
|
// Return a pointer - very important!
|
||||||
return &MyType{
|
return &MyHandler{
|
||||||
Next: next,
|
Next: next,
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user