iface

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Closer

type Closer interface {
	Close() error
}

type ConsumerHandler

type ConsumerHandler interface {
	ReadMessagesFromKafka() error
	Subscribe() error
	Closer
}

type KafkaProducer

type KafkaProducer interface {
	SaveJobToKafka(job model.Job) error
	Closer
}

type ProducerHandler

type ProducerHandler interface {
	JobsPostHandler(w http.ResponseWriter, r *http.Request)
	Closer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳