consts

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Overview

Package consts contains constants for connections.

Index

Constants

View Source
const (
	FieldModule        = `module`
	FieldAction        = `action`
	FieldCorrelationID = `correlation_id`
	FieldURI           = `api_url`
	FieldParams        = `params`
	FieldHttpCode      = `http_code`
	FieldDuration      = `duration_us`
)

Log field's names

View Source
const (
	CorrelationID = `X-Correlation-ID`
)

RequestID is const string for correlation id header.

View Source
const (
	SubsystemName = "gph"
)

SubsystemName is const string for metrics.

View Source
const (
	XLogInit = 1
)

xLogger errors

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