client

package
v0.0.0-...-8eabb82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

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 (*BiliClient) BroadcastConnect

func (c *BiliClient) BroadcastConnect()

func (*BiliClient) BroadcastReConnect

func (c *BiliClient) BroadcastReConnect()

func (*BiliClient) BroadcastRead

func (*BiliClient) GetNewSession

func (c *BiliClient) GetNewSession() *imapi.RspSessions

type LoginInfo

type LoginInfo struct {
	AccessKey string
}

type User

type User struct {
	Mid       int64
	Uname     string
	LoginInfo *LoginInfo
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL