1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-10 06:16:53 -05:00
v2fly/app/restfulapi/config.go
2022-01-02 15:16:23 +00:00

14 lines
276 B
Go

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