messageimpl

package
v0.0.0-...-6574dfe Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exit

func Exit()

func Init

func Init(cfg *Config, log *logrus.Entry) error

func Producer

func Producer() *producer

Types

type Config

type Config struct {
	kafka.Config

	Topics Topics `json:"topics"  required:"true"`
}

type Topics

type Topics struct {
	NewSoftwarePkg            string `json:"new_software_pkg"              required:"true"`
	ApprovedSoftwarePkg       string `json:"approved_software_pkg"         required:"true"`
	RejectedSoftwarePkg       string `json:"rejected_software_pkg"         required:"true"`
	AbandonedSoftwarePkg      string `json:"abandoned_software_pkg"        required:"true"`
	AlreadyExistedSoftwarePkg string `json:"already_existed_software_pkg"  required:"true"`
}

Jump to

Keyboard shortcuts

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