mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 04:42:33 +02:00

- fixed access log logic - implement acl at connection level - acl logging - ip/cidr blocking - geoblocking with MaxMind database
16 lines
183 B
Go
16 lines
183 B
Go
package accesslog
|
|
|
|
import (
|
|
"io"
|
|
"os"
|
|
)
|
|
|
|
type StdoutLogger struct {
|
|
io.Writer
|
|
}
|
|
|
|
var stdoutIO = &StdoutLogger{os.Stdout}
|
|
|
|
func (l *StdoutLogger) Name() string {
|
|
return "stdout"
|
|
}
|