svcmux

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Overview

Package svcmux contains utility functions used by code generated by svcmux tool. It is not designed to be used directly.

Index

Constants

View Source
const VersionMetadataKey = "X-Luci-Service-Version"

VersionMetadataKey is key in gRPC metadata that specifies requested service version.

Variables

This section is empty.

Functions

func NoImplementation

func NoImplementation(version string) error

NoImplementation creates an error for a service version that does not have an implementation.

func ServiceVersion

func ServiceVersion(ctx context.Context, defaultVer string) string

ServiceVersion extracts requested service version from metadata in ctx.

Types

This section is empty.

Jump to

Keyboard shortcuts

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