Versions in this module Expand all Collapse all v0 v0.1.0 Sep 23, 2023 Changes in this version + const CLASH_DIR + const CONFIG_FN + const SUBSCRIBE_DIR + func Backward(ctx context.Context) (err error) + func DNSDefault() func(cfg *config.Config) + func Forward(ctx context.Context, redirPort int) (err error) + func GeneralDefault() func(cfg *config.Config) + type Config struct + Current string + Subscribe []*Subscribe + type Service struct + func New(homeDir string) *Service + func (s *Service) Run(ctx context.Context) (err error) + type Subscribe struct + Body string + Cron string + Headers []string + Method string + Name string + Url string