From f93ef0697826761f5ebd5e6c377b1257b05f5340 Mon Sep 17 00:00:00 2001 From: timerzz Date: Mon, 13 May 2024 20:09:13 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=B7=BB=E5=8A=A0proxy=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/proxy/option.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pkg/proxy/option.go diff --git a/pkg/proxy/option.go b/pkg/proxy/option.go new file mode 100644 index 0000000..efd14c6 --- /dev/null +++ b/pkg/proxy/option.go @@ -0,0 +1,8 @@ +package proxy + +import "time" + +type Option struct { + Subscribes []string `yaml:"subscribes"` + Interval time.Duration `yaml:"interval"` +}