vk2tg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VTClinent

type VTClinent struct {
	LastUpdate time.Time
	StartTime  time.Time
	WG         *sync.WaitGroup
	// contains filtered or unexported fields
}

func NewVTClient

func NewVTClient(tgToken, vkToken string, tgRecepient int64, period time.Duration) *VTClinent

func (*VTClinent) Mute

func (vtCli *VTClinent) Mute()

func (*VTClinent) Pause

func (vtCli *VTClinent) Pause()

func (*VTClinent) Resume

func (vtCli *VTClinent) Resume()

func (*VTClinent) Start

func (vtCli *VTClinent) Start() error

func (*VTClinent) TGSender

func (vtCli *VTClinent) TGSender()

func (*VTClinent) Unmute

func (vtCli *VTClinent) Unmute()

func (*VTClinent) VKWatcher

func (vtCli *VTClinent) VKWatcher()

func (*VTClinent) Wait

func (vtCli *VTClinent) Wait()

func (*VTClinent) WithLogger

func (vtCli *VTClinent) WithLogger(logger *log.Logger) *VTClinent

func (*VTClinent) WithRedis

func (vtCli *VTClinent) WithRedis(serviceName, redisAddr, redisPassword string) *VTClinent

Jump to

Keyboard shortcuts

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