producer_model

package
v0.0.0-...-b4792c6 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProducerEntity

type ProducerEntity struct {
	Logs            []string `json:"logs" binding:"required"`
	DestinationIP   string   `json:"destination_ip" binding:"required"`
	DestinationPort int      `json:"destination_port" binding:"required"`
	Protocol        string   `json:"protocol" binding:"required"`
	Iterations      int      `json:"iterations" binding:"required"`
}

func (ProducerEntity) Produce

func (entity ProducerEntity) Produce() *response.RestErr

func (ProducerEntity) ProduceTest

func (entity ProducerEntity) ProduceTest() *response.RestErr

Jump to

Keyboard shortcuts

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