abiosoft / abiosoft/caddy-exec

Dynamically receive arguments

Aberta
#16 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
155
Forks
21
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.