mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 21:50:28 +08:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
		
			235 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			235 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package settings
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import "github.com/iwind/TeaGo/actions"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type Helper struct {
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func NewHelper() *Helper {
							 | 
						||
| 
								 | 
							
									return &Helper{}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (this *Helper) BeforeAction(action *actions.ActionObject) {
							 | 
						||
| 
								 | 
							
									action.Data["teaMenu"] = "settings"
							 | 
						||
| 
								 | 
							
								}
							 |