mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			233 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			233 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package actionutils
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									"context"
							 | 
						||
| 
								 | 
							
									"github.com/TeaOSLab/EdgeAdmin/internal/rpc"
							 | 
						||
| 
								 | 
							
									"github.com/iwind/TeaGo/maps"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type ActionInterface interface {
							 | 
						||
| 
								 | 
							
									RPC() *rpc.RPCClient
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									AdminContext() context.Context
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									ViewData() maps.Map
							 | 
						||
| 
								 | 
							
								}
							 |