service

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func (*Service) Close

func (svc *Service) Close(ctx context.Context) error

func (*Service) Init

func (svc *Service) Init(ctx context.Context, cfg *config.Config) (err error)

Init: Create ConsumerGroup with config, and register the handler

func (*Service) Start

func (svc *Service) Start(ctx context.Context) (err error)

Start: Create ConsumerGroup with config, and register the handler

Jump to

Keyboard shortcuts

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