pkg

package
v0.0.0-...-811e4ca Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBynoGameCsListings

func GetBynoGameCsListings() (*[]domain.ByNoGameCsItem, error)

Types

type CronClient

type CronClient interface {
	Start()
	Schedule(interval string, fn func())
	Stop()
}

func NewCronClient

func NewCronClient() CronClient

type KafkaWriter

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

func NewKafkaWriter

func NewKafkaWriter(topic, username, password, url string) *KafkaWriter

func (*KafkaWriter) Close

func (kw *KafkaWriter) Close() error

func (*KafkaWriter) WriteMessages

func (kw *KafkaWriter) WriteMessages(ctx context.Context, messages ...kafka.Message) error

Jump to

Keyboard shortcuts

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