mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-23 11:02:25 +03:00
Update gci format
This commit is contained in:
@@ -3,8 +3,9 @@ package option
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
"github.com/sagernet/sing/common"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
type _Options struct {
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
package option
|
||||
|
||||
import (
|
||||
"github.com/goccy/go-json"
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
"github.com/sagernet/sing/common"
|
||||
"github.com/sagernet/sing/common/auth"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
type _Inbound struct {
|
||||
|
||||
@@ -3,10 +3,12 @@ package option
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
"github.com/sagernet/sing-box/common/badjson"
|
||||
"github.com/sagernet/sing/common"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
|
||||
"github.com/sagernet/sing-box/common/badjson"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
func ToMap(v any) (*badjson.JSONObject, error) {
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package option
|
||||
|
||||
import (
|
||||
"github.com/goccy/go-json"
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
M "github.com/sagernet/sing/common/metadata"
|
||||
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
type _Outbound struct {
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package option
|
||||
|
||||
import (
|
||||
"github.com/goccy/go-json"
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
"github.com/sagernet/sing/common"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
type RouteOptions struct {
|
||||
|
||||
@@ -4,9 +4,11 @@ import (
|
||||
"net/netip"
|
||||
"strings"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
|
||||
"github.com/goccy/go-json"
|
||||
)
|
||||
|
||||
type ListenAddress netip.Addr
|
||||
|
||||
Reference in New Issue
Block a user