Documentation ¶
Index ¶
Constants ¶
View Source
const ( Flatten = "flatten" Key = "key" KeyOnly = "keyOnly" Plaintext = "plaintext" PrefixMatch = "prefixMatch" ServiceId = "serviceId" Deregistered = "deregistered" )
Constants related to defined url path names and parameters in the v2 service APIs
View Source
const ApiAllRegistrationsRoute = ApiRegisterRoute + "/" + common.All
View Source
const ApiKVRoute = common.ApiBase + "/kvs/" + Key + "/{" + Key + ":.*}"
Constants related to defined routes in the v3 service APIs
View Source
const ApiRegisterRoute = common.ApiBase + "/registry"
View Source
const ApiRegistrationByServiceIdRoute = ApiRegisterRoute + "/" + ServiceId + "/{" + ServiceId + "}"
View Source
const CoreKeeperServiceKey = "core-keeper"
new constants relates to EdgeX Keeper service and will be added to go-mod-core-contracts in the future
View Source
const KeyAllowedCharsRegexString = "^[a-zA-Z0-9-_~;=./]+$"
KeyAllowedCharsRegexString defined the characters allowed in the key name
View Source
const KeyDelimiter = "/"
key delimiter for edgex keeper
Variables ¶
View Source
var (
KeyAllowedCharsRegex = regexp.MustCompile(KeyAllowedCharsRegexString)
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.