abiosoft / abiosoft/caddy-exec

Dynamically receive arguments

Đang mở
#16 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
155
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I'm going over the possibilities to handle a html form submission since directive [mailout](https://caddy.its-em.ma/v1/docs/http.mailout) that used to work perfectly with caddy v1 is not supported in v2 anymore.

Was thinking to simply trigger a .go file when a route is being hit. Is it possible to dynamically receive arguments instead of hard coding them in the Caddyfile?

e.g something like this:
```
// command to execute
"command": "handleform.go",
// command arguments
"args": [$args]
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.