mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 03:27:23 -05:00 
			
		
		
		
	* caddy: Remove deprecated startup/shutdown directives * caddyhttp: Remove deprecated startup/shutdown directives Users should use 'on startup' and 'on shutdown' instead.
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
// Copyright 2015 Light Code Labs, LLC
 | 
						|
//
 | 
						|
// Licensed under the Apache License, Version 2.0 (the "License");
 | 
						|
// you may not use this file except in compliance with the License.
 | 
						|
// You may obtain a copy of the License at
 | 
						|
//
 | 
						|
//     http://www.apache.org/licenses/LICENSE-2.0
 | 
						|
//
 | 
						|
// Unless required by applicable law or agreed to in writing, software
 | 
						|
// distributed under the License is distributed on an "AS IS" BASIS,
 | 
						|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
						|
// See the License for the specific language governing permissions and
 | 
						|
// limitations under the License.
 | 
						|
 | 
						|
package caddyhttp
 | 
						|
 | 
						|
import (
 | 
						|
	// plug in the server
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/httpserver"
 | 
						|
 | 
						|
	// plug in the standard directives
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/basicauth"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/bind"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/browse"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/errors"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/expvar"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/extensions"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/fastcgi"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/gzip"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/header"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/index"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/internalsrv"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/limits"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/log"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/markdown"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/mime"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/pprof"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/proxy"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/push"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/redirect"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/requestid"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/rewrite"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/root"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/status"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/templates"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/timeouts"
 | 
						|
	_ "github.com/mholt/caddy/caddyhttp/websocket"
 | 
						|
	_ "github.com/mholt/caddy/onevent"
 | 
						|
)
 |