mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-22 22:25:00 +07:00
27 lines
421 B
Go
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)
|
|
}
|