server

package
v0.0.0-...-8293e18 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewKafkaClient

func NewKafkaClient(cfg *conf.Server, log *zap.SugaredLogger) sarama.Client

func NewServer

func NewServer(kc sarama.Client, a api.Job, log *zap.SugaredLogger) app.Server

Types

type Server

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

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

func (*Server) Stop

func (s *Server) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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