-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move export options to config file with env read support (#392)
* Move export options to config file with env read support * misc option update * misc update * readme update --------- Co-authored-by: sandeep <[email protected]>
- Loading branch information
1 parent
fb08d93
commit afa694d
Showing
7 changed files
with
84 additions
and
21 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 |
---|---|---|
|
@@ -5,4 +5,7 @@ cmd/proxify/logs/* | |
cmd/replay/replay | ||
cmd/mitmrelay/mitmrelay | ||
*.exe | ||
dist/* | ||
dist/* | ||
|
||
.vscode | ||
.devcontainer |
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package logger | ||
|
||
import ( | ||
"github.com/projectdiscovery/proxify/pkg/logger/elastic" | ||
"github.com/projectdiscovery/proxify/pkg/logger/kafka" | ||
) | ||
|
||
// Config is a configuration file for proxify logger module | ||
type Config struct { | ||
Kafka kafka.Options `yaml:"kafka"` | ||
Elastic elastic.Options `yaml:"elastic"` | ||
} |