mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 18:06:15 -05:00
14 lines
168 B
Go
14 lines
168 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/v2fly/v2ray-core/v4/main/v2binding"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
v2binding.StartAPIInstance(".")
|
||
|
for {
|
||
|
time.Sleep(time.Minute)
|
||
|
}
|
||
|
}
|