render

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MihomoTemplate

func MihomoTemplate(templatePath string, nodes []map[string]any, manualRules []string) (string, error)

func RenderClashConfigSubscription

func RenderClashConfigSubscription(templatePath string, proxies []map[string]any, groups []RenderedProxyGroup, rules []string) (string, error)

func RenderProxyProviderSubscription

func RenderProxyProviderSubscription(nodes []map[string]any) (string, error)

func RenderRuleProviderSubscription

func RenderRuleProviderSubscription(rules []string) (string, error)

Types

type RenderedProxyGroup

type RenderedProxyGroup struct {
	Name     string
	Type     string
	URL      string
	Interval int64
	Proxies  []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL