Add namespace

This commit is contained in:
Ben Toogood
2020-04-07 12:46:44 +01:00
parent 9d598836c3
commit 3df87510a1
3 changed files with 19 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ type Token struct {
const (
// DefaultNamespace used for auth
DefaultNamespace = "micro"
DefaultNamespace = "go.micro"
// NamespaceKey is the key used when storing the namespace in metadata
NamespaceKey = "Micro-Namespace"
// MetadataKey is the key used when storing the account in metadata