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

package confloader

import "github.com/v2ray/v2ray-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). Updated 2020-10-18. Refresh now. Tools for package owners.