prometheus-fail2ban-exporter/socket/decoder.go

9 lines
254 B
Go
Raw Permalink Normal View History

2023-10-02 10:50:34 +00:00
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
}