worker

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2018 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SignalConfig = "config.yml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientWorker

type ClientWorker struct {
	core.QObject
	// contains filtered or unexported fields
}

func (*ClientWorker) MessageHandler

func (c *ClientWorker) MessageHandler(msg *textsecure.Message, isSyncSent bool, ts uint64)

Process incoming message from Signal

func (*ClientWorker) ReceiptHandler

func (c *ClientWorker) ReceiptHandler(source string, devID uint32, ts uint64)

Receipt handler

func (*ClientWorker) SetConfig added in v0.4.3

func (c *ClientWorker) SetConfig(config *textsecure.Config)

type SendWorker

type SendWorker struct {
	core.QObject
	// contains filtered or unexported fields
}

func (*SendWorker) SetConfig

func (s *SendWorker) SetConfig(config *textsecure.Config)

type SetupWorker

type SetupWorker struct {
	core.QObject
	// contains filtered or unexported fields
}

func (*SetupWorker) ParseConfig

func (s *SetupWorker) ParseConfig(configDir, storageDir string) (*textsecure.Config, error)

Parse Signal config and create if not found

func (*SetupWorker) Run

func (s *SetupWorker) Run(client *textsecure.Client)

Run Signal client setup

Jump to

Keyboard shortcuts

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