-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Proxy to use callback, removing references to Logger.
- Loading branch information
1 parent
471015c
commit 76f3405
Showing
2 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
package proxy | ||
|
||
import ( | ||
"github.com/nathan-osman/i5/logger" | ||
) | ||
|
||
// Config provides the configuration for a proxy instance. | ||
type Config struct { | ||
// Addr provides the remote address to use for proxying requests to. | ||
Addr string | ||
// Mountpoints provides a list of static mountpoints for this proxy. | ||
Mountpoints []*Mountpoint | ||
// Logger is a pointer to a Logger instance. | ||
Logger *logger.Logger | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters