Merge "use vanadium 0.1 from maven central (no more maven.v.io)"
diff --git a/go/src/v.io/x/media_sharing/media.vdl.go b/go/src/v.io/x/media_sharing/media.vdl.go
index 0bdd263..4c5c233 100644
--- a/go/src/v.io/x/media_sharing/media.vdl.go
+++ b/go/src/v.io/x/media_sharing/media.vdl.go
@@ -22,12 +22,12 @@
// the given URL. The server will rely on the ContentType response
// header it gets when fetching the url to decide how to display
// the media.
- DisplayUrl(ctx *context.T, url string, opts ...rpc.CallOpt) error
+ DisplayUrl(_ *context.T, url string, _ ...rpc.CallOpt) error
// DisplayBytes will cause the server to display whatever media is
// sent in the stream. In the case of audio or movie media, the
// media should be played while the data is streaming. The mediaType
// can be used by the server to decide how to display the media.
- DisplayBytes(ctx *context.T, mediaType string, opts ...rpc.CallOpt) (MediaSharingDisplayBytesClientCall, error)
+ DisplayBytes(_ *context.T, mediaType string, _ ...rpc.CallOpt) (MediaSharingDisplayBytesClientCall, error)
}
// MediaSharingClientStub adds universal methods to MediaSharingClientMethods.
@@ -129,12 +129,12 @@
// the given URL. The server will rely on the ContentType response
// header it gets when fetching the url to decide how to display
// the media.
- DisplayUrl(ctx *context.T, call rpc.ServerCall, url string) error
+ DisplayUrl(_ *context.T, _ rpc.ServerCall, url string) error
// DisplayBytes will cause the server to display whatever media is
// sent in the stream. In the case of audio or movie media, the
// media should be played while the data is streaming. The mediaType
// can be used by the server to decide how to display the media.
- DisplayBytes(ctx *context.T, call MediaSharingDisplayBytesServerCall, mediaType string) error
+ DisplayBytes(_ *context.T, _ MediaSharingDisplayBytesServerCall, mediaType string) error
}
// MediaSharingServerStubMethods is the server interface containing
@@ -146,12 +146,12 @@
// the given URL. The server will rely on the ContentType response
// header it gets when fetching the url to decide how to display
// the media.
- DisplayUrl(ctx *context.T, call rpc.ServerCall, url string) error
+ DisplayUrl(_ *context.T, _ rpc.ServerCall, url string) error
// DisplayBytes will cause the server to display whatever media is
// sent in the stream. In the case of audio or movie media, the
// media should be played while the data is streaming. The mediaType
// can be used by the server to decide how to display the media.
- DisplayBytes(ctx *context.T, call *MediaSharingDisplayBytesServerCallStub, mediaType string) error
+ DisplayBytes(_ *context.T, _ *MediaSharingDisplayBytesServerCallStub, mediaType string) error
}
// MediaSharingServerStub adds universal methods to MediaSharingServerStubMethods.
diff --git a/go/src/v.io/x/media_sharing/mediaclient/mediaclient.go b/go/src/v.io/x/media_sharing/mediaclient/mediaclient.go
index 0c90be8..b5d0721 100644
--- a/go/src/v.io/x/media_sharing/mediaclient/mediaclient.go
+++ b/go/src/v.io/x/media_sharing/mediaclient/mediaclient.go
@@ -17,7 +17,7 @@
"v.io/x/lib/cmdline"
"v.io/x/media_sharing"
"v.io/x/ref/lib/v23cmd"
- _ "v.io/x/ref/runtime/factories/static"
+ _ "v.io/x/ref/runtime/factories/roaming"
)
var stream *bool
diff --git a/go/src/v.io/x/media_sharing/mediaserver/mediaserver.go b/go/src/v.io/x/media_sharing/mediaserver/mediaserver.go
index a69c075..3ea7d69 100644
--- a/go/src/v.io/x/media_sharing/mediaserver/mediaserver.go
+++ b/go/src/v.io/x/media_sharing/mediaserver/mediaserver.go
@@ -24,7 +24,7 @@
"v.io/x/media_sharing"
"v.io/x/ref/lib/signals"
"v.io/x/ref/lib/v23cmd"
- _ "v.io/x/ref/runtime/factories/static"
+ _ "v.io/x/ref/runtime/factories/roaming"
)
func main() {