diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-03-17 21:00:45 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-03-17 21:00:45 -0600 |
commit | fc7340e11aa9ca6326909aedfd36bb2c5b53d2a8 (patch) | |
tree | b057f7368a355192bdb40784b6d95716982e6923 /modules/filestorage | |
parent | 3f48a2eb455167af8d77c5c4543bd17a80a93260 (diff) |
httpcaddyfile: Many tls-related improvements including on-demand support
Holy heck this was complicated
Diffstat (limited to 'modules/filestorage')
-rw-r--r-- | modules/filestorage/filestorage.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/filestorage/filestorage.go b/modules/filestorage/filestorage.go index 0b2d79a..3552609 100644 --- a/modules/filestorage/filestorage.go +++ b/modules/filestorage/filestorage.go @@ -59,5 +59,8 @@ func (s *FileStorage) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { return nil } -// Interface guard -var _ caddy.StorageConverter = (*FileStorage)(nil) +// Interface guards +var ( + _ caddy.StorageConverter = (*FileStorage)(nil) + _ caddyfile.Unmarshaler = (*FileStorage)(nil) +) |