| "v.io/core/veyron2/context" |
| "v.io/core/veyron/lib/appcycle" |
| _ "v.io/core/veyron/runtimes/google/ipc/protocols/tcp" |
| _ "v.io/core/veyron/runtimes/google/ipc/protocols/ws" |
| _ "v.io/core/veyron/runtimes/google/ipc/protocols/wsh" |
| grt "v.io/core/veyron/runtimes/google/rt" |
| veyron2.RegisterProfileInit(Init) |
| func Init(ctx *context.T) (veyron2.RuntimeX, *context.T, veyron2.Shutdown, error) { |
| runtime := &grt.RuntimeX{} |
| ctx, shutdown, err := runtime.Init(ctx, nil) |
| return nil, nil, nil, err |
| ctx = runtime.SetAppCycle(ctx, ac) |
| profileShutdown := func() { |
| return runtime, ctx, profileShutdown, nil |