publisher

package
v0.0.0-...-0bfb697 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher interface {
	Run(ctx context.Context, s storage.Storage) error
	Shutdown(ctx context.Context) error
}

func NewInstance

func NewInstance(cfg config.Config) (Publisher, error)

type TelegramPublisher

type TelegramPublisher struct {
	// contains filtered or unexported fields
}

func (*TelegramPublisher) Run

func (*TelegramPublisher) Shutdown

func (p *TelegramPublisher) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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