@kumori/kdsl 0.0.50 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/kumori/builtin/apiserver.h.kumori +19 -0
- package/dist/lib/kumori/builtin/httpinbound.h.kumori +8 -0
- package/dist/lib/kumori/shared.kumori +8 -1
- package/out/lib/kumori/builtin/apiserver.h.kumori +19 -0
- package/out/lib/kumori/builtin/httpinbound.h.kumori +8 -0
- package/out/lib/kumori/shared.kumori +8 -1
- package/out/main.cjs +112 -112
- package/package.json +2 -2
|
@@ -15,6 +15,14 @@ builtin HTTPInbound {
|
|
|
15
15
|
|
|
16
16
|
config {
|
|
17
17
|
type "https"
|
|
18
|
+
websocket?: bool = false
|
|
19
|
+
remoteaddressheader?: string = ""
|
|
20
|
+
cleanxforwardedfor?: bool = false
|
|
21
|
+
|
|
22
|
+
accesspolicies?: kumori.AccessPolicies
|
|
23
|
+
|
|
24
|
+
requestHeaders?: kumori.StringMap = {}
|
|
25
|
+
responseHeaders?: kumori.StringMap = {}
|
|
18
26
|
}
|
|
19
27
|
|
|
20
28
|
resource {
|
|
@@ -8,4 +8,11 @@ alias Links struct {
|
|
|
8
8
|
|
|
9
9
|
alias Channel "udp" | "tcp" | "http" | "grpc"
|
|
10
10
|
alias Client Channel
|
|
11
|
-
alias Server Channel | struct { protocol Channel, port number }
|
|
11
|
+
alias Server Channel | struct { protocol Channel, port number }
|
|
12
|
+
|
|
13
|
+
alias AccessPolicies struct {
|
|
14
|
+
allowediplist?: []string
|
|
15
|
+
deniediplist?: []string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
alias StringMap struct open[string]
|
|
@@ -15,6 +15,14 @@ builtin HTTPInbound {
|
|
|
15
15
|
|
|
16
16
|
config {
|
|
17
17
|
type "https"
|
|
18
|
+
websocket?: bool = false
|
|
19
|
+
remoteaddressheader?: string = ""
|
|
20
|
+
cleanxforwardedfor?: bool = false
|
|
21
|
+
|
|
22
|
+
accesspolicies?: kumori.AccessPolicies
|
|
23
|
+
|
|
24
|
+
requestHeaders?: kumori.StringMap = {}
|
|
25
|
+
responseHeaders?: kumori.StringMap = {}
|
|
18
26
|
}
|
|
19
27
|
|
|
20
28
|
resource {
|
|
@@ -8,4 +8,11 @@ alias Links struct {
|
|
|
8
8
|
|
|
9
9
|
alias Channel "udp" | "tcp" | "http" | "grpc"
|
|
10
10
|
alias Client Channel
|
|
11
|
-
alias Server Channel | struct { protocol Channel, port number }
|
|
11
|
+
alias Server Channel | struct { protocol Channel, port number }
|
|
12
|
+
|
|
13
|
+
alias AccessPolicies struct {
|
|
14
|
+
allowediplist?: []string
|
|
15
|
+
deniediplist?: []string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
alias StringMap struct open[string]
|