client

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

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MindfactoryClient

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

func NewMindfactoryClient

func NewMindfactoryClient(uri *url.URL, logger *zap.Logger) MindfactoryClient

func (MindfactoryClient) Search

func (client MindfactoryClient) Search(query string) (domain.Products, error)

type TelegramBotClient

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

func NewTelegram

func NewTelegram(token string, ids []int64, logger *zap.Logger) (*TelegramBotClient, error)

func (*TelegramBotClient) Message

func (c *TelegramBotClient) Message(text string) error

func (*TelegramBotClient) Update

func (c *TelegramBotClient) Update(messages func() []string) error

Jump to

Keyboard shortcuts

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