constants

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

constants package is where you keep shared constants between packages Inspired by https://github.com/kubernetes/minikube/blob/master/pkg/minikube/constants/constants.go

Index

Constants

View Source
const (
	ACCOUNT_CLIENT   = "mkit.client.account"
	ACCOUNT_SERVICE  = "mkit.service.account"
	GREETER_SERVICE  = "mkit.service.greeter"
	EMAILER_SERVICE  = "mkit.service.emailer"
	RECORDER_SERVICE = "mkit.service.recorder"
)
View Source
const (
	// There are certain requirements for metadata to be passed in the http header:
	// gRPC recommended Key format: `lowercase alphanumeric characters and hyphen`
	TraceIDKey     = "mkit-trace-id"
	FromServiceKey = "mkit-from-service"
	TenantIdKey    = "mkit-tenant-id"
)

metadata constants

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