github.com/keybase/client/go@v0.0.0-20240520164431-4f512a4c85a3/client/stream.go (about)

     1  // Copyright 2015 Keybase, Inc. All rights reserved. Use of
     2  // this source code is governed by the included BSD license.
     3  
     4  package client
     5  
     6  import (
     7  	"github.com/keybase/client/go/libkb"
     8  	keybase1 "github.com/keybase/client/go/protocol/keybase1"
     9  	"github.com/keybase/go-framed-msgpack-rpc/rpc"
    10  )
    11  
    12  func NewStreamUIProtocol(g *libkb.GlobalContext) rpc.Protocol {
    13  	return keybase1.StreamUiProtocol(g.XStreams)
    14  }