mirror of
				https://github.com/1Panel-dev/KubePi.git
				synced 2025-10-31 18:42:41 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			284 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			284 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package v1
 | |
| 
 | |
| import (
 | |
| 	"github.com/KubeOperator/ekko/internal/api/v1/cluster"
 | |
| 	"github.com/KubeOperator/ekko/internal/api/v1/session"
 | |
| 	"github.com/kataras/iris/v12"
 | |
| )
 | |
| 
 | |
| func AddV1Route(app iris.Party) {
 | |
| 	v1Party := app.Party("/v1")
 | |
| 	session.Install(v1Party)
 | |
| 	cluster.Install(v1Party)
 | |
| }
 | 
