mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
whch -> which
parent
6de81e8640
commit
850e3554f7
@ -2,7 +2,7 @@ You can use Caddy as a library in your Go program. This is useful if your Go app
|
||||
|
||||
You just need the [caddy](https://godoc.org/github.com/mholt/caddy) package. The linked godoc has instructions.
|
||||
|
||||
Note: If you don't want to craft a raw Caddyfile string (whih, you can use the [caddyfile](https://godoc.org/github.com/mholt/caddy/caddyfile) package to convert between that and a JSON representation of the tokens. It's lightly structured and very easy to manipulate with code, rather than dealing with parsing a raw string.
|
||||
Note: If you don't want to craft a raw Caddyfile string (which, you can use the [caddyfile](https://godoc.org/github.com/mholt/caddy/caddyfile) package to convert between that and a JSON representation of the tokens. It's lightly structured and very easy to manipulate with code, rather than dealing with parsing a raw string.
|
||||
|
||||
Here's a basic example:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user