| 153 | } |
| 154 | |
| 155 | func (c *drpcTailnetClient) WorkspaceUpdates(ctx context.Context, in *WorkspaceUpdatesRequest) (DRPCTailnet_WorkspaceUpdatesClient, error) { |
| 156 | stream, err := c.cc.NewStream(ctx, "/coder.tailnet.v2.Tailnet/WorkspaceUpdates", drpcEncoding_File_tailnet_proto_tailnet_proto{}) |
| 157 | if err != nil { |
| 158 | return nil, err |
| 159 | } |
| 160 | x := &drpcTailnet_WorkspaceUpdatesClient{stream} |
| 161 | if err := x.MsgSend(in, drpcEncoding_File_tailnet_proto_tailnet_proto{}); err != nil { |
| 162 | return nil, err |
| 163 | } |
| 164 | if err := x.CloseSend(); err != nil { |
| 165 | return nil, err |
| 166 | } |
| 167 | return x, nil |
| 168 | } |
| 169 | |
| 170 | type DRPCTailnet_WorkspaceUpdatesClient interface { |
| 171 | drpc.Stream |