abiosoft / abiosoft/caddy-exec

Dynamically receive arguments

Aperta
#16 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
155
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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]
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.