file_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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileProducer

type FileProducer struct {
	Path            string `json:"path"`
	DestinationIP   string `json:"destination_ip"`
	DestinationPort int    `json:"destination_port"`
	Protocol        string `json:"protocol"`
	Eps             []int  `json:"EPS" binding:"required"`
}

func (FileProducer) ReadAndPublish

func (publisher FileProducer) ReadAndPublish(connection net.Conn) *response.RestErr

Jump to

Keyboard shortcuts

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