hub

package
v1.18.9 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfig added in v1.18.8

func ApplyConfig(cfg *config.Config)

ApplyConfig dispatch configure to all parts include ExternalController

func Parse added in v1.17.0

func Parse(configBytes []byte, options ...Option) error

Parse call at the beginning of mihomo

Types

type Option added in v1.17.0

type Option func(*config.Config)

func WithExternalController added in v1.17.0

func WithExternalController(externalController string) Option

func WithExternalControllerPipe added in v1.18.9

func WithExternalControllerPipe(externalControllerPipe string) Option

func WithExternalControllerUnix added in v1.18.4

func WithExternalControllerUnix(externalControllerUnix string) Option

func WithExternalUI added in v1.17.0

func WithExternalUI(externalUI string) Option

func WithSecret added in v1.17.0

func WithSecret(secret string) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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