envoy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvoyAlsServer

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

Envoy ALS Server structure.

func Create

func Create(address string) (*EnvoyAlsServer, error)

Create creates an envoy input handler.

func (*EnvoyAlsServer) Close

func (s *EnvoyAlsServer) Close() error

Close closes the envoy handler

func (*EnvoyAlsServer) Dial

func (s *EnvoyAlsServer) Dial() error

Dial connects the handler

func (*EnvoyAlsServer) Errors

func (s *EnvoyAlsServer) Errors() chan error

Errors returns a channel where errors from the input channel are recieved.

func (*EnvoyAlsServer) Packets

func (s *EnvoyAlsServer) Packets() chan syslog.Packet

Packets returns a channel where packets from the input are received

func (*EnvoyAlsServer) Pools

func (s *EnvoyAlsServer) Pools() bool

Pools returns whether the input pools connections

func (*EnvoyAlsServer) StreamAccessLogs

func (s *EnvoyAlsServer) StreamAccessLogs(stream v2.AccessLogService_StreamAccessLogsServer) error

StreamAccessLogs is part of the interface called by the GRPC library from envoy

Jump to

Keyboard shortcuts

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