mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-27 11:01:28 +00:00
15 lines
464 B
Go
15 lines
464 B
Go
|
//go:build !with_clash_api
|
||
|
|
||
|
package experimental
|
||
|
|
||
|
import (
|
||
|
"github.com/sagernet/sing-box/adapter"
|
||
|
"github.com/sagernet/sing-box/log"
|
||
|
"github.com/sagernet/sing-box/option"
|
||
|
E "github.com/sagernet/sing/common/exceptions"
|
||
|
)
|
||
|
|
||
|
func NewClashServer(router adapter.Router, logFactory log.ObservableFactory, options option.ClashAPIOptions) (adapter.ClashServer, error) {
|
||
|
return nil, E.New(`clash api is not included in this build, rebuild with -tags with_clash_api`)
|
||
|
}
|