cleanup
This commit is contained in:
		
							parent
							
								
									73be53bdbc
								
							
						
					
					
						commit
						7f91dff9d3
					
				
							
								
								
									
										1
									
								
								go.mod
								
								
								
								
							
							
						
						
									
										1
									
								
								go.mod
								
								
								
								
							|  | @ -4,7 +4,6 @@ go 1.19 | |||
| 
 | ||||
| require ( | ||||
| 	github.com/spf13/pflag v1.0.6-0.20201009195203-85dd5c8bc61c | ||||
| 	github.com/unpoller/promunifi v0.0.0-20210623101918-b986e661ac99 | ||||
| 	golift.io/cnfg v0.2.1 | ||||
| 	golift.io/version v0.0.2 | ||||
| ) | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ package promunifi | |||
| 
 | ||||
| import ( | ||||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| 	"github.com/unpoller/unifi" | ||||
| 	"github.com/unpoller/unpoller/core/unifi" | ||||
| ) | ||||
| 
 | ||||
| type uclient struct { | ||||
|  |  | |||
|  | @ -12,9 +12,9 @@ import ( | |||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| 	"github.com/prometheus/client_golang/prometheus/promhttp" | ||||
| 	promver "github.com/prometheus/common/version" | ||||
| 	"github.com/unpoller/poller" | ||||
| 	"github.com/unpoller/unifi" | ||||
| 	"github.com/unpoller/webserver" | ||||
| 	"github.com/unpoller/unpoller/core/poller" | ||||
| 	"github.com/unpoller/unpoller/core/unifi" | ||||
| 	"github.com/unpoller/unpoller/core/webserver" | ||||
| 	"golift.io/version" | ||||
| ) | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ import ( | |||
| 	"fmt" | ||||
| 	"time" | ||||
| 
 | ||||
| 	"github.com/unpoller/webserver" | ||||
| 	"github.com/unpoller/unpoller/core/webserver" | ||||
| ) | ||||
| 
 | ||||
| // Logf logs a message.
 | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ import ( | |||
| 	"time" | ||||
| 
 | ||||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| 	"github.com/unpoller/poller" | ||||
| 	"github.com/unpoller/unpoller/core/poller" | ||||
| ) | ||||
| 
 | ||||
| // This file contains the report interface.
 | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ package promunifi | |||
| 
 | ||||
| import ( | ||||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| 	"github.com/unpoller/unifi" | ||||
| 	"github.com/unpoller/unpoller/core/unifi" | ||||
| ) | ||||
| 
 | ||||
| type site struct { | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ package promunifi | |||
| 
 | ||||
| import ( | ||||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| 	"github.com/unpoller/unifi" | ||||
| 	"github.com/unpoller/unpoller/core/unifi" | ||||
| ) | ||||
| 
 | ||||
| type uap struct { | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ package promunifi | |||
| 
 | ||||
| import ( | ||||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| 	"github.com/unpoller/unifi" | ||||
| 	"github.com/unpoller/unpoller/core/unifi" | ||||
| ) | ||||
| 
 | ||||
| // These are shared by all four device types: UDM, UAP, USG, USW.
 | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ import ( | |||
| 	"strings" | ||||
| 
 | ||||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| 	"github.com/unpoller/unifi" | ||||
| 	"github.com/unpoller/unpoller/core/unifi" | ||||
| ) | ||||
| 
 | ||||
| type usg struct { | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ package promunifi | |||
| 
 | ||||
| import ( | ||||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| 	"github.com/unpoller/unifi" | ||||
| 	"github.com/unpoller/unpoller/core/unifi" | ||||
| ) | ||||
| 
 | ||||
| type usw struct { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| package promunifi | ||||
| 
 | ||||
| import ( | ||||
| 	"github.com/unpoller/unifi" | ||||
| 	"github.com/unpoller/unpoller/core/unifi" | ||||
| ) | ||||
| 
 | ||||
| // exportUXG is a collection of stats from USG and USW. It has no unique stats.
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue