Documentation ¶
Index ¶
- Variables
- func NewGrpcClient(addr string) *grpc.ClientConn
- type BiliClient
- func (c *BiliClient) BroadcastAuth(stream broadcastapi.BroadcastTunnel_CreateTunnelClient)
- func (c *BiliClient) BroadcastConnect()
- func (c *BiliClient) BroadcastReConnect()
- func (c *BiliClient) BroadcastRead(stream broadcastapi.BroadcastTunnel_CreateTunnelClient)
- func (c *BiliClient) GetNewSession() *imapi.RspSessions
- type LoginInfo
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var BiliClients []*BiliClient
Functions ¶
func NewGrpcClient ¶
func NewGrpcClient(addr string) *grpc.ClientConn
Types ¶
type BiliClient ¶
type BiliClient struct { User *User MsgId int64 Seq int64 // contains filtered or unexported fields }
func GetOneClient ¶
func GetOneClient() *BiliClient
func NewBiliClient ¶
func NewBiliClient(u User) *BiliClient
func (*BiliClient) BroadcastAuth ¶
func (c *BiliClient) BroadcastAuth(stream broadcastapi.BroadcastTunnel_CreateTunnelClient)
func (*BiliClient) BroadcastConnect ¶
func (c *BiliClient) BroadcastConnect()
func (*BiliClient) BroadcastReConnect ¶
func (c *BiliClient) BroadcastReConnect()
func (*BiliClient) BroadcastRead ¶
func (c *BiliClient) BroadcastRead(stream broadcastapi.BroadcastTunnel_CreateTunnelClient)
func (*BiliClient) GetNewSession ¶
func (c *BiliClient) GetNewSession() *imapi.RspSessions
Click to show internal directories.
Click to hide internal directories.