mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			189 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			189 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package index
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/iwind/TeaGo"
 | 
						|
)
 | 
						|
 | 
						|
func init() {
 | 
						|
	TeaGo.BeforeStart(func(server *TeaGo.Server) {
 | 
						|
		server.Prefix("/").
 | 
						|
			GetPost("", new(IndexAction)).
 | 
						|
			EndAll()
 | 
						|
	})
 | 
						|
}
 |