mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			289 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			289 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package index
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/iwind/TeaGo"
 | 
						|
)
 | 
						|
 | 
						|
func init() {
 | 
						|
	TeaGo.BeforeStart(func(server *TeaGo.Server) {
 | 
						|
		server.
 | 
						|
			Prefix("").
 | 
						|
			GetPost("/", new(IndexAction)).
 | 
						|
			GetPost("/index/otp", new(OtpAction)).
 | 
						|
			GetPost("/initPassword", new(InitPasswordAction)).
 | 
						|
			EndAll()
 | 
						|
	})
 | 
						|
}
 |