1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-02 20:15:24 +00:00
v2fly/app/restfulapi/config.go

14 lines
276 B
Go
Raw Normal View History

package restfulapi
2021-09-06 12:42:05 +00:00
import (
"context"
2021-10-28 10:34:19 +00:00
"github.com/v2fly/v2ray-core/v5/common"
2021-09-06 12:42:05 +00:00
)
func init() {
common.Must(common.RegisterConfig((*Config)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
return newRestfulService(ctx, config.(*Config))
}))
}