go-micro: github.com/pobearm/go-micro/metadata Index | Files

package metadata

import "github.com/pobearm/go-micro/metadata"

Package metadata is a way of defining message headers

Index

Package Files

metadata.go

func NewContext Uses

func NewContext(ctx context.Context, md Metadata) context.Context

type Metadata Uses

type Metadata map[string]string

Metadata is our way of representing request headers internally. They're used at the RPC level and translate back and forth from Transport headers.

func Copy Uses

func Copy(md Metadata) Metadata

func FromContext Uses

func FromContext(ctx context.Context) (Metadata, bool)

Package metadata imports 1 packages (graph) and is imported by 4 packages. Updated 2019-09-24. Refresh now. Tools for package owners.