Ch10

command
v0.0.0-...-42e8fca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 4 Imported by: 0

README

Chapter 10

Author's Reference Code: https://github.com/awoodbeck/gnp/tree/master/ch10

Note

The author has the source code for the Caddy modules referenced as github.com/[username]/[module]. I opted instead to nest the modules within the chapter directory. In order for the modules to be used within main.go, I have used the following terminal commands to add local references within go.mod.

go mod edit -replace github.com/nicholas-fedor/Network-Programming-with-Go/Ch10/caddy-restrict-prefix=./caddy-restrict-prefix
go mod edit -replace github.com/nicholas-fedor/Network-Programming-with-Go/Ch10/caddy-toml-adapter=./caddy-toml-adapter

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Creating a simple backend web service Pages 232-234
Creating a simple backend web service Pages 232-234
Pages 225-226 Listing 10-3: Creating a TOML configuration adapter and registering it with Caddy.
Pages 225-226 Listing 10-3: Creating a TOML configuration adapter and registering it with Caddy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL