mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
remove ifaces from doc (#430)
This commit is contained in:
committed by
Travis Reeder
parent
1247edbd04
commit
f03619d479
@@ -101,7 +101,7 @@ For example, let's use special handlers to define `mydomain` as the `appname` fo
|
||||
```
|
||||
type SpecialHandler struct{}
|
||||
|
||||
func (h *SpecialHandler) Handle(c ifaces.HandlerContext) error {
|
||||
func (h *SpecialHandler) Handle(c server.HandlerContext) error {
|
||||
host := c.Request().Host
|
||||
if host == "mydomain.com" {
|
||||
c.Set("app", "mydomain")
|
||||
|
||||
Reference in New Issue
Block a user