protocol

package
v0.0.0-...-23e39b4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommonProtocol

func GetCommonProtocol(one, another core_mesh.Protocol) core_mesh.Protocol

GetCommonProtocol returns a common protocol between given two.

E.g., a common protocol between HTTP and HTTP2 is HTTP2, a common protocol between HTTP and HTTP is HTTP, a common protocol between HTTP and TCP is TCP, a common protocol between GRPC and HTTP2 is HTTP2, a common protocol between HTTP and HTTP2 is HTTP.

Types

This section is empty.

Jump to

Keyboard shortcuts

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