mirror of
				https://github.com/weloe/token-go.git
				synced 2025-10-31 19:02:41 +08:00 
			
		
		
		
	feat: improve defaultAdapter to add clean timer
This commit is contained in:
		| @@ -11,6 +11,10 @@ type DefaultLogger struct { | ||||
| 	enable bool | ||||
| } | ||||
|  | ||||
| func (d *DefaultLogger) StartCleanTimer(period int64) { | ||||
| 	log.Printf("timer period = %v, timer start", period) | ||||
| } | ||||
|  | ||||
| func (d *DefaultLogger) Enable(bool bool) { | ||||
| 	d.enable = bool | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 weloe
					weloe