beats: github.com/elastic/beats/filebeat/inputsource Index | Files | Directories

package inputsource

import "github.com/elastic/beats/filebeat/inputsource"

Index

Package Files

inputsource.go network.go

type Network Uses

type Network interface {
    Start() error
    Stop()
}

Network interface implemented by TCP and UDP input source.

type NetworkFunc Uses

type NetworkFunc = func(data []byte, metadata NetworkMetadata)

NetworkFunc defines callback executed when a new event is received from a network source.

type NetworkMetadata Uses

type NetworkMetadata struct {
    RemoteAddr net.Addr
    Truncated  bool
    TLS        *TLSMetadata
}

NetworkMetadata defines common information that we can retrieve from a remote connection.

type TLSMetadata Uses

type TLSMetadata struct {
    TLSVersion       string
    CipherSuite      string
    ServerName       string
    PeerCertificates []string
}

TLSMetadata defines information about the current SSL connection.

Directories

PathSynopsis
tcp
udp

Package inputsource imports 1 packages (graph) and is imported by 58 packages. Updated 2019-08-10. Refresh now. Tools for package owners.