dae/main.go
2023-01-27 02:10:27 +08:00

27 lines
421 B
Go

//go:build linux
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) since 2022, mzz2017 (mzz@tuta.io). All rights reserved.
*/
package main
import (
"github.com/json-iterator/go/extra"
"github.com/v2rayA/dae/cmd"
"net/http"
"os"
"time"
)
func main() {
extra.RegisterFuzzyDecoders()
http.DefaultClient.Timeout = 30 * time.Second
if err := cmd.Execute(); err != nil {
os.Exit(1)
}
os.Exit(0)
}