Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/router/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type Rule struct {
RuleTag string
Balancer *Balancer
Condition Condition
Webhook *WebhookNotifier
}

func (r *Rule) GetTag() (string, error) {
Expand Down
174 changes: 127 additions & 47 deletions app/router/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions app/router/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ message RoutingRule {

xray.common.net.PortList vless_route_list = 20;
repeated string process = 21;
WebhookConfig webhook = 22;
}

message WebhookConfig {
string url = 1;
uint32 deduplication = 2;
map<string, string> headers = 3;
}

message BalancingRule {
Expand Down
Loading