Peter Kurfer
3c7810c32a
- introduce netmon details to be emitted whenever a packet is observed not handled by InetMock - rework cache configuration to re-use the same cache instance for all DNS handlers - add an API to enable network monitoring per network interface including whitelists for IPs and ports
18 lines
468 B
YAML
18 lines
468 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/tekwizely/pre-commit-golang
|
|
rev: v1.0.0-beta.5
|
|
hooks:
|
|
- id: go-mod-tidy-repo
|
|
- id: go-fumpt
|
|
args:
|
|
- -w
|
|
- id: go-imports
|
|
args:
|
|
- -local=inetmock.icb4dc0.de/inetmock
|
|
- -w
|
|
- id: golangci-lint-repo-mod
|
|
args:
|
|
- --fast
|
|
- --fix
|