protoutil

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Protocol

func Protocol(subject any) (proto.Protocol, bool)

Protocol returns the protocol version of the given subject if provided.

func ProxyHeader added in v0.26.6

func ProxyHeader(srcAddr, destAddr net.Addr) *proxyproto.Header

ProxyHeader returns a proxy header for the given address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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