metadata

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 5 Imported by: 52

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(opts ...Option) middleware.Middleware

Client is middleware client-side metadata.

func Server

func Server(opts ...Option) middleware.Middleware

Server is middleware server-side metadata.

Types

type Option

type Option func(*options)

Option is metadata option.

func WithConstants

func WithConstants(md metadata.Metadata) Option

WithConstants with constant metadata key value.

func WithPropagatedPrefix

func WithPropagatedPrefix(prefix ...string) Option

WithPropagatedPrefix with propagated key prefix.

Jump to

Keyboard shortcuts

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