heartbeart

package
v0.0.0-...-13b6049 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heartbeat

type Heartbeat struct {
	//	*Ws
	*interaction.MsgSync

	WsForTest          *interaction.Ws
	LoginUserIDForTest string
	// contains filtered or unexported fields
}

func NewHeartbeat

func NewHeartbeat(msgSync *interaction.MsgSync, cmcCh chan common.Cmd2Value, listener open_im_sdk_callback.OnConnListener, token string, id2MinSeq map[string]uint32, full *full.Full) *Heartbeat

func (*Heartbeat) Run

func (u *Heartbeat) Run()

func (*Heartbeat) SetHeartbeatInterval

func (u *Heartbeat) SetHeartbeatInterval(heartbeatInterval int)

type ParseToken

type ParseToken struct {
	UID      string `json:"UID"`
	Platform string `json:"Platform"`
	Exp      int    `json:"exp"`
	Nbf      int    `json:"nbf"`
	Iat      int    `json:"iat"`
}

Jump to

Keyboard shortcuts

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