core: v2ray.com/core/main/confloader Index | Files | Directories

package confloader

import "v2ray.com/core/main/confloader"

Index

Package Files

confloader.go errors.generated.go

Variables

var (
    EffectiveConfigFileLoader configFileLoader
    EffectiveExtConfigLoader  extconfigLoader
)

func LoadConfig Uses

func LoadConfig(file string) (io.Reader, error)

LoadConfig reads from a path/url/stdin actual work is in external module

func LoadExtConfig Uses

func LoadExtConfig(files []string) (io.Reader, error)

LoadExtConfig calls v2ctl to handle multiple config the actual work also in external module

Directories

PathSynopsis
external

Package confloader imports 3 packages (graph) and is imported by 28 packages. Updated 2020-10-15. Refresh now. Tools for package owners.