constants

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 0 Imported by: 3

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`
	// but go-micro use `camelcase alphanumeric characters and hyphen`
	TraceIDKey  = "Micro-Trace-Id"
	TenantIdKey = "Tenant-Id"
)

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