Rename and export some types, other minor changes

This commit is contained in:
Matthew Holt 2019-05-14 14:14:05 -06:00
parent 8ae0d6a509
commit f9d93ead4e
7 changed files with 151 additions and 106 deletions

View file

@ -15,7 +15,6 @@ func init() {
}
// Static implements a simple responder for static responses.
// It is Caddy's default responder. TODO: Or is it?
type Static struct {
StatusCode int `json:"status_code"`
Headers http.Header `json:"headers"`