1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 09:25:23 +00:00
v2fly/app/restful-api/config.go
2021-09-06 13:42:05 +01:00

13 lines
276 B
Go

package restful_api
import (
"context"
"github.com/v2fly/v2ray-core/v4/common"
)
func init() {
common.Must(common.RegisterConfig((*Config)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
return newRestfulService(ctx, config.(*Config))
}))
}