third

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Progress

type Progress interface {
	OnProgress(current int64, size int64)
}

type Third

type Third struct {
	LogFilePath string
	// contains filtered or unexported fields
}

func NewThird

func NewThird(platformID int32, loginUserID, systemType, LogFilePath string, fileUploader *file.File) *Third

func (*Third) Log

func (c *Third) Log(ctx context.Context, logLevel int, file string, line int, msg, err string, keysAndValues []any)

func (*Third) SetAppBadge

func (c *Third) SetAppBadge(ctx context.Context, appUnreadCount int32) error

func (*Third) UpdateFcmToken

func (c *Third) UpdateFcmToken(ctx context.Context, fcmToken string, expireTime int64) error

func (*Third) UploadLogs

func (c *Third) UploadLogs(ctx context.Context, line int, ex string, progress Progress) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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