mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
Updated Writing a Plugin: HTTP Middleware (markdown)
parent
50539d1dec
commit
99f13c2187
@ -29,7 +29,7 @@ Handlers are usually a struct with at least one field, the next Handler in the c
|
|||||||
|
|
||||||
```go
|
```go
|
||||||
type MyHandler struct {
|
type MyHandler struct {
|
||||||
Next middleware.Handler
|
Next httpserver.Handler
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user