mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
remove unused files
This commit is contained in:
parent
ed8093d977
commit
b3d9433036
@ -1,16 +0,0 @@
|
|||||||
package conf
|
|
||||||
|
|
||||||
import (
|
|
||||||
"io"
|
|
||||||
|
|
||||||
"v2ray.com/core"
|
|
||||||
jsonconf "v2ray.com/ext/tools/conf/serial"
|
|
||||||
)
|
|
||||||
|
|
||||||
//go:generate go run $GOPATH/src/v2ray.com/core/tools/generrorgen/main.go -pkg conf -path Tools,Conf
|
|
||||||
|
|
||||||
func init() {
|
|
||||||
core.RegisterConfigLoader(core.ConfigFormat_JSON, func(input io.Reader) (*core.Config, error) {
|
|
||||||
return jsonconf.LoadJSONConfig(input)
|
|
||||||
})
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
package conf
|
|
||||||
|
|
||||||
import "v2ray.com/core/common/errors"
|
|
||||||
|
|
||||||
func newError(values ...interface{}) *errors.Error { return errors.New(values...).Path("Tools", "Conf") }
|
|
Loading…
Reference in New Issue
Block a user