headers

package
v4.0.0-...-699247e Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

headers is a package for internal micro global constants

Index

Constants

View Source
const (
	// Message header is a header for internal message communication.
	Message = "Micro-Topic"
	// Request header is a message header for internal request communication.
	Request = "Micro-Service"
	// Error header contains an error message.
	Error = "Micro-Error"
	// Endpoint header.
	Endpoint = "Micro-Endpoint"
	// Method header.
	Method = "Micro-Method"
	// ID header.
	ID = "Micro-ID"
	// Prefix used to prefix headers.
	Prefix = "Micro-"
	// Namespace header.
	Namespace = "Micro-Namespace"
	// Protocol header.
	Protocol = "Micro-Protocol"
	// Target header.
	Target = "Micro-Target"
	// ContentType header.
	ContentType = "Content-Type"
	// SpanID header.
	SpanID = "Micro-Span-ID"
	// TraceIDKey header.
	TraceIDKey = "Micro-Trace-ID"
	// Stream header.
	Stream = "Micro-Stream"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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