fields

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package fields defines some common fields that can be used across the platform in a consistent fashion

Index

Constants

View Source
const (
	// ModuleTag represents a module
	ModuleTag = StringTagName("module")

	// RequestTag represents the request id.
	// NOTE: The value of the key is the same format as that of Istio to facilitate unified search patterns.
	RequestTag = StringTagName("requestid")

	// TenantTag indicates the id of the tenant
	TenantTag = StringTagName("tenantID")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type StringTagName

type StringTagName string

StringTagName provides support for string tags

func (StringTagName) Value

func (s StringTagName) Value(value string) (string, string)

Value returns a key and value pair for the given tag

Jump to

Keyboard shortcuts

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