You've already forked prometheus-fail2ban-exporter
							
							This commit is contained in:
		
							
								
								
									
										8
									
								
								socket/decoder.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								socket/decoder.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| package socket | ||||
|  | ||||
| // Py_builtins_str is used by the pickle decoder to parse the server response into a format Go can understand | ||||
| type Py_builtins_str struct{} | ||||
|  | ||||
| func (c Py_builtins_str) Call(args ...interface{}) (interface{}, error) { | ||||
| 	return args[0], nil | ||||
| } | ||||
		Reference in New Issue
	
	Block a user