v2ray-core: github.com/v2ray/v2ray-core/infra/conf/serial Index | Files

package serial

import "github.com/v2ray/v2ray-core/infra/conf/serial"


Package Files

errors.generated.go loader.go serial.go

func DecodeJSONConfig Uses

func DecodeJSONConfig(reader io.Reader) (*conf.Config, error)

DecodeJSONConfig reads from reader and decode the config into *conf.Config syntax error could be detected.

func LoadJSONConfig Uses

func LoadJSONConfig(reader io.Reader) (*core.Config, error)

Package serial imports 7 packages (graph). Updated 2020-12-29. Refresh now. Tools for package owners.