mirror of
				https://github.com/veops/oneterm.git
				synced 2025-10-31 19:02:39 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			269 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			269 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package api
 | |
| 
 | |
| type Authentication interface {
 | |
| 	Authenticate() (token string, err error)
 | |
| }
 | |
| 
 | |
| type Asset interface {
 | |
| 	Groups() (any, error)
 | |
| 	Lists() (any, error)
 | |
| }
 | |
| 
 | |
| type Audit interface {
 | |
| 	NewSession(data any) error
 | |
| }
 | |
| 
 | |
| type Core interface {
 | |
| 	Authentication
 | |
| 	Audit
 | |
| 	Asset
 | |
| }
 | 
