1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/app/restfulapi/config.go

14 lines
276 B
Go
Raw Normal View History

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