mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-29 07:05:57 +08:00
Removed Host() and Port() functions from Controller
I don't think they'll be necessary; can get same info from request Host header
This commit is contained in:
@ -59,12 +59,6 @@ type (
|
||||
// Root returns the file path from which the server is serving.
|
||||
Root() string
|
||||
|
||||
// Host returns the hostname the server is bound to.
|
||||
Host() string
|
||||
|
||||
// Port returns the port that the server is listening on.
|
||||
Port() string
|
||||
|
||||
// Context returns the path scope that the Controller is in.
|
||||
// Note: This is not currently used, but may be in the future.
|
||||
Context() Path
|
||||
|
Reference in New Issue
Block a user